dub 0.58.0 → 0.58.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/bin/mcp-server.js +67 -393
- package/bin/mcp-server.js.map +16 -16
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.d.ts +0 -172
- package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.js +1 -159
- package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/leadevent.d.ts +0 -172
- package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadevent.js +1 -156
- package/dist/commonjs/models/components/leadevent.js.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.d.ts +0 -172
- package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.js +1 -159
- package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/saleevent.d.ts +0 -172
- package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/saleevent.js +1 -157
- package/dist/commonjs/models/components/saleevent.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.d.ts +4 -4
- package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.js +4 -4
- package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +4 -4
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js +4 -4
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomers.d.ts +4 -4
- package/dist/commonjs/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomers.js +4 -4
- package/dist/commonjs/models/operations/getcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts +0 -3
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js +0 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/commonjs/models/operations/retrievepartneranalytics.d.ts +0 -3
- package/dist/commonjs/models/operations/retrievepartneranalytics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrievepartneranalytics.js +0 -1
- package/dist/commonjs/models/operations/retrievepartneranalytics.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +4 -4
- package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.js +4 -4
- package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
- package/dist/commonjs/models/operations/updatepartnersale.d.ts +10 -3
- package/dist/commonjs/models/operations/updatepartnersale.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatepartnersale.js +6 -2
- package/dist/commonjs/models/operations/updatepartnersale.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/components/leadcreatedevent.d.ts +0 -172
- package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.js +0 -151
- package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
- package/dist/esm/models/components/leadevent.d.ts +0 -172
- package/dist/esm/models/components/leadevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadevent.js +0 -148
- package/dist/esm/models/components/leadevent.js.map +1 -1
- package/dist/esm/models/components/salecreatedevent.d.ts +0 -172
- package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/salecreatedevent.js +0 -151
- package/dist/esm/models/components/salecreatedevent.js.map +1 -1
- package/dist/esm/models/components/saleevent.d.ts +0 -172
- package/dist/esm/models/components/saleevent.d.ts.map +1 -1
- package/dist/esm/models/components/saleevent.js +0 -149
- package/dist/esm/models/components/saleevent.js.map +1 -1
- package/dist/esm/models/operations/createcustomer.d.ts +4 -4
- package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomer.js +4 -4
- package/dist/esm/models/operations/createcustomer.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +4 -4
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js +4 -4
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/operations/getcustomers.d.ts +4 -4
- package/dist/esm/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomers.js +4 -4
- package/dist/esm/models/operations/getcustomers.js.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.d.ts +0 -3
- package/dist/esm/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.js +0 -1
- package/dist/esm/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/esm/models/operations/retrievepartneranalytics.d.ts +0 -3
- package/dist/esm/models/operations/retrievepartneranalytics.d.ts.map +1 -1
- package/dist/esm/models/operations/retrievepartneranalytics.js +0 -1
- package/dist/esm/models/operations/retrievepartneranalytics.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +4 -4
- package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/updatecustomer.js +4 -4
- package/dist/esm/models/operations/updatecustomer.js.map +1 -1
- package/dist/esm/models/operations/updatepartnersale.d.ts +10 -3
- package/dist/esm/models/operations/updatepartnersale.d.ts.map +1 -1
- package/dist/esm/models/operations/updatepartnersale.js +6 -2
- package/dist/esm/models/operations/updatepartnersale.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/leadcreatedevent.ts +0 -315
- package/src/models/components/leadevent.ts +0 -296
- package/src/models/components/salecreatedevent.ts +0 -315
- package/src/models/components/saleevent.ts +0 -311
- package/src/models/operations/createcustomer.ts +8 -8
- package/src/models/operations/getcustomer.ts +8 -8
- package/src/models/operations/getcustomers.ts +8 -8
- package/src/models/operations/retrieveanalytics.ts +0 -1
- package/src/models/operations/retrievepartneranalytics.ts +0 -1
- package/src/models/operations/updatecustomer.ts +8 -8
- package/src/models/operations/updatepartnersale.ts +16 -5
package/bin/mcp-server.js
CHANGED
|
@@ -34247,9 +34247,9 @@ var init_config = __esm(() => {
|
|
|
34247
34247
|
SDK_METADATA = {
|
|
34248
34248
|
language: "typescript",
|
|
34249
34249
|
openapiDocVersion: "0.0.1",
|
|
34250
|
-
sdkVersion: "0.58.
|
|
34251
|
-
genVersion: "2.
|
|
34252
|
-
userAgent: "speakeasy-sdk/typescript 0.58.
|
|
34250
|
+
sdkVersion: "0.58.2",
|
|
34251
|
+
genVersion: "2.541.0",
|
|
34252
|
+
userAgent: "speakeasy-sdk/typescript 0.58.2 2.541.0 0.0.1 dub"
|
|
34253
34253
|
};
|
|
34254
34254
|
});
|
|
34255
34255
|
|
|
@@ -38948,7 +38948,7 @@ var init_folderschema = __esm(() => {
|
|
|
38948
38948
|
});
|
|
38949
38949
|
|
|
38950
38950
|
// src/models/components/leadcreatedevent.ts
|
|
38951
|
-
var LeadCreatedEventEvent,
|
|
38951
|
+
var LeadCreatedEventEvent, LeadCreatedEventEvent$inboundSchema, LeadCreatedEventEvent$outboundSchema, LeadCreatedEventEvent$, LeadCreatedEventCustomer$inboundSchema, LeadCreatedEventCustomer$outboundSchema, LeadCreatedEventCustomer$, LeadCreatedEventClick$inboundSchema, LeadCreatedEventClick$outboundSchema, LeadCreatedEventClick$, LeadCreatedEventGeo$inboundSchema, LeadCreatedEventGeo$outboundSchema, LeadCreatedEventGeo$, LeadCreatedEventLink$inboundSchema, LeadCreatedEventLink$outboundSchema, LeadCreatedEventLink$, LeadCreatedEventData$inboundSchema, LeadCreatedEventData$outboundSchema, LeadCreatedEventData$, LeadCreatedEvent$inboundSchema, LeadCreatedEvent$outboundSchema, LeadCreatedEvent$;
|
|
38952
38952
|
var init_leadcreatedevent = __esm(() => {
|
|
38953
38953
|
init_lib();
|
|
38954
38954
|
init_primitives();
|
|
@@ -38956,88 +38956,12 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
38956
38956
|
LeadCreatedEventEvent = {
|
|
38957
38957
|
LeadCreated: "lead.created"
|
|
38958
38958
|
};
|
|
38959
|
-
LeadCreatedEventType = {
|
|
38960
|
-
Percentage: "percentage",
|
|
38961
|
-
Flat: "flat"
|
|
38962
|
-
};
|
|
38963
|
-
LeadCreatedEventInterval = {
|
|
38964
|
-
Month: "month",
|
|
38965
|
-
Year: "year"
|
|
38966
|
-
};
|
|
38967
38959
|
LeadCreatedEventEvent$inboundSchema = nativeEnumType(LeadCreatedEventEvent);
|
|
38968
38960
|
LeadCreatedEventEvent$outboundSchema = LeadCreatedEventEvent$inboundSchema;
|
|
38969
38961
|
((LeadCreatedEventEvent$) => {
|
|
38970
38962
|
LeadCreatedEventEvent$.inboundSchema = LeadCreatedEventEvent$inboundSchema;
|
|
38971
38963
|
LeadCreatedEventEvent$.outboundSchema = LeadCreatedEventEvent$outboundSchema;
|
|
38972
38964
|
})(LeadCreatedEventEvent$ ||= {});
|
|
38973
|
-
LeadCreatedEventDataLink$inboundSchema = objectType({
|
|
38974
|
-
id: stringType(),
|
|
38975
|
-
domain: stringType(),
|
|
38976
|
-
key: stringType(),
|
|
38977
|
-
shortLink: stringType(),
|
|
38978
|
-
programId: nullableType(stringType())
|
|
38979
|
-
});
|
|
38980
|
-
LeadCreatedEventDataLink$outboundSchema = objectType({
|
|
38981
|
-
id: stringType(),
|
|
38982
|
-
domain: stringType(),
|
|
38983
|
-
key: stringType(),
|
|
38984
|
-
shortLink: stringType(),
|
|
38985
|
-
programId: nullableType(stringType())
|
|
38986
|
-
});
|
|
38987
|
-
((LeadCreatedEventDataLink$) => {
|
|
38988
|
-
LeadCreatedEventDataLink$.inboundSchema = LeadCreatedEventDataLink$inboundSchema;
|
|
38989
|
-
LeadCreatedEventDataLink$.outboundSchema = LeadCreatedEventDataLink$outboundSchema;
|
|
38990
|
-
})(LeadCreatedEventDataLink$ ||= {});
|
|
38991
|
-
LeadCreatedEventPartner$inboundSchema = objectType({
|
|
38992
|
-
id: stringType(),
|
|
38993
|
-
name: stringType(),
|
|
38994
|
-
email: stringType(),
|
|
38995
|
-
image: nullableType(stringType()).optional()
|
|
38996
|
-
});
|
|
38997
|
-
LeadCreatedEventPartner$outboundSchema = objectType({
|
|
38998
|
-
id: stringType(),
|
|
38999
|
-
name: stringType(),
|
|
39000
|
-
email: stringType(),
|
|
39001
|
-
image: nullableType(stringType()).optional()
|
|
39002
|
-
});
|
|
39003
|
-
((LeadCreatedEventPartner$) => {
|
|
39004
|
-
LeadCreatedEventPartner$.inboundSchema = LeadCreatedEventPartner$inboundSchema;
|
|
39005
|
-
LeadCreatedEventPartner$.outboundSchema = LeadCreatedEventPartner$outboundSchema;
|
|
39006
|
-
})(LeadCreatedEventPartner$ ||= {});
|
|
39007
|
-
LeadCreatedEventType$inboundSchema = nativeEnumType(LeadCreatedEventType);
|
|
39008
|
-
LeadCreatedEventType$outboundSchema = LeadCreatedEventType$inboundSchema;
|
|
39009
|
-
((LeadCreatedEventType$) => {
|
|
39010
|
-
LeadCreatedEventType$.inboundSchema = LeadCreatedEventType$inboundSchema;
|
|
39011
|
-
LeadCreatedEventType$.outboundSchema = LeadCreatedEventType$outboundSchema;
|
|
39012
|
-
})(LeadCreatedEventType$ ||= {});
|
|
39013
|
-
LeadCreatedEventInterval$inboundSchema = nativeEnumType(LeadCreatedEventInterval);
|
|
39014
|
-
LeadCreatedEventInterval$outboundSchema = LeadCreatedEventInterval$inboundSchema;
|
|
39015
|
-
((LeadCreatedEventInterval$) => {
|
|
39016
|
-
LeadCreatedEventInterval$.inboundSchema = LeadCreatedEventInterval$inboundSchema;
|
|
39017
|
-
LeadCreatedEventInterval$.outboundSchema = LeadCreatedEventInterval$outboundSchema;
|
|
39018
|
-
})(LeadCreatedEventInterval$ ||= {});
|
|
39019
|
-
LeadCreatedEventDiscount$inboundSchema = objectType({
|
|
39020
|
-
id: stringType(),
|
|
39021
|
-
couponId: nullableType(stringType()),
|
|
39022
|
-
couponTestId: nullableType(stringType()),
|
|
39023
|
-
amount: numberType(),
|
|
39024
|
-
type: LeadCreatedEventType$inboundSchema,
|
|
39025
|
-
duration: nullableType(numberType()),
|
|
39026
|
-
interval: nullableType(LeadCreatedEventInterval$inboundSchema)
|
|
39027
|
-
});
|
|
39028
|
-
LeadCreatedEventDiscount$outboundSchema = objectType({
|
|
39029
|
-
id: stringType(),
|
|
39030
|
-
couponId: nullableType(stringType()),
|
|
39031
|
-
couponTestId: nullableType(stringType()),
|
|
39032
|
-
amount: numberType(),
|
|
39033
|
-
type: LeadCreatedEventType$outboundSchema,
|
|
39034
|
-
duration: nullableType(numberType()),
|
|
39035
|
-
interval: nullableType(LeadCreatedEventInterval$outboundSchema)
|
|
39036
|
-
});
|
|
39037
|
-
((LeadCreatedEventDiscount$) => {
|
|
39038
|
-
LeadCreatedEventDiscount$.inboundSchema = LeadCreatedEventDiscount$inboundSchema;
|
|
39039
|
-
LeadCreatedEventDiscount$.outboundSchema = LeadCreatedEventDiscount$outboundSchema;
|
|
39040
|
-
})(LeadCreatedEventDiscount$ ||= {});
|
|
39041
38965
|
LeadCreatedEventCustomer$inboundSchema = objectType({
|
|
39042
38966
|
id: stringType(),
|
|
39043
38967
|
externalId: stringType(),
|
|
@@ -39045,10 +38969,7 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39045
38969
|
email: nullableType(stringType()).optional(),
|
|
39046
38970
|
avatar: nullableType(stringType()).optional(),
|
|
39047
38971
|
country: nullableType(stringType()).optional(),
|
|
39048
|
-
createdAt: stringType()
|
|
39049
|
-
link: nullableType(lazyType(() => LeadCreatedEventDataLink$inboundSchema)).optional(),
|
|
39050
|
-
partner: nullableType(lazyType(() => LeadCreatedEventPartner$inboundSchema)).optional(),
|
|
39051
|
-
discount: nullableType(lazyType(() => LeadCreatedEventDiscount$inboundSchema)).optional()
|
|
38972
|
+
createdAt: stringType()
|
|
39052
38973
|
});
|
|
39053
38974
|
LeadCreatedEventCustomer$outboundSchema = objectType({
|
|
39054
38975
|
id: stringType(),
|
|
@@ -39057,10 +38978,7 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39057
38978
|
email: nullableType(stringType()).optional(),
|
|
39058
38979
|
avatar: nullableType(stringType()).optional(),
|
|
39059
38980
|
country: nullableType(stringType()).optional(),
|
|
39060
|
-
createdAt: stringType()
|
|
39061
|
-
link: nullableType(lazyType(() => LeadCreatedEventDataLink$outboundSchema)).optional(),
|
|
39062
|
-
partner: nullableType(lazyType(() => LeadCreatedEventPartner$outboundSchema)).optional(),
|
|
39063
|
-
discount: nullableType(lazyType(() => LeadCreatedEventDiscount$outboundSchema)).optional()
|
|
38981
|
+
createdAt: stringType()
|
|
39064
38982
|
});
|
|
39065
38983
|
((LeadCreatedEventCustomer$) => {
|
|
39066
38984
|
LeadCreatedEventCustomer$.inboundSchema = LeadCreatedEventCustomer$inboundSchema;
|
|
@@ -40267,7 +40185,7 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
40267
40185
|
});
|
|
40268
40186
|
|
|
40269
40187
|
// src/models/components/leadevent.ts
|
|
40270
|
-
var LeadEventEvent,
|
|
40188
|
+
var LeadEventEvent, LeadEventEvent$inboundSchema, LeadEventEvent$outboundSchema, LeadEventEvent$, LeadEventClick$inboundSchema, LeadEventClick$outboundSchema, LeadEventClick$, LeadEventGeo$inboundSchema, LeadEventGeo$outboundSchema, LeadEventGeo$, LeadEventLink$inboundSchema, LeadEventLink$outboundSchema, LeadEventLink$, Customer$inboundSchema, Customer$outboundSchema, Customer$, LeadEvent$inboundSchema, LeadEvent$outboundSchema, LeadEvent$;
|
|
40271
40189
|
var init_leadevent = __esm(() => {
|
|
40272
40190
|
init_lib();
|
|
40273
40191
|
init_primitives();
|
|
@@ -40275,14 +40193,6 @@ var init_leadevent = __esm(() => {
|
|
|
40275
40193
|
LeadEventEvent = {
|
|
40276
40194
|
Lead: "lead"
|
|
40277
40195
|
};
|
|
40278
|
-
LeadEventType = {
|
|
40279
|
-
Percentage: "percentage",
|
|
40280
|
-
Flat: "flat"
|
|
40281
|
-
};
|
|
40282
|
-
Interval = {
|
|
40283
|
-
Month: "month",
|
|
40284
|
-
Year: "year"
|
|
40285
|
-
};
|
|
40286
40196
|
LeadEventEvent$inboundSchema = nativeEnumType(LeadEventEvent);
|
|
40287
40197
|
LeadEventEvent$outboundSchema = LeadEventEvent$inboundSchema;
|
|
40288
40198
|
((LeadEventEvent$) => {
|
|
@@ -41455,74 +41365,6 @@ var init_leadevent = __esm(() => {
|
|
|
41455
41365
|
LeadEventLink$.inboundSchema = LeadEventLink$inboundSchema;
|
|
41456
41366
|
LeadEventLink$.outboundSchema = LeadEventLink$outboundSchema;
|
|
41457
41367
|
})(LeadEventLink$ ||= {});
|
|
41458
|
-
LeadEventCustomerLink$inboundSchema = objectType({
|
|
41459
|
-
id: stringType(),
|
|
41460
|
-
domain: stringType(),
|
|
41461
|
-
key: stringType(),
|
|
41462
|
-
shortLink: stringType(),
|
|
41463
|
-
programId: nullableType(stringType())
|
|
41464
|
-
});
|
|
41465
|
-
LeadEventCustomerLink$outboundSchema = objectType({
|
|
41466
|
-
id: stringType(),
|
|
41467
|
-
domain: stringType(),
|
|
41468
|
-
key: stringType(),
|
|
41469
|
-
shortLink: stringType(),
|
|
41470
|
-
programId: nullableType(stringType())
|
|
41471
|
-
});
|
|
41472
|
-
((LeadEventCustomerLink$) => {
|
|
41473
|
-
LeadEventCustomerLink$.inboundSchema = LeadEventCustomerLink$inboundSchema;
|
|
41474
|
-
LeadEventCustomerLink$.outboundSchema = LeadEventCustomerLink$outboundSchema;
|
|
41475
|
-
})(LeadEventCustomerLink$ ||= {});
|
|
41476
|
-
Partner$inboundSchema = objectType({
|
|
41477
|
-
id: stringType(),
|
|
41478
|
-
name: stringType(),
|
|
41479
|
-
email: stringType(),
|
|
41480
|
-
image: nullableType(stringType()).optional()
|
|
41481
|
-
});
|
|
41482
|
-
Partner$outboundSchema = objectType({
|
|
41483
|
-
id: stringType(),
|
|
41484
|
-
name: stringType(),
|
|
41485
|
-
email: stringType(),
|
|
41486
|
-
image: nullableType(stringType()).optional()
|
|
41487
|
-
});
|
|
41488
|
-
((Partner$) => {
|
|
41489
|
-
Partner$.inboundSchema = Partner$inboundSchema;
|
|
41490
|
-
Partner$.outboundSchema = Partner$outboundSchema;
|
|
41491
|
-
})(Partner$ ||= {});
|
|
41492
|
-
LeadEventType$inboundSchema = nativeEnumType(LeadEventType);
|
|
41493
|
-
LeadEventType$outboundSchema = LeadEventType$inboundSchema;
|
|
41494
|
-
((LeadEventType$) => {
|
|
41495
|
-
LeadEventType$.inboundSchema = LeadEventType$inboundSchema;
|
|
41496
|
-
LeadEventType$.outboundSchema = LeadEventType$outboundSchema;
|
|
41497
|
-
})(LeadEventType$ ||= {});
|
|
41498
|
-
Interval$inboundSchema = nativeEnumType(Interval);
|
|
41499
|
-
Interval$outboundSchema = Interval$inboundSchema;
|
|
41500
|
-
((Interval$) => {
|
|
41501
|
-
Interval$.inboundSchema = Interval$inboundSchema;
|
|
41502
|
-
Interval$.outboundSchema = Interval$outboundSchema;
|
|
41503
|
-
})(Interval$ ||= {});
|
|
41504
|
-
Discount$inboundSchema = objectType({
|
|
41505
|
-
id: stringType(),
|
|
41506
|
-
couponId: nullableType(stringType()),
|
|
41507
|
-
couponTestId: nullableType(stringType()),
|
|
41508
|
-
amount: numberType(),
|
|
41509
|
-
type: LeadEventType$inboundSchema,
|
|
41510
|
-
duration: nullableType(numberType()),
|
|
41511
|
-
interval: nullableType(Interval$inboundSchema)
|
|
41512
|
-
});
|
|
41513
|
-
Discount$outboundSchema = objectType({
|
|
41514
|
-
id: stringType(),
|
|
41515
|
-
couponId: nullableType(stringType()),
|
|
41516
|
-
couponTestId: nullableType(stringType()),
|
|
41517
|
-
amount: numberType(),
|
|
41518
|
-
type: LeadEventType$outboundSchema,
|
|
41519
|
-
duration: nullableType(numberType()),
|
|
41520
|
-
interval: nullableType(Interval$outboundSchema)
|
|
41521
|
-
});
|
|
41522
|
-
((Discount$) => {
|
|
41523
|
-
Discount$.inboundSchema = Discount$inboundSchema;
|
|
41524
|
-
Discount$.outboundSchema = Discount$outboundSchema;
|
|
41525
|
-
})(Discount$ ||= {});
|
|
41526
41368
|
Customer$inboundSchema = objectType({
|
|
41527
41369
|
id: stringType(),
|
|
41528
41370
|
externalId: stringType(),
|
|
@@ -41530,10 +41372,7 @@ var init_leadevent = __esm(() => {
|
|
|
41530
41372
|
email: nullableType(stringType()).optional(),
|
|
41531
41373
|
avatar: nullableType(stringType()).optional(),
|
|
41532
41374
|
country: nullableType(stringType()).optional(),
|
|
41533
|
-
createdAt: stringType()
|
|
41534
|
-
link: nullableType(lazyType(() => LeadEventCustomerLink$inboundSchema)).optional(),
|
|
41535
|
-
partner: nullableType(lazyType(() => Partner$inboundSchema)).optional(),
|
|
41536
|
-
discount: nullableType(lazyType(() => Discount$inboundSchema)).optional()
|
|
41375
|
+
createdAt: stringType()
|
|
41537
41376
|
});
|
|
41538
41377
|
Customer$outboundSchema = objectType({
|
|
41539
41378
|
id: stringType(),
|
|
@@ -41542,10 +41381,7 @@ var init_leadevent = __esm(() => {
|
|
|
41542
41381
|
email: nullableType(stringType()).optional(),
|
|
41543
41382
|
avatar: nullableType(stringType()).optional(),
|
|
41544
41383
|
country: nullableType(stringType()).optional(),
|
|
41545
|
-
createdAt: stringType()
|
|
41546
|
-
link: nullableType(lazyType(() => LeadEventCustomerLink$outboundSchema)).optional(),
|
|
41547
|
-
partner: nullableType(lazyType(() => Partner$outboundSchema)).optional(),
|
|
41548
|
-
discount: nullableType(lazyType(() => Discount$outboundSchema)).optional()
|
|
41384
|
+
createdAt: stringType()
|
|
41549
41385
|
});
|
|
41550
41386
|
((Customer$) => {
|
|
41551
41387
|
Customer$.inboundSchema = Customer$inboundSchema;
|
|
@@ -46414,7 +46250,7 @@ var init_partnercreatedevent = __esm(() => {
|
|
|
46414
46250
|
});
|
|
46415
46251
|
|
|
46416
46252
|
// src/models/components/salecreatedevent.ts
|
|
46417
|
-
var SaleCreatedEventEvent,
|
|
46253
|
+
var SaleCreatedEventEvent, SaleCreatedEventEvent$inboundSchema, SaleCreatedEventEvent$outboundSchema, SaleCreatedEventEvent$, SaleCreatedEventCustomer$inboundSchema, SaleCreatedEventCustomer$outboundSchema, SaleCreatedEventCustomer$, SaleCreatedEventClick$inboundSchema, SaleCreatedEventClick$outboundSchema, SaleCreatedEventClick$, SaleCreatedEventGeo$inboundSchema, SaleCreatedEventGeo$outboundSchema, SaleCreatedEventGeo$, SaleCreatedEventLink$inboundSchema, SaleCreatedEventLink$outboundSchema, SaleCreatedEventLink$, SaleCreatedEventSale$inboundSchema, SaleCreatedEventSale$outboundSchema, SaleCreatedEventSale$, SaleCreatedEventData$inboundSchema, SaleCreatedEventData$outboundSchema, SaleCreatedEventData$, SaleCreatedEvent$inboundSchema, SaleCreatedEvent$outboundSchema, SaleCreatedEvent$;
|
|
46418
46254
|
var init_salecreatedevent = __esm(() => {
|
|
46419
46255
|
init_lib();
|
|
46420
46256
|
init_primitives();
|
|
@@ -46422,88 +46258,12 @@ var init_salecreatedevent = __esm(() => {
|
|
|
46422
46258
|
SaleCreatedEventEvent = {
|
|
46423
46259
|
SaleCreated: "sale.created"
|
|
46424
46260
|
};
|
|
46425
|
-
SaleCreatedEventType = {
|
|
46426
|
-
Percentage: "percentage",
|
|
46427
|
-
Flat: "flat"
|
|
46428
|
-
};
|
|
46429
|
-
SaleCreatedEventInterval = {
|
|
46430
|
-
Month: "month",
|
|
46431
|
-
Year: "year"
|
|
46432
|
-
};
|
|
46433
46261
|
SaleCreatedEventEvent$inboundSchema = nativeEnumType(SaleCreatedEventEvent);
|
|
46434
46262
|
SaleCreatedEventEvent$outboundSchema = SaleCreatedEventEvent$inboundSchema;
|
|
46435
46263
|
((SaleCreatedEventEvent$) => {
|
|
46436
46264
|
SaleCreatedEventEvent$.inboundSchema = SaleCreatedEventEvent$inboundSchema;
|
|
46437
46265
|
SaleCreatedEventEvent$.outboundSchema = SaleCreatedEventEvent$outboundSchema;
|
|
46438
46266
|
})(SaleCreatedEventEvent$ ||= {});
|
|
46439
|
-
SaleCreatedEventDataLink$inboundSchema = objectType({
|
|
46440
|
-
id: stringType(),
|
|
46441
|
-
domain: stringType(),
|
|
46442
|
-
key: stringType(),
|
|
46443
|
-
shortLink: stringType(),
|
|
46444
|
-
programId: nullableType(stringType())
|
|
46445
|
-
});
|
|
46446
|
-
SaleCreatedEventDataLink$outboundSchema = objectType({
|
|
46447
|
-
id: stringType(),
|
|
46448
|
-
domain: stringType(),
|
|
46449
|
-
key: stringType(),
|
|
46450
|
-
shortLink: stringType(),
|
|
46451
|
-
programId: nullableType(stringType())
|
|
46452
|
-
});
|
|
46453
|
-
((SaleCreatedEventDataLink$) => {
|
|
46454
|
-
SaleCreatedEventDataLink$.inboundSchema = SaleCreatedEventDataLink$inboundSchema;
|
|
46455
|
-
SaleCreatedEventDataLink$.outboundSchema = SaleCreatedEventDataLink$outboundSchema;
|
|
46456
|
-
})(SaleCreatedEventDataLink$ ||= {});
|
|
46457
|
-
SaleCreatedEventPartner$inboundSchema = objectType({
|
|
46458
|
-
id: stringType(),
|
|
46459
|
-
name: stringType(),
|
|
46460
|
-
email: stringType(),
|
|
46461
|
-
image: nullableType(stringType()).optional()
|
|
46462
|
-
});
|
|
46463
|
-
SaleCreatedEventPartner$outboundSchema = objectType({
|
|
46464
|
-
id: stringType(),
|
|
46465
|
-
name: stringType(),
|
|
46466
|
-
email: stringType(),
|
|
46467
|
-
image: nullableType(stringType()).optional()
|
|
46468
|
-
});
|
|
46469
|
-
((SaleCreatedEventPartner$) => {
|
|
46470
|
-
SaleCreatedEventPartner$.inboundSchema = SaleCreatedEventPartner$inboundSchema;
|
|
46471
|
-
SaleCreatedEventPartner$.outboundSchema = SaleCreatedEventPartner$outboundSchema;
|
|
46472
|
-
})(SaleCreatedEventPartner$ ||= {});
|
|
46473
|
-
SaleCreatedEventType$inboundSchema = nativeEnumType(SaleCreatedEventType);
|
|
46474
|
-
SaleCreatedEventType$outboundSchema = SaleCreatedEventType$inboundSchema;
|
|
46475
|
-
((SaleCreatedEventType$) => {
|
|
46476
|
-
SaleCreatedEventType$.inboundSchema = SaleCreatedEventType$inboundSchema;
|
|
46477
|
-
SaleCreatedEventType$.outboundSchema = SaleCreatedEventType$outboundSchema;
|
|
46478
|
-
})(SaleCreatedEventType$ ||= {});
|
|
46479
|
-
SaleCreatedEventInterval$inboundSchema = nativeEnumType(SaleCreatedEventInterval);
|
|
46480
|
-
SaleCreatedEventInterval$outboundSchema = SaleCreatedEventInterval$inboundSchema;
|
|
46481
|
-
((SaleCreatedEventInterval$) => {
|
|
46482
|
-
SaleCreatedEventInterval$.inboundSchema = SaleCreatedEventInterval$inboundSchema;
|
|
46483
|
-
SaleCreatedEventInterval$.outboundSchema = SaleCreatedEventInterval$outboundSchema;
|
|
46484
|
-
})(SaleCreatedEventInterval$ ||= {});
|
|
46485
|
-
SaleCreatedEventDiscount$inboundSchema = objectType({
|
|
46486
|
-
id: stringType(),
|
|
46487
|
-
couponId: nullableType(stringType()),
|
|
46488
|
-
couponTestId: nullableType(stringType()),
|
|
46489
|
-
amount: numberType(),
|
|
46490
|
-
type: SaleCreatedEventType$inboundSchema,
|
|
46491
|
-
duration: nullableType(numberType()),
|
|
46492
|
-
interval: nullableType(SaleCreatedEventInterval$inboundSchema)
|
|
46493
|
-
});
|
|
46494
|
-
SaleCreatedEventDiscount$outboundSchema = objectType({
|
|
46495
|
-
id: stringType(),
|
|
46496
|
-
couponId: nullableType(stringType()),
|
|
46497
|
-
couponTestId: nullableType(stringType()),
|
|
46498
|
-
amount: numberType(),
|
|
46499
|
-
type: SaleCreatedEventType$outboundSchema,
|
|
46500
|
-
duration: nullableType(numberType()),
|
|
46501
|
-
interval: nullableType(SaleCreatedEventInterval$outboundSchema)
|
|
46502
|
-
});
|
|
46503
|
-
((SaleCreatedEventDiscount$) => {
|
|
46504
|
-
SaleCreatedEventDiscount$.inboundSchema = SaleCreatedEventDiscount$inboundSchema;
|
|
46505
|
-
SaleCreatedEventDiscount$.outboundSchema = SaleCreatedEventDiscount$outboundSchema;
|
|
46506
|
-
})(SaleCreatedEventDiscount$ ||= {});
|
|
46507
46267
|
SaleCreatedEventCustomer$inboundSchema = objectType({
|
|
46508
46268
|
id: stringType(),
|
|
46509
46269
|
externalId: stringType(),
|
|
@@ -46511,10 +46271,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
46511
46271
|
email: nullableType(stringType()).optional(),
|
|
46512
46272
|
avatar: nullableType(stringType()).optional(),
|
|
46513
46273
|
country: nullableType(stringType()).optional(),
|
|
46514
|
-
createdAt: stringType()
|
|
46515
|
-
link: nullableType(lazyType(() => SaleCreatedEventDataLink$inboundSchema)).optional(),
|
|
46516
|
-
partner: nullableType(lazyType(() => SaleCreatedEventPartner$inboundSchema)).optional(),
|
|
46517
|
-
discount: nullableType(lazyType(() => SaleCreatedEventDiscount$inboundSchema)).optional()
|
|
46274
|
+
createdAt: stringType()
|
|
46518
46275
|
});
|
|
46519
46276
|
SaleCreatedEventCustomer$outboundSchema = objectType({
|
|
46520
46277
|
id: stringType(),
|
|
@@ -46523,10 +46280,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
46523
46280
|
email: nullableType(stringType()).optional(),
|
|
46524
46281
|
avatar: nullableType(stringType()).optional(),
|
|
46525
46282
|
country: nullableType(stringType()).optional(),
|
|
46526
|
-
createdAt: stringType()
|
|
46527
|
-
link: nullableType(lazyType(() => SaleCreatedEventDataLink$outboundSchema)).optional(),
|
|
46528
|
-
partner: nullableType(lazyType(() => SaleCreatedEventPartner$outboundSchema)).optional(),
|
|
46529
|
-
discount: nullableType(lazyType(() => SaleCreatedEventDiscount$outboundSchema)).optional()
|
|
46283
|
+
createdAt: stringType()
|
|
46530
46284
|
});
|
|
46531
46285
|
((SaleCreatedEventCustomer$) => {
|
|
46532
46286
|
SaleCreatedEventCustomer$.inboundSchema = SaleCreatedEventCustomer$inboundSchema;
|
|
@@ -47751,7 +47505,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47751
47505
|
});
|
|
47752
47506
|
|
|
47753
47507
|
// src/models/components/saleevent.ts
|
|
47754
|
-
var SaleEventEvent,
|
|
47508
|
+
var SaleEventEvent, PaymentProcessor, SaleEventEvent$inboundSchema, SaleEventEvent$outboundSchema, SaleEventEvent$, SaleEventGeo$inboundSchema, SaleEventGeo$outboundSchema, SaleEventGeo$, SaleEventLink$inboundSchema, SaleEventLink$outboundSchema, SaleEventLink$, SaleEventClick$inboundSchema, SaleEventClick$outboundSchema, SaleEventClick$, SaleEventCustomer$inboundSchema, SaleEventCustomer$outboundSchema, SaleEventCustomer$, PaymentProcessor$inboundSchema, PaymentProcessor$outboundSchema, PaymentProcessor$, Sale$inboundSchema, Sale$outboundSchema, Sale$, SaleEvent$inboundSchema, SaleEvent$outboundSchema, SaleEvent$;
|
|
47755
47509
|
var init_saleevent = __esm(() => {
|
|
47756
47510
|
init_lib();
|
|
47757
47511
|
init_primitives();
|
|
@@ -47759,14 +47513,6 @@ var init_saleevent = __esm(() => {
|
|
|
47759
47513
|
SaleEventEvent = {
|
|
47760
47514
|
Sale: "sale"
|
|
47761
47515
|
};
|
|
47762
|
-
SaleEventType = {
|
|
47763
|
-
Percentage: "percentage",
|
|
47764
|
-
Flat: "flat"
|
|
47765
|
-
};
|
|
47766
|
-
SaleEventInterval = {
|
|
47767
|
-
Month: "month",
|
|
47768
|
-
Year: "year"
|
|
47769
|
-
};
|
|
47770
47516
|
PaymentProcessor = {
|
|
47771
47517
|
Stripe: "stripe",
|
|
47772
47518
|
Shopify: "shopify",
|
|
@@ -48946,74 +48692,6 @@ var init_saleevent = __esm(() => {
|
|
|
48946
48692
|
SaleEventClick$.inboundSchema = SaleEventClick$inboundSchema;
|
|
48947
48693
|
SaleEventClick$.outboundSchema = SaleEventClick$outboundSchema;
|
|
48948
48694
|
})(SaleEventClick$ ||= {});
|
|
48949
|
-
SaleEventCustomerLink$inboundSchema = objectType({
|
|
48950
|
-
id: stringType(),
|
|
48951
|
-
domain: stringType(),
|
|
48952
|
-
key: stringType(),
|
|
48953
|
-
shortLink: stringType(),
|
|
48954
|
-
programId: nullableType(stringType())
|
|
48955
|
-
});
|
|
48956
|
-
SaleEventCustomerLink$outboundSchema = objectType({
|
|
48957
|
-
id: stringType(),
|
|
48958
|
-
domain: stringType(),
|
|
48959
|
-
key: stringType(),
|
|
48960
|
-
shortLink: stringType(),
|
|
48961
|
-
programId: nullableType(stringType())
|
|
48962
|
-
});
|
|
48963
|
-
((SaleEventCustomerLink$) => {
|
|
48964
|
-
SaleEventCustomerLink$.inboundSchema = SaleEventCustomerLink$inboundSchema;
|
|
48965
|
-
SaleEventCustomerLink$.outboundSchema = SaleEventCustomerLink$outboundSchema;
|
|
48966
|
-
})(SaleEventCustomerLink$ ||= {});
|
|
48967
|
-
SaleEventPartner$inboundSchema = objectType({
|
|
48968
|
-
id: stringType(),
|
|
48969
|
-
name: stringType(),
|
|
48970
|
-
email: stringType(),
|
|
48971
|
-
image: nullableType(stringType()).optional()
|
|
48972
|
-
});
|
|
48973
|
-
SaleEventPartner$outboundSchema = objectType({
|
|
48974
|
-
id: stringType(),
|
|
48975
|
-
name: stringType(),
|
|
48976
|
-
email: stringType(),
|
|
48977
|
-
image: nullableType(stringType()).optional()
|
|
48978
|
-
});
|
|
48979
|
-
((SaleEventPartner$) => {
|
|
48980
|
-
SaleEventPartner$.inboundSchema = SaleEventPartner$inboundSchema;
|
|
48981
|
-
SaleEventPartner$.outboundSchema = SaleEventPartner$outboundSchema;
|
|
48982
|
-
})(SaleEventPartner$ ||= {});
|
|
48983
|
-
SaleEventType$inboundSchema = nativeEnumType(SaleEventType);
|
|
48984
|
-
SaleEventType$outboundSchema = SaleEventType$inboundSchema;
|
|
48985
|
-
((SaleEventType$) => {
|
|
48986
|
-
SaleEventType$.inboundSchema = SaleEventType$inboundSchema;
|
|
48987
|
-
SaleEventType$.outboundSchema = SaleEventType$outboundSchema;
|
|
48988
|
-
})(SaleEventType$ ||= {});
|
|
48989
|
-
SaleEventInterval$inboundSchema = nativeEnumType(SaleEventInterval);
|
|
48990
|
-
SaleEventInterval$outboundSchema = SaleEventInterval$inboundSchema;
|
|
48991
|
-
((SaleEventInterval$) => {
|
|
48992
|
-
SaleEventInterval$.inboundSchema = SaleEventInterval$inboundSchema;
|
|
48993
|
-
SaleEventInterval$.outboundSchema = SaleEventInterval$outboundSchema;
|
|
48994
|
-
})(SaleEventInterval$ ||= {});
|
|
48995
|
-
SaleEventDiscount$inboundSchema = objectType({
|
|
48996
|
-
id: stringType(),
|
|
48997
|
-
couponId: nullableType(stringType()),
|
|
48998
|
-
couponTestId: nullableType(stringType()),
|
|
48999
|
-
amount: numberType(),
|
|
49000
|
-
type: SaleEventType$inboundSchema,
|
|
49001
|
-
duration: nullableType(numberType()),
|
|
49002
|
-
interval: nullableType(SaleEventInterval$inboundSchema)
|
|
49003
|
-
});
|
|
49004
|
-
SaleEventDiscount$outboundSchema = objectType({
|
|
49005
|
-
id: stringType(),
|
|
49006
|
-
couponId: nullableType(stringType()),
|
|
49007
|
-
couponTestId: nullableType(stringType()),
|
|
49008
|
-
amount: numberType(),
|
|
49009
|
-
type: SaleEventType$outboundSchema,
|
|
49010
|
-
duration: nullableType(numberType()),
|
|
49011
|
-
interval: nullableType(SaleEventInterval$outboundSchema)
|
|
49012
|
-
});
|
|
49013
|
-
((SaleEventDiscount$) => {
|
|
49014
|
-
SaleEventDiscount$.inboundSchema = SaleEventDiscount$inboundSchema;
|
|
49015
|
-
SaleEventDiscount$.outboundSchema = SaleEventDiscount$outboundSchema;
|
|
49016
|
-
})(SaleEventDiscount$ ||= {});
|
|
49017
48695
|
SaleEventCustomer$inboundSchema = objectType({
|
|
49018
48696
|
id: stringType(),
|
|
49019
48697
|
externalId: stringType(),
|
|
@@ -49021,10 +48699,7 @@ var init_saleevent = __esm(() => {
|
|
|
49021
48699
|
email: nullableType(stringType()).optional(),
|
|
49022
48700
|
avatar: nullableType(stringType()).optional(),
|
|
49023
48701
|
country: nullableType(stringType()).optional(),
|
|
49024
|
-
createdAt: stringType()
|
|
49025
|
-
link: nullableType(lazyType(() => SaleEventCustomerLink$inboundSchema)).optional(),
|
|
49026
|
-
partner: nullableType(lazyType(() => SaleEventPartner$inboundSchema)).optional(),
|
|
49027
|
-
discount: nullableType(lazyType(() => SaleEventDiscount$inboundSchema)).optional()
|
|
48702
|
+
createdAt: stringType()
|
|
49028
48703
|
});
|
|
49029
48704
|
SaleEventCustomer$outboundSchema = objectType({
|
|
49030
48705
|
id: stringType(),
|
|
@@ -49033,10 +48708,7 @@ var init_saleevent = __esm(() => {
|
|
|
49033
48708
|
email: nullableType(stringType()).optional(),
|
|
49034
48709
|
avatar: nullableType(stringType()).optional(),
|
|
49035
48710
|
country: nullableType(stringType()).optional(),
|
|
49036
|
-
createdAt: stringType()
|
|
49037
|
-
link: nullableType(lazyType(() => SaleEventCustomerLink$outboundSchema)).optional(),
|
|
49038
|
-
partner: nullableType(lazyType(() => SaleEventPartner$outboundSchema)).optional(),
|
|
49039
|
-
discount: nullableType(lazyType(() => SaleEventDiscount$outboundSchema)).optional()
|
|
48711
|
+
createdAt: stringType()
|
|
49040
48712
|
});
|
|
49041
48713
|
((SaleEventCustomer$) => {
|
|
49042
48714
|
SaleEventCustomer$.inboundSchema = SaleEventCustomer$inboundSchema;
|
|
@@ -49673,14 +49345,14 @@ var init_createcustomer = __esm(() => {
|
|
|
49673
49345
|
CreateCustomerPartner$inboundSchema = objectType({
|
|
49674
49346
|
id: stringType(),
|
|
49675
49347
|
name: stringType(),
|
|
49676
|
-
email: stringType(),
|
|
49677
|
-
image: nullableType(stringType())
|
|
49348
|
+
email: nullableType(stringType()),
|
|
49349
|
+
image: nullableType(stringType())
|
|
49678
49350
|
});
|
|
49679
49351
|
CreateCustomerPartner$outboundSchema = objectType({
|
|
49680
49352
|
id: stringType(),
|
|
49681
49353
|
name: stringType(),
|
|
49682
|
-
email: stringType(),
|
|
49683
|
-
image: nullableType(stringType())
|
|
49354
|
+
email: nullableType(stringType()),
|
|
49355
|
+
image: nullableType(stringType())
|
|
49684
49356
|
});
|
|
49685
49357
|
((CreateCustomerPartner$) => {
|
|
49686
49358
|
CreateCustomerPartner$.inboundSchema = CreateCustomerPartner$inboundSchema;
|
|
@@ -50502,7 +50174,7 @@ var init_createpartnerlink = __esm(() => {
|
|
|
50502
50174
|
});
|
|
50503
50175
|
|
|
50504
50176
|
// src/models/operations/createreferralsembedtoken.ts
|
|
50505
|
-
var CreateReferralsEmbedTokenCountry, CreateReferralsEmbedTokenCountry$inboundSchema, CreateReferralsEmbedTokenCountry$outboundSchema, CreateReferralsEmbedTokenCountry$, CreateReferralsEmbedTokenTagIds$inboundSchema, CreateReferralsEmbedTokenTagIds$outboundSchema, CreateReferralsEmbedTokenTagIds$, CreateReferralsEmbedTokenTagNames$inboundSchema, CreateReferralsEmbedTokenTagNames$outboundSchema, CreateReferralsEmbedTokenTagNames$, CreateReferralsEmbedTokenLinkProps$inboundSchema, CreateReferralsEmbedTokenLinkProps$outboundSchema, CreateReferralsEmbedTokenLinkProps$, Partner$
|
|
50177
|
+
var CreateReferralsEmbedTokenCountry, CreateReferralsEmbedTokenCountry$inboundSchema, CreateReferralsEmbedTokenCountry$outboundSchema, CreateReferralsEmbedTokenCountry$, CreateReferralsEmbedTokenTagIds$inboundSchema, CreateReferralsEmbedTokenTagIds$outboundSchema, CreateReferralsEmbedTokenTagIds$, CreateReferralsEmbedTokenTagNames$inboundSchema, CreateReferralsEmbedTokenTagNames$outboundSchema, CreateReferralsEmbedTokenTagNames$, CreateReferralsEmbedTokenLinkProps$inboundSchema, CreateReferralsEmbedTokenLinkProps$outboundSchema, CreateReferralsEmbedTokenLinkProps$, Partner$inboundSchema, Partner$outboundSchema, Partner$, CreateReferralsEmbedTokenRequestBody$inboundSchema, CreateReferralsEmbedTokenRequestBody$outboundSchema, CreateReferralsEmbedTokenRequestBody$, CreateReferralsEmbedTokenResponseBody$inboundSchema, CreateReferralsEmbedTokenResponseBody$outboundSchema, CreateReferralsEmbedTokenResponseBody$;
|
|
50506
50178
|
var init_createreferralsembedtoken = __esm(() => {
|
|
50507
50179
|
init_lib();
|
|
50508
50180
|
init_primitives();
|
|
@@ -50852,7 +50524,7 @@ var init_createreferralsembedtoken = __esm(() => {
|
|
|
50852
50524
|
CreateReferralsEmbedTokenLinkProps$.inboundSchema = CreateReferralsEmbedTokenLinkProps$inboundSchema;
|
|
50853
50525
|
CreateReferralsEmbedTokenLinkProps$.outboundSchema = CreateReferralsEmbedTokenLinkProps$outboundSchema;
|
|
50854
50526
|
})(CreateReferralsEmbedTokenLinkProps$ ||= {});
|
|
50855
|
-
Partner$
|
|
50527
|
+
Partner$inboundSchema = objectType({
|
|
50856
50528
|
name: stringType(),
|
|
50857
50529
|
email: stringType(),
|
|
50858
50530
|
username: nullableType(stringType()).optional(),
|
|
@@ -50862,7 +50534,7 @@ var init_createreferralsembedtoken = __esm(() => {
|
|
|
50862
50534
|
tenantId: stringType().optional(),
|
|
50863
50535
|
linkProps: lazyType(() => CreateReferralsEmbedTokenLinkProps$inboundSchema).optional()
|
|
50864
50536
|
});
|
|
50865
|
-
Partner$
|
|
50537
|
+
Partner$outboundSchema = objectType({
|
|
50866
50538
|
name: stringType(),
|
|
50867
50539
|
email: stringType(),
|
|
50868
50540
|
username: nullableType(stringType()).optional(),
|
|
@@ -50873,20 +50545,20 @@ var init_createreferralsembedtoken = __esm(() => {
|
|
|
50873
50545
|
linkProps: lazyType(() => CreateReferralsEmbedTokenLinkProps$outboundSchema).optional()
|
|
50874
50546
|
});
|
|
50875
50547
|
((Partner$) => {
|
|
50876
|
-
Partner$.inboundSchema = Partner$
|
|
50877
|
-
Partner$.outboundSchema = Partner$
|
|
50878
|
-
})(Partner$
|
|
50548
|
+
Partner$.inboundSchema = Partner$inboundSchema;
|
|
50549
|
+
Partner$.outboundSchema = Partner$outboundSchema;
|
|
50550
|
+
})(Partner$ ||= {});
|
|
50879
50551
|
CreateReferralsEmbedTokenRequestBody$inboundSchema = objectType({
|
|
50880
50552
|
programId: stringType(),
|
|
50881
50553
|
partnerId: stringType().optional(),
|
|
50882
50554
|
tenantId: stringType().optional(),
|
|
50883
|
-
partner: lazyType(() => Partner$
|
|
50555
|
+
partner: lazyType(() => Partner$inboundSchema).optional()
|
|
50884
50556
|
});
|
|
50885
50557
|
CreateReferralsEmbedTokenRequestBody$outboundSchema = objectType({
|
|
50886
50558
|
programId: stringType(),
|
|
50887
50559
|
partnerId: stringType().optional(),
|
|
50888
50560
|
tenantId: stringType().optional(),
|
|
50889
|
-
partner: lazyType(() => Partner$
|
|
50561
|
+
partner: lazyType(() => Partner$outboundSchema).optional()
|
|
50890
50562
|
});
|
|
50891
50563
|
((CreateReferralsEmbedTokenRequestBody$) => {
|
|
50892
50564
|
CreateReferralsEmbedTokenRequestBody$.inboundSchema = CreateReferralsEmbedTokenRequestBody$inboundSchema;
|
|
@@ -51116,14 +50788,14 @@ var init_getcustomer = __esm(() => {
|
|
|
51116
50788
|
GetCustomerPartner$inboundSchema = objectType({
|
|
51117
50789
|
id: stringType(),
|
|
51118
50790
|
name: stringType(),
|
|
51119
|
-
email: stringType(),
|
|
51120
|
-
image: nullableType(stringType())
|
|
50791
|
+
email: nullableType(stringType()),
|
|
50792
|
+
image: nullableType(stringType())
|
|
51121
50793
|
});
|
|
51122
50794
|
GetCustomerPartner$outboundSchema = objectType({
|
|
51123
50795
|
id: stringType(),
|
|
51124
50796
|
name: stringType(),
|
|
51125
|
-
email: stringType(),
|
|
51126
|
-
image: nullableType(stringType())
|
|
50797
|
+
email: nullableType(stringType()),
|
|
50798
|
+
image: nullableType(stringType())
|
|
51127
50799
|
});
|
|
51128
50800
|
((GetCustomerPartner$) => {
|
|
51129
50801
|
GetCustomerPartner$.inboundSchema = GetCustomerPartner$inboundSchema;
|
|
@@ -51194,7 +50866,7 @@ var init_getcustomer = __esm(() => {
|
|
|
51194
50866
|
});
|
|
51195
50867
|
|
|
51196
50868
|
// src/models/operations/getcustomers.ts
|
|
51197
|
-
var Type2, GetCustomersInterval, GetCustomersRequest$inboundSchema, GetCustomersRequest$outboundSchema, GetCustomersRequest$, Link$inboundSchema2, Link$outboundSchema2, Link$2, GetCustomersPartner$inboundSchema, GetCustomersPartner$outboundSchema, GetCustomersPartner$, Type$inboundSchema2, Type$outboundSchema2, Type$2, GetCustomersInterval$inboundSchema, GetCustomersInterval$outboundSchema, GetCustomersInterval$, Discount$
|
|
50869
|
+
var Type2, GetCustomersInterval, GetCustomersRequest$inboundSchema, GetCustomersRequest$outboundSchema, GetCustomersRequest$, Link$inboundSchema2, Link$outboundSchema2, Link$2, GetCustomersPartner$inboundSchema, GetCustomersPartner$outboundSchema, GetCustomersPartner$, Type$inboundSchema2, Type$outboundSchema2, Type$2, GetCustomersInterval$inboundSchema, GetCustomersInterval$outboundSchema, GetCustomersInterval$, Discount$inboundSchema, Discount$outboundSchema, Discount$, GetCustomersResponseBody$inboundSchema, GetCustomersResponseBody$outboundSchema, GetCustomersResponseBody$;
|
|
51198
50870
|
var init_getcustomers = __esm(() => {
|
|
51199
50871
|
init_lib();
|
|
51200
50872
|
Type2 = {
|
|
@@ -51240,14 +50912,14 @@ var init_getcustomers = __esm(() => {
|
|
|
51240
50912
|
GetCustomersPartner$inboundSchema = objectType({
|
|
51241
50913
|
id: stringType(),
|
|
51242
50914
|
name: stringType(),
|
|
51243
|
-
email: stringType(),
|
|
51244
|
-
image: nullableType(stringType())
|
|
50915
|
+
email: nullableType(stringType()),
|
|
50916
|
+
image: nullableType(stringType())
|
|
51245
50917
|
});
|
|
51246
50918
|
GetCustomersPartner$outboundSchema = objectType({
|
|
51247
50919
|
id: stringType(),
|
|
51248
50920
|
name: stringType(),
|
|
51249
|
-
email: stringType(),
|
|
51250
|
-
image: nullableType(stringType())
|
|
50921
|
+
email: nullableType(stringType()),
|
|
50922
|
+
image: nullableType(stringType())
|
|
51251
50923
|
});
|
|
51252
50924
|
((GetCustomersPartner$) => {
|
|
51253
50925
|
GetCustomersPartner$.inboundSchema = GetCustomersPartner$inboundSchema;
|
|
@@ -51265,7 +50937,7 @@ var init_getcustomers = __esm(() => {
|
|
|
51265
50937
|
GetCustomersInterval$.inboundSchema = GetCustomersInterval$inboundSchema;
|
|
51266
50938
|
GetCustomersInterval$.outboundSchema = GetCustomersInterval$outboundSchema;
|
|
51267
50939
|
})(GetCustomersInterval$ ||= {});
|
|
51268
|
-
Discount$
|
|
50940
|
+
Discount$inboundSchema = objectType({
|
|
51269
50941
|
id: stringType(),
|
|
51270
50942
|
couponId: nullableType(stringType()),
|
|
51271
50943
|
couponTestId: nullableType(stringType()),
|
|
@@ -51274,7 +50946,7 @@ var init_getcustomers = __esm(() => {
|
|
|
51274
50946
|
duration: nullableType(numberType()),
|
|
51275
50947
|
interval: nullableType(GetCustomersInterval$inboundSchema)
|
|
51276
50948
|
});
|
|
51277
|
-
Discount$
|
|
50949
|
+
Discount$outboundSchema = objectType({
|
|
51278
50950
|
id: stringType(),
|
|
51279
50951
|
couponId: nullableType(stringType()),
|
|
51280
50952
|
couponTestId: nullableType(stringType()),
|
|
@@ -51284,9 +50956,9 @@ var init_getcustomers = __esm(() => {
|
|
|
51284
50956
|
interval: nullableType(GetCustomersInterval$outboundSchema)
|
|
51285
50957
|
});
|
|
51286
50958
|
((Discount$) => {
|
|
51287
|
-
Discount$.inboundSchema = Discount$
|
|
51288
|
-
Discount$.outboundSchema = Discount$
|
|
51289
|
-
})(Discount$
|
|
50959
|
+
Discount$.inboundSchema = Discount$inboundSchema;
|
|
50960
|
+
Discount$.outboundSchema = Discount$outboundSchema;
|
|
50961
|
+
})(Discount$ ||= {});
|
|
51290
50962
|
GetCustomersResponseBody$inboundSchema = objectType({
|
|
51291
50963
|
id: stringType(),
|
|
51292
50964
|
externalId: stringType(),
|
|
@@ -51297,7 +50969,7 @@ var init_getcustomers = __esm(() => {
|
|
|
51297
50969
|
createdAt: stringType(),
|
|
51298
50970
|
link: nullableType(lazyType(() => Link$inboundSchema2)).optional(),
|
|
51299
50971
|
partner: nullableType(lazyType(() => GetCustomersPartner$inboundSchema)).optional(),
|
|
51300
|
-
discount: nullableType(lazyType(() => Discount$
|
|
50972
|
+
discount: nullableType(lazyType(() => Discount$inboundSchema)).optional()
|
|
51301
50973
|
});
|
|
51302
50974
|
GetCustomersResponseBody$outboundSchema = objectType({
|
|
51303
50975
|
id: stringType(),
|
|
@@ -51309,7 +50981,7 @@ var init_getcustomers = __esm(() => {
|
|
|
51309
50981
|
createdAt: stringType(),
|
|
51310
50982
|
link: nullableType(lazyType(() => Link$outboundSchema2)).optional(),
|
|
51311
50983
|
partner: nullableType(lazyType(() => GetCustomersPartner$outboundSchema)).optional(),
|
|
51312
|
-
discount: nullableType(lazyType(() => Discount$
|
|
50984
|
+
discount: nullableType(lazyType(() => Discount$outboundSchema)).optional()
|
|
51313
50985
|
});
|
|
51314
50986
|
((GetCustomersResponseBody$) => {
|
|
51315
50987
|
GetCustomersResponseBody$.inboundSchema = GetCustomersResponseBody$inboundSchema;
|
|
@@ -51961,7 +51633,7 @@ var init_listfolders = __esm(() => {
|
|
|
51961
51633
|
});
|
|
51962
51634
|
|
|
51963
51635
|
// src/models/operations/retrieveanalytics.ts
|
|
51964
|
-
var Event2, QueryParamGroupBy,
|
|
51636
|
+
var Event2, QueryParamGroupBy, Interval, Trigger2, Event$inboundSchema2, Event$outboundSchema2, Event$2, QueryParamGroupBy$inboundSchema, QueryParamGroupBy$outboundSchema, QueryParamGroupBy$, Interval$inboundSchema, Interval$outboundSchema, Interval$, Trigger$inboundSchema2, Trigger$outboundSchema2, Trigger$2, RetrieveAnalyticsQueryParamTagIds$inboundSchema, RetrieveAnalyticsQueryParamTagIds$outboundSchema, RetrieveAnalyticsQueryParamTagIds$, RetrieveAnalyticsRequest$inboundSchema, RetrieveAnalyticsRequest$outboundSchema, RetrieveAnalyticsRequest$, RetrieveAnalyticsResponseBody$inboundSchema, RetrieveAnalyticsResponseBody$outboundSchema, RetrieveAnalyticsResponseBody$;
|
|
51965
51637
|
var init_retrieveanalytics = __esm(() => {
|
|
51966
51638
|
init_lib();
|
|
51967
51639
|
init_primitives();
|
|
@@ -51994,7 +51666,7 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
51994
51666
|
UtmTerms: "utm_terms",
|
|
51995
51667
|
UtmContents: "utm_contents"
|
|
51996
51668
|
};
|
|
51997
|
-
|
|
51669
|
+
Interval = {
|
|
51998
51670
|
TwentyFourh: "24h",
|
|
51999
51671
|
Sevend: "7d",
|
|
52000
51672
|
Thirtyd: "30d",
|
|
@@ -52003,8 +51675,7 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52003
51675
|
Mtd: "mtd",
|
|
52004
51676
|
Qtd: "qtd",
|
|
52005
51677
|
Ytd: "ytd",
|
|
52006
|
-
All: "all"
|
|
52007
|
-
AllUnfiltered: "all_unfiltered"
|
|
51678
|
+
All: "all"
|
|
52008
51679
|
};
|
|
52009
51680
|
Trigger2 = {
|
|
52010
51681
|
Qr: "qr",
|
|
@@ -52022,12 +51693,12 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52022
51693
|
QueryParamGroupBy$.inboundSchema = QueryParamGroupBy$inboundSchema;
|
|
52023
51694
|
QueryParamGroupBy$.outboundSchema = QueryParamGroupBy$outboundSchema;
|
|
52024
51695
|
})(QueryParamGroupBy$ ||= {});
|
|
52025
|
-
Interval$
|
|
52026
|
-
Interval$
|
|
51696
|
+
Interval$inboundSchema = nativeEnumType(Interval);
|
|
51697
|
+
Interval$outboundSchema = Interval$inboundSchema;
|
|
52027
51698
|
((Interval$) => {
|
|
52028
|
-
Interval$.inboundSchema = Interval$
|
|
52029
|
-
Interval$.outboundSchema = Interval$
|
|
52030
|
-
})(Interval$
|
|
51699
|
+
Interval$.inboundSchema = Interval$inboundSchema;
|
|
51700
|
+
Interval$.outboundSchema = Interval$outboundSchema;
|
|
51701
|
+
})(Interval$ ||= {});
|
|
52031
51702
|
Trigger$inboundSchema2 = nativeEnumType(Trigger2);
|
|
52032
51703
|
Trigger$outboundSchema2 = Trigger$inboundSchema2;
|
|
52033
51704
|
((Trigger$) => {
|
|
@@ -52050,7 +51721,7 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52050
51721
|
tenantId: stringType().optional(),
|
|
52051
51722
|
programId: stringType().optional(),
|
|
52052
51723
|
partnerId: stringType().optional(),
|
|
52053
|
-
interval: Interval$
|
|
51724
|
+
interval: Interval$inboundSchema.optional(),
|
|
52054
51725
|
start: stringType().optional(),
|
|
52055
51726
|
end: stringType().optional(),
|
|
52056
51727
|
timezone: stringType().default("UTC"),
|
|
@@ -52094,7 +51765,7 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52094
51765
|
tenantId: stringType().optional(),
|
|
52095
51766
|
programId: stringType().optional(),
|
|
52096
51767
|
partnerId: stringType().optional(),
|
|
52097
|
-
interval: Interval$
|
|
51768
|
+
interval: Interval$outboundSchema.optional(),
|
|
52098
51769
|
start: stringType().optional(),
|
|
52099
51770
|
end: stringType().optional(),
|
|
52100
51771
|
timezone: stringType().default("UTC"),
|
|
@@ -52184,8 +51855,7 @@ var init_retrievepartneranalytics = __esm(() => {
|
|
|
52184
51855
|
Mtd: "mtd",
|
|
52185
51856
|
Qtd: "qtd",
|
|
52186
51857
|
Ytd: "ytd",
|
|
52187
|
-
All: "all"
|
|
52188
|
-
AllUnfiltered: "all_unfiltered"
|
|
51858
|
+
All: "all"
|
|
52189
51859
|
};
|
|
52190
51860
|
RetrievePartnerAnalyticsQueryParamGroupBy = {
|
|
52191
51861
|
TopLinks: "top_links",
|
|
@@ -52493,14 +52163,14 @@ var init_updatecustomer = __esm(() => {
|
|
|
52493
52163
|
UpdateCustomerPartner$inboundSchema = objectType({
|
|
52494
52164
|
id: stringType(),
|
|
52495
52165
|
name: stringType(),
|
|
52496
|
-
email: stringType(),
|
|
52497
|
-
image: nullableType(stringType())
|
|
52166
|
+
email: nullableType(stringType()),
|
|
52167
|
+
image: nullableType(stringType())
|
|
52498
52168
|
});
|
|
52499
52169
|
UpdateCustomerPartner$outboundSchema = objectType({
|
|
52500
52170
|
id: stringType(),
|
|
52501
52171
|
name: stringType(),
|
|
52502
|
-
email: stringType(),
|
|
52503
|
-
image: nullableType(stringType())
|
|
52172
|
+
email: nullableType(stringType()),
|
|
52173
|
+
image: nullableType(stringType())
|
|
52504
52174
|
});
|
|
52505
52175
|
((UpdateCustomerPartner$) => {
|
|
52506
52176
|
UpdateCustomerPartner$.inboundSchema = UpdateCustomerPartner$inboundSchema;
|
|
@@ -52821,12 +52491,14 @@ var init_updatepartnersale = __esm(() => {
|
|
|
52821
52491
|
UpdatePartnerSaleRequestBody$inboundSchema = objectType({
|
|
52822
52492
|
programId: stringType(),
|
|
52823
52493
|
invoiceId: stringType(),
|
|
52824
|
-
amount: numberType()
|
|
52494
|
+
amount: numberType().optional(),
|
|
52495
|
+
modifyAmount: numberType().optional()
|
|
52825
52496
|
});
|
|
52826
52497
|
UpdatePartnerSaleRequestBody$outboundSchema = objectType({
|
|
52827
52498
|
programId: stringType(),
|
|
52828
52499
|
invoiceId: stringType(),
|
|
52829
|
-
amount: numberType()
|
|
52500
|
+
amount: numberType().optional(),
|
|
52501
|
+
modifyAmount: numberType().optional()
|
|
52830
52502
|
});
|
|
52831
52503
|
((UpdatePartnerSaleRequestBody$) => {
|
|
52832
52504
|
UpdatePartnerSaleRequestBody$.inboundSchema = UpdatePartnerSaleRequestBody$inboundSchema;
|
|
@@ -52844,6 +52516,7 @@ var init_updatepartnersale = __esm(() => {
|
|
|
52844
52516
|
earnings: numberType(),
|
|
52845
52517
|
currency: stringType(),
|
|
52846
52518
|
status: UpdatePartnerSaleStatus$inboundSchema,
|
|
52519
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
52847
52520
|
createdAt: stringType(),
|
|
52848
52521
|
updatedAt: stringType()
|
|
52849
52522
|
});
|
|
@@ -52853,6 +52526,7 @@ var init_updatepartnersale = __esm(() => {
|
|
|
52853
52526
|
earnings: numberType(),
|
|
52854
52527
|
currency: stringType(),
|
|
52855
52528
|
status: UpdatePartnerSaleStatus$outboundSchema,
|
|
52529
|
+
invoiceId: nullableType(stringType()).optional(),
|
|
52856
52530
|
createdAt: stringType(),
|
|
52857
52531
|
updatedAt: stringType()
|
|
52858
52532
|
});
|
|
@@ -58297,7 +57971,7 @@ Update a workspace by ID or slug.`,
|
|
|
58297
57971
|
function createMCPServer(deps) {
|
|
58298
57972
|
const server = new McpServer({
|
|
58299
57973
|
name: "Dub",
|
|
58300
|
-
version: "0.58.
|
|
57974
|
+
version: "0.58.2"
|
|
58301
57975
|
});
|
|
58302
57976
|
const client = new DubCore({
|
|
58303
57977
|
token: deps.token,
|
|
@@ -59585,7 +59259,7 @@ var routes = rn({
|
|
|
59585
59259
|
var app = Ve(routes, {
|
|
59586
59260
|
name: "mcp",
|
|
59587
59261
|
versionInfo: {
|
|
59588
|
-
currentVersion: "0.58.
|
|
59262
|
+
currentVersion: "0.58.2"
|
|
59589
59263
|
}
|
|
59590
59264
|
});
|
|
59591
59265
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -59593,5 +59267,5 @@ export {
|
|
|
59593
59267
|
app
|
|
59594
59268
|
};
|
|
59595
59269
|
|
|
59596
|
-
//# debugId=
|
|
59270
|
+
//# debugId=6D07E0716564928664756E2164756E21
|
|
59597
59271
|
//# sourceMappingURL=mcp-server.js.map
|