dub 0.64.2 → 0.64.3
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/README.md +1 -1
- package/bin/mcp-server.js +137 -99
- package/bin/mcp-server.js.map +28 -28
- package/dist/commonjs/funcs/analyticsRetrieve.js +1 -0
- package/dist/commonjs/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/commonjs/funcs/eventsList.js +1 -0
- package/dist/commonjs/funcs/eventsList.js.map +1 -1
- 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/clickevent.d.ts +33 -26
- package/dist/commonjs/models/components/clickevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/clickevent.js +8 -4
- package/dist/commonjs/models/components/clickevent.js.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.d.ts +20 -13
- package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.js +8 -4
- package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/leadevent.d.ts +35 -26
- package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadevent.js +10 -4
- package/dist/commonjs/models/components/leadevent.js.map +1 -1
- package/dist/commonjs/models/components/linkclickedevent.d.ts +20 -13
- package/dist/commonjs/models/components/linkclickedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/linkclickedevent.js +8 -4
- package/dist/commonjs/models/components/linkclickedevent.js.map +1 -1
- package/dist/commonjs/models/components/linkschema.d.ts +20 -15
- package/dist/commonjs/models/components/linkschema.d.ts.map +1 -1
- package/dist/commonjs/models/components/linkschema.js +6 -4
- package/dist/commonjs/models/components/linkschema.js.map +1 -1
- package/dist/commonjs/models/components/linkwebhookevent.d.ts +18 -13
- package/dist/commonjs/models/components/linkwebhookevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/linkwebhookevent.js +6 -4
- package/dist/commonjs/models/components/linkwebhookevent.js.map +1 -1
- package/dist/commonjs/models/components/partnerenrolledevent.d.ts +3 -3
- package/dist/commonjs/models/components/salecreatedevent.d.ts +20 -13
- package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.js +8 -4
- package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/saleevent.d.ts +123 -112
- package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/saleevent.js +60 -54
- package/dist/commonjs/models/components/saleevent.js.map +1 -1
- package/dist/commonjs/models/operations/bulkcreatelinks.d.ts +14 -14
- package/dist/commonjs/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/bulkcreatelinks.js +4 -4
- package/dist/commonjs/models/operations/bulkcreatelinks.js.map +1 -1
- package/dist/commonjs/models/operations/bulkupdatelinks.d.ts +14 -14
- package/dist/commonjs/models/operations/bulkupdatelinks.d.ts.map +1 -1
- package/dist/commonjs/models/operations/bulkupdatelinks.js +4 -4
- package/dist/commonjs/models/operations/bulkupdatelinks.js.map +1 -1
- package/dist/commonjs/models/operations/createlink.d.ts +14 -14
- package/dist/commonjs/models/operations/createlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createlink.js +4 -4
- package/dist/commonjs/models/operations/createlink.js.map +1 -1
- package/dist/commonjs/models/operations/createpartner.d.ts +3 -3
- package/dist/commonjs/models/operations/getlinks.d.ts +1 -1
- package/dist/commonjs/models/operations/getlinkscount.d.ts +1 -1
- package/dist/commonjs/models/operations/listevents.d.ts +18 -13
- package/dist/commonjs/models/operations/listevents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listevents.js +7 -5
- package/dist/commonjs/models/operations/listevents.js.map +1 -1
- package/dist/commonjs/models/operations/listpartners.d.ts +3 -3
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts +18 -13
- package/dist/commonjs/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/retrieveanalytics.js +7 -5
- package/dist/commonjs/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/commonjs/models/operations/retrievelinks.d.ts +3 -3
- package/dist/commonjs/models/operations/updatelink.d.ts +14 -14
- package/dist/commonjs/models/operations/updatelink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatelink.js +4 -4
- package/dist/commonjs/models/operations/updatelink.js.map +1 -1
- package/dist/commonjs/models/operations/upsertlink.d.ts +14 -14
- package/dist/commonjs/models/operations/upsertlink.d.ts.map +1 -1
- package/dist/commonjs/models/operations/upsertlink.js +4 -4
- package/dist/commonjs/models/operations/upsertlink.js.map +1 -1
- package/dist/esm/funcs/analyticsRetrieve.js +1 -0
- package/dist/esm/funcs/analyticsRetrieve.js.map +1 -1
- package/dist/esm/funcs/eventsList.js +1 -0
- package/dist/esm/funcs/eventsList.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/clickevent.d.ts +33 -26
- package/dist/esm/models/components/clickevent.d.ts.map +1 -1
- package/dist/esm/models/components/clickevent.js +8 -4
- package/dist/esm/models/components/clickevent.js.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.d.ts +20 -13
- package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.js +8 -4
- package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
- package/dist/esm/models/components/leadevent.d.ts +35 -26
- package/dist/esm/models/components/leadevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadevent.js +10 -4
- package/dist/esm/models/components/leadevent.js.map +1 -1
- package/dist/esm/models/components/linkclickedevent.d.ts +20 -13
- package/dist/esm/models/components/linkclickedevent.d.ts.map +1 -1
- package/dist/esm/models/components/linkclickedevent.js +8 -4
- package/dist/esm/models/components/linkclickedevent.js.map +1 -1
- package/dist/esm/models/components/linkschema.d.ts +20 -15
- package/dist/esm/models/components/linkschema.d.ts.map +1 -1
- package/dist/esm/models/components/linkschema.js +6 -4
- package/dist/esm/models/components/linkschema.js.map +1 -1
- package/dist/esm/models/components/linkwebhookevent.d.ts +18 -13
- package/dist/esm/models/components/linkwebhookevent.d.ts.map +1 -1
- package/dist/esm/models/components/linkwebhookevent.js +6 -4
- package/dist/esm/models/components/linkwebhookevent.js.map +1 -1
- package/dist/esm/models/components/partnerenrolledevent.d.ts +3 -3
- package/dist/esm/models/components/salecreatedevent.d.ts +20 -13
- package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/salecreatedevent.js +8 -4
- package/dist/esm/models/components/salecreatedevent.js.map +1 -1
- package/dist/esm/models/components/saleevent.d.ts +123 -112
- package/dist/esm/models/components/saleevent.d.ts.map +1 -1
- package/dist/esm/models/components/saleevent.js +57 -51
- package/dist/esm/models/components/saleevent.js.map +1 -1
- package/dist/esm/models/operations/bulkcreatelinks.d.ts +14 -14
- package/dist/esm/models/operations/bulkcreatelinks.d.ts.map +1 -1
- package/dist/esm/models/operations/bulkcreatelinks.js +4 -4
- package/dist/esm/models/operations/bulkcreatelinks.js.map +1 -1
- package/dist/esm/models/operations/bulkupdatelinks.d.ts +14 -14
- package/dist/esm/models/operations/bulkupdatelinks.d.ts.map +1 -1
- package/dist/esm/models/operations/bulkupdatelinks.js +4 -4
- package/dist/esm/models/operations/bulkupdatelinks.js.map +1 -1
- package/dist/esm/models/operations/createlink.d.ts +14 -14
- package/dist/esm/models/operations/createlink.d.ts.map +1 -1
- package/dist/esm/models/operations/createlink.js +4 -4
- package/dist/esm/models/operations/createlink.js.map +1 -1
- package/dist/esm/models/operations/createpartner.d.ts +3 -3
- package/dist/esm/models/operations/getlinks.d.ts +1 -1
- package/dist/esm/models/operations/getlinkscount.d.ts +1 -1
- package/dist/esm/models/operations/listevents.d.ts +18 -13
- package/dist/esm/models/operations/listevents.d.ts.map +1 -1
- package/dist/esm/models/operations/listevents.js +7 -5
- package/dist/esm/models/operations/listevents.js.map +1 -1
- package/dist/esm/models/operations/listpartners.d.ts +3 -3
- package/dist/esm/models/operations/retrieveanalytics.d.ts +18 -13
- package/dist/esm/models/operations/retrieveanalytics.d.ts.map +1 -1
- package/dist/esm/models/operations/retrieveanalytics.js +7 -5
- package/dist/esm/models/operations/retrieveanalytics.js.map +1 -1
- package/dist/esm/models/operations/retrievelinks.d.ts +3 -3
- package/dist/esm/models/operations/updatelink.d.ts +14 -14
- package/dist/esm/models/operations/updatelink.d.ts.map +1 -1
- package/dist/esm/models/operations/updatelink.js +4 -4
- package/dist/esm/models/operations/updatelink.js.map +1 -1
- package/dist/esm/models/operations/upsertlink.d.ts +14 -14
- package/dist/esm/models/operations/upsertlink.d.ts.map +1 -1
- package/dist/esm/models/operations/upsertlink.js +4 -4
- package/dist/esm/models/operations/upsertlink.js.map +1 -1
- package/docs/sdks/analytics/README.md +1 -0
- package/docs/sdks/commissions/README.md +2 -0
- package/docs/sdks/customers/README.md +5 -0
- package/docs/sdks/domains/README.md +6 -0
- package/docs/sdks/dub/README.md +1 -1
- package/docs/sdks/embedtokens/README.md +1 -0
- package/docs/sdks/events/README.md +1 -0
- package/docs/sdks/folders/README.md +4 -0
- package/docs/sdks/links/README.md +10 -0
- package/docs/sdks/partners/README.md +6 -0
- package/docs/sdks/qrcodes/README.md +1 -0
- package/docs/sdks/tags/README.md +4 -0
- package/docs/sdks/track/README.md +2 -0
- package/docs/sdks/workspaces/README.md +2 -0
- package/examples/package-lock.json +6 -5
- package/jsr.json +1 -1
- package/package.json +6 -6
- package/src/funcs/analyticsRetrieve.ts +1 -0
- package/src/funcs/eventsList.ts +1 -0
- 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/clickevent.ts +41 -30
- package/src/models/components/leadcreatedevent.ts +28 -17
- package/src/models/components/leadevent.ts +45 -30
- package/src/models/components/linkclickedevent.ts +28 -17
- package/src/models/components/linkschema.ts +26 -19
- package/src/models/components/linkwebhookevent.ts +24 -17
- package/src/models/components/partnerenrolledevent.ts +3 -3
- package/src/models/components/salecreatedevent.ts +28 -17
- package/src/models/components/saleevent.ts +156 -139
- package/src/models/operations/bulkcreatelinks.ts +18 -18
- package/src/models/operations/bulkupdatelinks.ts +18 -18
- package/src/models/operations/createlink.ts +18 -18
- package/src/models/operations/createpartner.ts +3 -3
- package/src/models/operations/getlinks.ts +1 -1
- package/src/models/operations/getlinkscount.ts +1 -1
- package/src/models/operations/listevents.ts +24 -17
- package/src/models/operations/listpartners.ts +3 -3
- package/src/models/operations/retrieveanalytics.ts +24 -17
- package/src/models/operations/retrievelinks.ts +3 -3
- package/src/models/operations/updatelink.ts +18 -18
- package/src/models/operations/upsertlink.ts +18 -18
package/bin/mcp-server.js
CHANGED
|
@@ -34196,9 +34196,9 @@ var init_config = __esm(() => {
|
|
|
34196
34196
|
SDK_METADATA = {
|
|
34197
34197
|
language: "typescript",
|
|
34198
34198
|
openapiDocVersion: "0.0.1",
|
|
34199
|
-
sdkVersion: "0.64.
|
|
34200
|
-
genVersion: "2.
|
|
34201
|
-
userAgent: "speakeasy-sdk/typescript 0.64.
|
|
34199
|
+
sdkVersion: "0.64.3",
|
|
34200
|
+
genVersion: "2.672.0",
|
|
34201
|
+
userAgent: "speakeasy-sdk/typescript 0.64.3 2.672.0 0.0.1 dub"
|
|
34202
34202
|
};
|
|
34203
34203
|
});
|
|
34204
34204
|
|
|
@@ -36745,6 +36745,7 @@ var init_clickevent = __esm(() => {
|
|
|
36745
36745
|
device: stringType(),
|
|
36746
36746
|
browser: stringType(),
|
|
36747
36747
|
os: stringType(),
|
|
36748
|
+
trigger: nullableType(stringType()).optional(),
|
|
36748
36749
|
referer: stringType(),
|
|
36749
36750
|
refererUrl: stringType(),
|
|
36750
36751
|
qr: booleanType(),
|
|
@@ -36761,6 +36762,7 @@ var init_clickevent = __esm(() => {
|
|
|
36761
36762
|
device: stringType(),
|
|
36762
36763
|
browser: stringType(),
|
|
36763
36764
|
os: stringType(),
|
|
36765
|
+
trigger: nullableType(stringType()).optional(),
|
|
36764
36766
|
referer: stringType(),
|
|
36765
36767
|
refererUrl: stringType(),
|
|
36766
36768
|
qr: booleanType(),
|
|
@@ -37821,7 +37823,6 @@ var init_clickevent = __esm(() => {
|
|
|
37821
37823
|
android: nullableType(stringType()),
|
|
37822
37824
|
geo: nullableType(lazyType(() => ClickEventGeo$inboundSchema)),
|
|
37823
37825
|
publicStats: booleanType(),
|
|
37824
|
-
tagId: nullableType(stringType()),
|
|
37825
37826
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
37826
37827
|
folderId: nullableType(stringType()),
|
|
37827
37828
|
webhookIds: arrayType(stringType()),
|
|
@@ -37839,12 +37840,14 @@ var init_clickevent = __esm(() => {
|
|
|
37839
37840
|
userId: nullableType(stringType()),
|
|
37840
37841
|
workspaceId: stringType(),
|
|
37841
37842
|
clicks: numberType().default(0),
|
|
37842
|
-
lastClicked: stringType(),
|
|
37843
37843
|
leads: numberType().default(0),
|
|
37844
|
+
conversions: numberType().default(0),
|
|
37844
37845
|
sales: numberType().default(0),
|
|
37845
37846
|
saleAmount: numberType().default(0),
|
|
37847
|
+
lastClicked: stringType(),
|
|
37846
37848
|
createdAt: stringType(),
|
|
37847
37849
|
updatedAt: stringType(),
|
|
37850
|
+
tagId: nullableType(stringType()),
|
|
37848
37851
|
projectId: stringType()
|
|
37849
37852
|
}).transform((v2) => {
|
|
37850
37853
|
return remap(v2, {
|
|
@@ -37880,7 +37883,6 @@ var init_clickevent = __esm(() => {
|
|
|
37880
37883
|
android: nullableType(stringType()),
|
|
37881
37884
|
geo: nullableType(lazyType(() => ClickEventGeo$outboundSchema)),
|
|
37882
37885
|
publicStats: booleanType(),
|
|
37883
|
-
tagId: nullableType(stringType()),
|
|
37884
37886
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
37885
37887
|
folderId: nullableType(stringType()),
|
|
37886
37888
|
webhookIds: arrayType(stringType()),
|
|
@@ -37898,12 +37900,14 @@ var init_clickevent = __esm(() => {
|
|
|
37898
37900
|
userId: nullableType(stringType()),
|
|
37899
37901
|
workspaceId: stringType(),
|
|
37900
37902
|
clicks: numberType().default(0),
|
|
37901
|
-
lastClicked: stringType(),
|
|
37902
37903
|
leads: numberType().default(0),
|
|
37904
|
+
conversions: numberType().default(0),
|
|
37903
37905
|
sales: numberType().default(0),
|
|
37904
37906
|
saleAmount: numberType().default(0),
|
|
37907
|
+
lastClicked: stringType(),
|
|
37905
37908
|
createdAt: stringType(),
|
|
37906
37909
|
updatedAt: stringType(),
|
|
37910
|
+
tagId: nullableType(stringType()),
|
|
37907
37911
|
projectId: stringType()
|
|
37908
37912
|
}).transform((v2) => {
|
|
37909
37913
|
return remap(v2, {
|
|
@@ -38551,6 +38555,7 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
38551
38555
|
device: stringType(),
|
|
38552
38556
|
browser: stringType(),
|
|
38553
38557
|
os: stringType(),
|
|
38558
|
+
trigger: nullableType(stringType()).optional(),
|
|
38554
38559
|
referer: stringType(),
|
|
38555
38560
|
refererUrl: stringType(),
|
|
38556
38561
|
qr: booleanType(),
|
|
@@ -38567,6 +38572,7 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
38567
38572
|
device: stringType(),
|
|
38568
38573
|
browser: stringType(),
|
|
38569
38574
|
os: stringType(),
|
|
38575
|
+
trigger: nullableType(stringType()).optional(),
|
|
38570
38576
|
referer: stringType(),
|
|
38571
38577
|
refererUrl: stringType(),
|
|
38572
38578
|
qr: booleanType(),
|
|
@@ -39627,7 +39633,6 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39627
39633
|
android: nullableType(stringType()),
|
|
39628
39634
|
geo: nullableType(lazyType(() => LeadCreatedEventGeo$inboundSchema)),
|
|
39629
39635
|
publicStats: booleanType(),
|
|
39630
|
-
tagId: nullableType(stringType()),
|
|
39631
39636
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
39632
39637
|
folderId: nullableType(stringType()),
|
|
39633
39638
|
webhookIds: arrayType(stringType()),
|
|
@@ -39645,12 +39650,14 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39645
39650
|
userId: nullableType(stringType()),
|
|
39646
39651
|
workspaceId: stringType(),
|
|
39647
39652
|
clicks: numberType().default(0),
|
|
39648
|
-
lastClicked: stringType(),
|
|
39649
39653
|
leads: numberType().default(0),
|
|
39654
|
+
conversions: numberType().default(0),
|
|
39650
39655
|
sales: numberType().default(0),
|
|
39651
39656
|
saleAmount: numberType().default(0),
|
|
39657
|
+
lastClicked: stringType(),
|
|
39652
39658
|
createdAt: stringType(),
|
|
39653
39659
|
updatedAt: stringType(),
|
|
39660
|
+
tagId: nullableType(stringType()),
|
|
39654
39661
|
projectId: stringType()
|
|
39655
39662
|
}).transform((v2) => {
|
|
39656
39663
|
return remap(v2, {
|
|
@@ -39686,7 +39693,6 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39686
39693
|
android: nullableType(stringType()),
|
|
39687
39694
|
geo: nullableType(lazyType(() => LeadCreatedEventGeo$outboundSchema)),
|
|
39688
39695
|
publicStats: booleanType(),
|
|
39689
|
-
tagId: nullableType(stringType()),
|
|
39690
39696
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
39691
39697
|
folderId: nullableType(stringType()),
|
|
39692
39698
|
webhookIds: arrayType(stringType()),
|
|
@@ -39704,12 +39710,14 @@ var init_leadcreatedevent = __esm(() => {
|
|
|
39704
39710
|
userId: nullableType(stringType()),
|
|
39705
39711
|
workspaceId: stringType(),
|
|
39706
39712
|
clicks: numberType().default(0),
|
|
39707
|
-
lastClicked: stringType(),
|
|
39708
39713
|
leads: numberType().default(0),
|
|
39714
|
+
conversions: numberType().default(0),
|
|
39709
39715
|
sales: numberType().default(0),
|
|
39710
39716
|
saleAmount: numberType().default(0),
|
|
39717
|
+
lastClicked: stringType(),
|
|
39711
39718
|
createdAt: stringType(),
|
|
39712
39719
|
updatedAt: stringType(),
|
|
39720
|
+
tagId: nullableType(stringType()),
|
|
39713
39721
|
projectId: stringType()
|
|
39714
39722
|
}).transform((v2) => {
|
|
39715
39723
|
return remap(v2, {
|
|
@@ -39784,6 +39792,7 @@ var init_leadevent = __esm(() => {
|
|
|
39784
39792
|
device: stringType(),
|
|
39785
39793
|
browser: stringType(),
|
|
39786
39794
|
os: stringType(),
|
|
39795
|
+
trigger: nullableType(stringType()).optional(),
|
|
39787
39796
|
referer: stringType(),
|
|
39788
39797
|
refererUrl: stringType(),
|
|
39789
39798
|
qr: booleanType(),
|
|
@@ -39800,6 +39809,7 @@ var init_leadevent = __esm(() => {
|
|
|
39800
39809
|
device: stringType(),
|
|
39801
39810
|
browser: stringType(),
|
|
39802
39811
|
os: stringType(),
|
|
39812
|
+
trigger: nullableType(stringType()).optional(),
|
|
39803
39813
|
referer: stringType(),
|
|
39804
39814
|
refererUrl: stringType(),
|
|
39805
39815
|
qr: booleanType(),
|
|
@@ -40860,7 +40870,6 @@ var init_leadevent = __esm(() => {
|
|
|
40860
40870
|
android: nullableType(stringType()),
|
|
40861
40871
|
geo: nullableType(lazyType(() => LeadEventGeo$inboundSchema)),
|
|
40862
40872
|
publicStats: booleanType(),
|
|
40863
|
-
tagId: nullableType(stringType()),
|
|
40864
40873
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
40865
40874
|
folderId: nullableType(stringType()),
|
|
40866
40875
|
webhookIds: arrayType(stringType()),
|
|
@@ -40878,12 +40887,14 @@ var init_leadevent = __esm(() => {
|
|
|
40878
40887
|
userId: nullableType(stringType()),
|
|
40879
40888
|
workspaceId: stringType(),
|
|
40880
40889
|
clicks: numberType().default(0),
|
|
40881
|
-
lastClicked: stringType(),
|
|
40882
40890
|
leads: numberType().default(0),
|
|
40891
|
+
conversions: numberType().default(0),
|
|
40883
40892
|
sales: numberType().default(0),
|
|
40884
40893
|
saleAmount: numberType().default(0),
|
|
40894
|
+
lastClicked: stringType(),
|
|
40885
40895
|
createdAt: stringType(),
|
|
40886
40896
|
updatedAt: stringType(),
|
|
40897
|
+
tagId: nullableType(stringType()),
|
|
40887
40898
|
projectId: stringType()
|
|
40888
40899
|
}).transform((v2) => {
|
|
40889
40900
|
return remap(v2, {
|
|
@@ -40919,7 +40930,6 @@ var init_leadevent = __esm(() => {
|
|
|
40919
40930
|
android: nullableType(stringType()),
|
|
40920
40931
|
geo: nullableType(lazyType(() => LeadEventGeo$outboundSchema)),
|
|
40921
40932
|
publicStats: booleanType(),
|
|
40922
|
-
tagId: nullableType(stringType()),
|
|
40923
40933
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
40924
40934
|
folderId: nullableType(stringType()),
|
|
40925
40935
|
webhookIds: arrayType(stringType()),
|
|
@@ -40937,12 +40947,14 @@ var init_leadevent = __esm(() => {
|
|
|
40937
40947
|
userId: nullableType(stringType()),
|
|
40938
40948
|
workspaceId: stringType(),
|
|
40939
40949
|
clicks: numberType().default(0),
|
|
40940
|
-
lastClicked: stringType(),
|
|
40941
40950
|
leads: numberType().default(0),
|
|
40951
|
+
conversions: numberType().default(0),
|
|
40942
40952
|
sales: numberType().default(0),
|
|
40943
40953
|
saleAmount: numberType().default(0),
|
|
40954
|
+
lastClicked: stringType(),
|
|
40944
40955
|
createdAt: stringType(),
|
|
40945
40956
|
updatedAt: stringType(),
|
|
40957
|
+
tagId: nullableType(stringType()),
|
|
40946
40958
|
projectId: stringType()
|
|
40947
40959
|
}).transform((v2) => {
|
|
40948
40960
|
return remap(v2, {
|
|
@@ -40988,6 +41000,7 @@ var init_leadevent = __esm(() => {
|
|
|
40988
41000
|
timestamp: stringType(),
|
|
40989
41001
|
eventId: stringType(),
|
|
40990
41002
|
eventName: stringType(),
|
|
41003
|
+
metadata: nullableType(anyType()).optional(),
|
|
40991
41004
|
click: lazyType(() => LeadEventClick$inboundSchema),
|
|
40992
41005
|
link: lazyType(() => LeadEventLink$inboundSchema),
|
|
40993
41006
|
customer: lazyType(() => Customer$inboundSchema),
|
|
@@ -41015,6 +41028,7 @@ var init_leadevent = __esm(() => {
|
|
|
41015
41028
|
timestamp: stringType(),
|
|
41016
41029
|
eventId: stringType(),
|
|
41017
41030
|
eventName: stringType(),
|
|
41031
|
+
metadata: nullableType(anyType()).optional(),
|
|
41018
41032
|
click: lazyType(() => LeadEventClick$outboundSchema),
|
|
41019
41033
|
link: lazyType(() => LeadEventLink$outboundSchema),
|
|
41020
41034
|
customer: lazyType(() => Customer$outboundSchema),
|
|
@@ -41069,6 +41083,7 @@ var init_linkclickedevent = __esm(() => {
|
|
|
41069
41083
|
device: stringType(),
|
|
41070
41084
|
browser: stringType(),
|
|
41071
41085
|
os: stringType(),
|
|
41086
|
+
trigger: nullableType(stringType()).optional(),
|
|
41072
41087
|
referer: stringType(),
|
|
41073
41088
|
refererUrl: stringType(),
|
|
41074
41089
|
qr: booleanType(),
|
|
@@ -41085,6 +41100,7 @@ var init_linkclickedevent = __esm(() => {
|
|
|
41085
41100
|
device: stringType(),
|
|
41086
41101
|
browser: stringType(),
|
|
41087
41102
|
os: stringType(),
|
|
41103
|
+
trigger: nullableType(stringType()).optional(),
|
|
41088
41104
|
referer: stringType(),
|
|
41089
41105
|
refererUrl: stringType(),
|
|
41090
41106
|
qr: booleanType(),
|
|
@@ -42145,7 +42161,6 @@ var init_linkclickedevent = __esm(() => {
|
|
|
42145
42161
|
android: nullableType(stringType()),
|
|
42146
42162
|
geo: nullableType(lazyType(() => LinkClickedEventGeo$inboundSchema)),
|
|
42147
42163
|
publicStats: booleanType(),
|
|
42148
|
-
tagId: nullableType(stringType()),
|
|
42149
42164
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
42150
42165
|
folderId: nullableType(stringType()),
|
|
42151
42166
|
webhookIds: arrayType(stringType()),
|
|
@@ -42163,12 +42178,14 @@ var init_linkclickedevent = __esm(() => {
|
|
|
42163
42178
|
userId: nullableType(stringType()),
|
|
42164
42179
|
workspaceId: stringType(),
|
|
42165
42180
|
clicks: numberType().default(0),
|
|
42166
|
-
lastClicked: stringType(),
|
|
42167
42181
|
leads: numberType().default(0),
|
|
42182
|
+
conversions: numberType().default(0),
|
|
42168
42183
|
sales: numberType().default(0),
|
|
42169
42184
|
saleAmount: numberType().default(0),
|
|
42185
|
+
lastClicked: stringType(),
|
|
42170
42186
|
createdAt: stringType(),
|
|
42171
42187
|
updatedAt: stringType(),
|
|
42188
|
+
tagId: nullableType(stringType()),
|
|
42172
42189
|
projectId: stringType()
|
|
42173
42190
|
}).transform((v2) => {
|
|
42174
42191
|
return remap(v2, {
|
|
@@ -42204,7 +42221,6 @@ var init_linkclickedevent = __esm(() => {
|
|
|
42204
42221
|
android: nullableType(stringType()),
|
|
42205
42222
|
geo: nullableType(lazyType(() => LinkClickedEventGeo$outboundSchema)),
|
|
42206
42223
|
publicStats: booleanType(),
|
|
42207
|
-
tagId: nullableType(stringType()),
|
|
42208
42224
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
42209
42225
|
folderId: nullableType(stringType()),
|
|
42210
42226
|
webhookIds: arrayType(stringType()),
|
|
@@ -42222,12 +42238,14 @@ var init_linkclickedevent = __esm(() => {
|
|
|
42222
42238
|
userId: nullableType(stringType()),
|
|
42223
42239
|
workspaceId: stringType(),
|
|
42224
42240
|
clicks: numberType().default(0),
|
|
42225
|
-
lastClicked: stringType(),
|
|
42226
42241
|
leads: numberType().default(0),
|
|
42242
|
+
conversions: numberType().default(0),
|
|
42227
42243
|
sales: numberType().default(0),
|
|
42228
42244
|
saleAmount: numberType().default(0),
|
|
42245
|
+
lastClicked: stringType(),
|
|
42229
42246
|
createdAt: stringType(),
|
|
42230
42247
|
updatedAt: stringType(),
|
|
42248
|
+
tagId: nullableType(stringType()),
|
|
42231
42249
|
projectId: stringType()
|
|
42232
42250
|
}).transform((v2) => {
|
|
42233
42251
|
return remap(v2, {
|
|
@@ -44389,7 +44407,6 @@ var init_linkschema = __esm(() => {
|
|
|
44389
44407
|
android: nullableType(stringType()),
|
|
44390
44408
|
geo: nullableType(lazyType(() => Geo$inboundSchema)),
|
|
44391
44409
|
publicStats: booleanType().default(false),
|
|
44392
|
-
tagId: nullableType(stringType()),
|
|
44393
44410
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
44394
44411
|
folderId: nullableType(stringType()),
|
|
44395
44412
|
webhookIds: arrayType(stringType()),
|
|
@@ -44407,12 +44424,14 @@ var init_linkschema = __esm(() => {
|
|
|
44407
44424
|
userId: nullableType(stringType()),
|
|
44408
44425
|
workspaceId: stringType(),
|
|
44409
44426
|
clicks: numberType().default(0),
|
|
44410
|
-
lastClicked: nullableType(stringType()),
|
|
44411
44427
|
leads: numberType().default(0),
|
|
44428
|
+
conversions: numberType().default(0),
|
|
44412
44429
|
sales: numberType().default(0),
|
|
44413
44430
|
saleAmount: numberType().default(0),
|
|
44431
|
+
lastClicked: nullableType(stringType()),
|
|
44414
44432
|
createdAt: stringType(),
|
|
44415
44433
|
updatedAt: stringType(),
|
|
44434
|
+
tagId: nullableType(stringType()),
|
|
44416
44435
|
projectId: stringType()
|
|
44417
44436
|
}).transform((v2) => {
|
|
44418
44437
|
return remap(v2, {
|
|
@@ -44448,7 +44467,6 @@ var init_linkschema = __esm(() => {
|
|
|
44448
44467
|
android: nullableType(stringType()),
|
|
44449
44468
|
geo: nullableType(lazyType(() => Geo$outboundSchema)),
|
|
44450
44469
|
publicStats: booleanType().default(false),
|
|
44451
|
-
tagId: nullableType(stringType()),
|
|
44452
44470
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
44453
44471
|
folderId: nullableType(stringType()),
|
|
44454
44472
|
webhookIds: arrayType(stringType()),
|
|
@@ -44466,12 +44484,14 @@ var init_linkschema = __esm(() => {
|
|
|
44466
44484
|
userId: nullableType(stringType()),
|
|
44467
44485
|
workspaceId: stringType(),
|
|
44468
44486
|
clicks: numberType().default(0),
|
|
44469
|
-
lastClicked: nullableType(stringType()),
|
|
44470
44487
|
leads: numberType().default(0),
|
|
44488
|
+
conversions: numberType().default(0),
|
|
44471
44489
|
sales: numberType().default(0),
|
|
44472
44490
|
saleAmount: numberType().default(0),
|
|
44491
|
+
lastClicked: nullableType(stringType()),
|
|
44473
44492
|
createdAt: stringType(),
|
|
44474
44493
|
updatedAt: stringType(),
|
|
44494
|
+
tagId: nullableType(stringType()),
|
|
44475
44495
|
projectId: stringType()
|
|
44476
44496
|
}).transform((v2) => {
|
|
44477
44497
|
return remap(v2, {
|
|
@@ -45578,7 +45598,6 @@ var init_linkwebhookevent = __esm(() => {
|
|
|
45578
45598
|
android: nullableType(stringType()),
|
|
45579
45599
|
geo: nullableType(lazyType(() => LinkWebhookEventGeo$inboundSchema)),
|
|
45580
45600
|
publicStats: booleanType(),
|
|
45581
|
-
tagId: nullableType(stringType()),
|
|
45582
45601
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
45583
45602
|
folderId: nullableType(stringType()),
|
|
45584
45603
|
webhookIds: arrayType(stringType()),
|
|
@@ -45596,12 +45615,14 @@ var init_linkwebhookevent = __esm(() => {
|
|
|
45596
45615
|
userId: nullableType(stringType()),
|
|
45597
45616
|
workspaceId: stringType(),
|
|
45598
45617
|
clicks: numberType().default(0),
|
|
45599
|
-
lastClicked: stringType(),
|
|
45600
45618
|
leads: numberType().default(0),
|
|
45619
|
+
conversions: numberType().default(0),
|
|
45601
45620
|
sales: numberType().default(0),
|
|
45602
45621
|
saleAmount: numberType().default(0),
|
|
45622
|
+
lastClicked: stringType(),
|
|
45603
45623
|
createdAt: stringType(),
|
|
45604
45624
|
updatedAt: stringType(),
|
|
45625
|
+
tagId: nullableType(stringType()),
|
|
45605
45626
|
projectId: stringType()
|
|
45606
45627
|
}).transform((v2) => {
|
|
45607
45628
|
return remap(v2, {
|
|
@@ -45637,7 +45658,6 @@ var init_linkwebhookevent = __esm(() => {
|
|
|
45637
45658
|
android: nullableType(stringType()),
|
|
45638
45659
|
geo: nullableType(lazyType(() => LinkWebhookEventGeo$outboundSchema)),
|
|
45639
45660
|
publicStats: booleanType(),
|
|
45640
|
-
tagId: nullableType(stringType()),
|
|
45641
45661
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
45642
45662
|
folderId: nullableType(stringType()),
|
|
45643
45663
|
webhookIds: arrayType(stringType()),
|
|
@@ -45655,12 +45675,14 @@ var init_linkwebhookevent = __esm(() => {
|
|
|
45655
45675
|
userId: nullableType(stringType()),
|
|
45656
45676
|
workspaceId: stringType(),
|
|
45657
45677
|
clicks: numberType().default(0),
|
|
45658
|
-
lastClicked: stringType(),
|
|
45659
45678
|
leads: numberType().default(0),
|
|
45679
|
+
conversions: numberType().default(0),
|
|
45660
45680
|
sales: numberType().default(0),
|
|
45661
45681
|
saleAmount: numberType().default(0),
|
|
45682
|
+
lastClicked: stringType(),
|
|
45662
45683
|
createdAt: stringType(),
|
|
45663
45684
|
updatedAt: stringType(),
|
|
45685
|
+
tagId: nullableType(stringType()),
|
|
45664
45686
|
projectId: stringType()
|
|
45665
45687
|
}).transform((v2) => {
|
|
45666
45688
|
return remap(v2, {
|
|
@@ -46021,6 +46043,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
46021
46043
|
device: stringType(),
|
|
46022
46044
|
browser: stringType(),
|
|
46023
46045
|
os: stringType(),
|
|
46046
|
+
trigger: nullableType(stringType()).optional(),
|
|
46024
46047
|
referer: stringType(),
|
|
46025
46048
|
refererUrl: stringType(),
|
|
46026
46049
|
qr: booleanType(),
|
|
@@ -46037,6 +46060,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
46037
46060
|
device: stringType(),
|
|
46038
46061
|
browser: stringType(),
|
|
46039
46062
|
os: stringType(),
|
|
46063
|
+
trigger: nullableType(stringType()).optional(),
|
|
46040
46064
|
referer: stringType(),
|
|
46041
46065
|
refererUrl: stringType(),
|
|
46042
46066
|
qr: booleanType(),
|
|
@@ -47097,7 +47121,6 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47097
47121
|
android: nullableType(stringType()),
|
|
47098
47122
|
geo: nullableType(lazyType(() => SaleCreatedEventGeo$inboundSchema)),
|
|
47099
47123
|
publicStats: booleanType(),
|
|
47100
|
-
tagId: nullableType(stringType()),
|
|
47101
47124
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
47102
47125
|
folderId: nullableType(stringType()),
|
|
47103
47126
|
webhookIds: arrayType(stringType()),
|
|
@@ -47115,12 +47138,14 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47115
47138
|
userId: nullableType(stringType()),
|
|
47116
47139
|
workspaceId: stringType(),
|
|
47117
47140
|
clicks: numberType().default(0),
|
|
47118
|
-
lastClicked: stringType(),
|
|
47119
47141
|
leads: numberType().default(0),
|
|
47142
|
+
conversions: numberType().default(0),
|
|
47120
47143
|
sales: numberType().default(0),
|
|
47121
47144
|
saleAmount: numberType().default(0),
|
|
47145
|
+
lastClicked: stringType(),
|
|
47122
47146
|
createdAt: stringType(),
|
|
47123
47147
|
updatedAt: stringType(),
|
|
47148
|
+
tagId: nullableType(stringType()),
|
|
47124
47149
|
projectId: stringType()
|
|
47125
47150
|
}).transform((v2) => {
|
|
47126
47151
|
return remap(v2, {
|
|
@@ -47156,7 +47181,6 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47156
47181
|
android: nullableType(stringType()),
|
|
47157
47182
|
geo: nullableType(lazyType(() => SaleCreatedEventGeo$outboundSchema)),
|
|
47158
47183
|
publicStats: booleanType(),
|
|
47159
|
-
tagId: nullableType(stringType()),
|
|
47160
47184
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
47161
47185
|
folderId: nullableType(stringType()),
|
|
47162
47186
|
webhookIds: arrayType(stringType()),
|
|
@@ -47174,12 +47198,14 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47174
47198
|
userId: nullableType(stringType()),
|
|
47175
47199
|
workspaceId: stringType(),
|
|
47176
47200
|
clicks: numberType().default(0),
|
|
47177
|
-
lastClicked: stringType(),
|
|
47178
47201
|
leads: numberType().default(0),
|
|
47202
|
+
conversions: numberType().default(0),
|
|
47179
47203
|
sales: numberType().default(0),
|
|
47180
47204
|
saleAmount: numberType().default(0),
|
|
47205
|
+
lastClicked: stringType(),
|
|
47181
47206
|
createdAt: stringType(),
|
|
47182
47207
|
updatedAt: stringType(),
|
|
47208
|
+
tagId: nullableType(stringType()),
|
|
47183
47209
|
projectId: stringType()
|
|
47184
47210
|
}).transform((v2) => {
|
|
47185
47211
|
return remap(v2, {
|
|
@@ -47247,7 +47273,7 @@ var init_salecreatedevent = __esm(() => {
|
|
|
47247
47273
|
});
|
|
47248
47274
|
|
|
47249
47275
|
// src/models/components/saleevent.ts
|
|
47250
|
-
var SaleEventEvent, PaymentProcessor, SaleEventEvent$inboundSchema, SaleEventEvent$outboundSchema, SaleEventEvent$,
|
|
47276
|
+
var SaleEventEvent, PaymentProcessor, SaleEventEvent$inboundSchema, SaleEventEvent$outboundSchema, SaleEventEvent$, PaymentProcessor$inboundSchema, PaymentProcessor$outboundSchema, PaymentProcessor$, Sale$inboundSchema, Sale$outboundSchema, Sale$, SaleEventGeo$inboundSchema, SaleEventGeo$outboundSchema, SaleEventGeo$, SaleEventTestVariants$inboundSchema, SaleEventTestVariants$outboundSchema, SaleEventTestVariants$, SaleEventLink$inboundSchema, SaleEventLink$outboundSchema, SaleEventLink$, SaleEventClick$inboundSchema, SaleEventClick$outboundSchema, SaleEventClick$, SaleEventCustomer$inboundSchema, SaleEventCustomer$outboundSchema, SaleEventCustomer$, SaleEvent$inboundSchema, SaleEvent$outboundSchema, SaleEvent$;
|
|
47251
47277
|
var init_saleevent = __esm(() => {
|
|
47252
47278
|
init_esm();
|
|
47253
47279
|
init_primitives();
|
|
@@ -47269,6 +47295,26 @@ var init_saleevent = __esm(() => {
|
|
|
47269
47295
|
SaleEventEvent$.inboundSchema = SaleEventEvent$inboundSchema;
|
|
47270
47296
|
SaleEventEvent$.outboundSchema = SaleEventEvent$outboundSchema;
|
|
47271
47297
|
})(SaleEventEvent$ ||= {});
|
|
47298
|
+
PaymentProcessor$inboundSchema = nativeEnumType(PaymentProcessor);
|
|
47299
|
+
PaymentProcessor$outboundSchema = PaymentProcessor$inboundSchema;
|
|
47300
|
+
((PaymentProcessor$) => {
|
|
47301
|
+
PaymentProcessor$.inboundSchema = PaymentProcessor$inboundSchema;
|
|
47302
|
+
PaymentProcessor$.outboundSchema = PaymentProcessor$outboundSchema;
|
|
47303
|
+
})(PaymentProcessor$ ||= {});
|
|
47304
|
+
Sale$inboundSchema = objectType({
|
|
47305
|
+
amount: numberType().int(),
|
|
47306
|
+
invoiceId: nullableType(stringType()).default(null),
|
|
47307
|
+
paymentProcessor: PaymentProcessor$inboundSchema
|
|
47308
|
+
});
|
|
47309
|
+
Sale$outboundSchema = objectType({
|
|
47310
|
+
amount: numberType().int(),
|
|
47311
|
+
invoiceId: nullableType(stringType()).default(null),
|
|
47312
|
+
paymentProcessor: PaymentProcessor$outboundSchema
|
|
47313
|
+
});
|
|
47314
|
+
((Sale$) => {
|
|
47315
|
+
Sale$.inboundSchema = Sale$inboundSchema;
|
|
47316
|
+
Sale$.outboundSchema = Sale$outboundSchema;
|
|
47317
|
+
})(Sale$ ||= {});
|
|
47272
47318
|
SaleEventGeo$inboundSchema = objectType({
|
|
47273
47319
|
AF: stringType().optional(),
|
|
47274
47320
|
AL: stringType().optional(),
|
|
@@ -48320,7 +48366,6 @@ var init_saleevent = __esm(() => {
|
|
|
48320
48366
|
android: nullableType(stringType()),
|
|
48321
48367
|
geo: nullableType(lazyType(() => SaleEventGeo$inboundSchema)),
|
|
48322
48368
|
publicStats: booleanType(),
|
|
48323
|
-
tagId: nullableType(stringType()),
|
|
48324
48369
|
tags: nullableType(arrayType(TagSchema$inboundSchema)),
|
|
48325
48370
|
folderId: nullableType(stringType()),
|
|
48326
48371
|
webhookIds: arrayType(stringType()),
|
|
@@ -48338,12 +48383,14 @@ var init_saleevent = __esm(() => {
|
|
|
48338
48383
|
userId: nullableType(stringType()),
|
|
48339
48384
|
workspaceId: stringType(),
|
|
48340
48385
|
clicks: numberType().default(0),
|
|
48341
|
-
lastClicked: stringType(),
|
|
48342
48386
|
leads: numberType().default(0),
|
|
48387
|
+
conversions: numberType().default(0),
|
|
48343
48388
|
sales: numberType().default(0),
|
|
48344
48389
|
saleAmount: numberType().default(0),
|
|
48390
|
+
lastClicked: stringType(),
|
|
48345
48391
|
createdAt: stringType(),
|
|
48346
48392
|
updatedAt: stringType(),
|
|
48393
|
+
tagId: nullableType(stringType()),
|
|
48347
48394
|
projectId: stringType()
|
|
48348
48395
|
}).transform((v2) => {
|
|
48349
48396
|
return remap(v2, {
|
|
@@ -48379,7 +48426,6 @@ var init_saleevent = __esm(() => {
|
|
|
48379
48426
|
android: nullableType(stringType()),
|
|
48380
48427
|
geo: nullableType(lazyType(() => SaleEventGeo$outboundSchema)),
|
|
48381
48428
|
publicStats: booleanType(),
|
|
48382
|
-
tagId: nullableType(stringType()),
|
|
48383
48429
|
tags: nullableType(arrayType(TagSchema$outboundSchema)),
|
|
48384
48430
|
folderId: nullableType(stringType()),
|
|
48385
48431
|
webhookIds: arrayType(stringType()),
|
|
@@ -48397,12 +48443,14 @@ var init_saleevent = __esm(() => {
|
|
|
48397
48443
|
userId: nullableType(stringType()),
|
|
48398
48444
|
workspaceId: stringType(),
|
|
48399
48445
|
clicks: numberType().default(0),
|
|
48400
|
-
lastClicked: stringType(),
|
|
48401
48446
|
leads: numberType().default(0),
|
|
48447
|
+
conversions: numberType().default(0),
|
|
48402
48448
|
sales: numberType().default(0),
|
|
48403
48449
|
saleAmount: numberType().default(0),
|
|
48450
|
+
lastClicked: stringType(),
|
|
48404
48451
|
createdAt: stringType(),
|
|
48405
48452
|
updatedAt: stringType(),
|
|
48453
|
+
tagId: nullableType(stringType()),
|
|
48406
48454
|
projectId: stringType()
|
|
48407
48455
|
}).transform((v2) => {
|
|
48408
48456
|
return remap(v2, {
|
|
@@ -48428,6 +48476,7 @@ var init_saleevent = __esm(() => {
|
|
|
48428
48476
|
device: stringType(),
|
|
48429
48477
|
browser: stringType(),
|
|
48430
48478
|
os: stringType(),
|
|
48479
|
+
trigger: nullableType(stringType()).optional(),
|
|
48431
48480
|
referer: stringType(),
|
|
48432
48481
|
refererUrl: stringType(),
|
|
48433
48482
|
qr: booleanType(),
|
|
@@ -48444,6 +48493,7 @@ var init_saleevent = __esm(() => {
|
|
|
48444
48493
|
device: stringType(),
|
|
48445
48494
|
browser: stringType(),
|
|
48446
48495
|
os: stringType(),
|
|
48496
|
+
trigger: nullableType(stringType()).optional(),
|
|
48447
48497
|
referer: stringType(),
|
|
48448
48498
|
refererUrl: stringType(),
|
|
48449
48499
|
qr: booleanType(),
|
|
@@ -48479,35 +48529,16 @@ var init_saleevent = __esm(() => {
|
|
|
48479
48529
|
SaleEventCustomer$.inboundSchema = SaleEventCustomer$inboundSchema;
|
|
48480
48530
|
SaleEventCustomer$.outboundSchema = SaleEventCustomer$outboundSchema;
|
|
48481
48531
|
})(SaleEventCustomer$ ||= {});
|
|
48482
|
-
PaymentProcessor$inboundSchema = nativeEnumType(PaymentProcessor);
|
|
48483
|
-
PaymentProcessor$outboundSchema = PaymentProcessor$inboundSchema;
|
|
48484
|
-
((PaymentProcessor$) => {
|
|
48485
|
-
PaymentProcessor$.inboundSchema = PaymentProcessor$inboundSchema;
|
|
48486
|
-
PaymentProcessor$.outboundSchema = PaymentProcessor$outboundSchema;
|
|
48487
|
-
})(PaymentProcessor$ ||= {});
|
|
48488
|
-
Sale$inboundSchema = objectType({
|
|
48489
|
-
amount: numberType().int(),
|
|
48490
|
-
invoiceId: nullableType(stringType()).default(null),
|
|
48491
|
-
paymentProcessor: PaymentProcessor$inboundSchema
|
|
48492
|
-
});
|
|
48493
|
-
Sale$outboundSchema = objectType({
|
|
48494
|
-
amount: numberType().int(),
|
|
48495
|
-
invoiceId: nullableType(stringType()).default(null),
|
|
48496
|
-
paymentProcessor: PaymentProcessor$outboundSchema
|
|
48497
|
-
});
|
|
48498
|
-
((Sale$) => {
|
|
48499
|
-
Sale$.inboundSchema = Sale$inboundSchema;
|
|
48500
|
-
Sale$.outboundSchema = Sale$outboundSchema;
|
|
48501
|
-
})(Sale$ ||= {});
|
|
48502
48532
|
SaleEvent$inboundSchema = objectType({
|
|
48503
48533
|
event: SaleEventEvent$inboundSchema,
|
|
48504
48534
|
timestamp: stringType(),
|
|
48505
48535
|
eventId: stringType(),
|
|
48506
48536
|
eventName: stringType(),
|
|
48537
|
+
sale: lazyType(() => Sale$inboundSchema),
|
|
48538
|
+
metadata: nullableType(anyType()).optional(),
|
|
48507
48539
|
link: lazyType(() => SaleEventLink$inboundSchema),
|
|
48508
48540
|
click: lazyType(() => SaleEventClick$inboundSchema),
|
|
48509
48541
|
customer: lazyType(() => SaleEventCustomer$inboundSchema),
|
|
48510
|
-
sale: lazyType(() => Sale$inboundSchema),
|
|
48511
48542
|
saleAmount: numberType(),
|
|
48512
48543
|
invoice_id: stringType(),
|
|
48513
48544
|
payment_processor: stringType(),
|
|
@@ -48537,10 +48568,11 @@ var init_saleevent = __esm(() => {
|
|
|
48537
48568
|
timestamp: stringType(),
|
|
48538
48569
|
eventId: stringType(),
|
|
48539
48570
|
eventName: stringType(),
|
|
48571
|
+
sale: lazyType(() => Sale$outboundSchema),
|
|
48572
|
+
metadata: nullableType(anyType()).optional(),
|
|
48540
48573
|
link: lazyType(() => SaleEventLink$outboundSchema),
|
|
48541
48574
|
click: lazyType(() => SaleEventClick$outboundSchema),
|
|
48542
48575
|
customer: lazyType(() => SaleEventCustomer$outboundSchema),
|
|
48543
|
-
sale: lazyType(() => Sale$outboundSchema),
|
|
48544
48576
|
saleAmount: numberType(),
|
|
48545
48577
|
invoiceId: stringType(),
|
|
48546
48578
|
paymentProcessor: stringType(),
|
|
@@ -48836,8 +48868,6 @@ var init_bulkcreatelinks = __esm(() => {
|
|
|
48836
48868
|
prefix: stringType().optional(),
|
|
48837
48869
|
trackConversion: booleanType().optional(),
|
|
48838
48870
|
archived: booleanType().optional(),
|
|
48839
|
-
publicStats: booleanType().optional(),
|
|
48840
|
-
tagId: nullableType(stringType()).optional(),
|
|
48841
48871
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
48842
48872
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
48843
48873
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -48864,7 +48894,9 @@ var init_bulkcreatelinks = __esm(() => {
|
|
|
48864
48894
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
48865
48895
|
testVariants: nullableType(arrayType(lazyType(() => BulkCreateLinksTestVariants$inboundSchema))).optional(),
|
|
48866
48896
|
testStartedAt: nullableType(stringType()).optional(),
|
|
48867
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
48897
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
48898
|
+
publicStats: booleanType().optional(),
|
|
48899
|
+
tagId: nullableType(stringType()).optional()
|
|
48868
48900
|
}).transform((v2) => {
|
|
48869
48901
|
return remap(v2, {
|
|
48870
48902
|
utm_source: "utmSource",
|
|
@@ -48886,8 +48918,6 @@ var init_bulkcreatelinks = __esm(() => {
|
|
|
48886
48918
|
prefix: stringType().optional(),
|
|
48887
48919
|
trackConversion: booleanType().optional(),
|
|
48888
48920
|
archived: booleanType().optional(),
|
|
48889
|
-
publicStats: booleanType().optional(),
|
|
48890
|
-
tagId: nullableType(stringType()).optional(),
|
|
48891
48921
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
48892
48922
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
48893
48923
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -48914,7 +48944,9 @@ var init_bulkcreatelinks = __esm(() => {
|
|
|
48914
48944
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
48915
48945
|
testVariants: nullableType(arrayType(lazyType(() => BulkCreateLinksTestVariants$outboundSchema))).optional(),
|
|
48916
48946
|
testStartedAt: nullableType(stringType()).optional(),
|
|
48917
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
48947
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
48948
|
+
publicStats: booleanType().optional(),
|
|
48949
|
+
tagId: nullableType(stringType()).optional()
|
|
48918
48950
|
}).transform((v2) => {
|
|
48919
48951
|
return remap(v2, {
|
|
48920
48952
|
utmSource: "utm_source",
|
|
@@ -49005,8 +49037,6 @@ var init_bulkupdatelinks = __esm(() => {
|
|
|
49005
49037
|
partnerId: nullableType(stringType()).optional(),
|
|
49006
49038
|
trackConversion: booleanType().optional(),
|
|
49007
49039
|
archived: booleanType().optional(),
|
|
49008
|
-
publicStats: booleanType().optional(),
|
|
49009
|
-
tagId: nullableType(stringType()).optional(),
|
|
49010
49040
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49011
49041
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49012
49042
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -49033,7 +49063,9 @@ var init_bulkupdatelinks = __esm(() => {
|
|
|
49033
49063
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
49034
49064
|
testVariants: nullableType(arrayType(lazyType(() => BulkUpdateLinksTestVariants$inboundSchema))).optional(),
|
|
49035
49065
|
testStartedAt: nullableType(stringType()).optional(),
|
|
49036
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
49066
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
49067
|
+
publicStats: booleanType().optional(),
|
|
49068
|
+
tagId: nullableType(stringType()).optional()
|
|
49037
49069
|
}).transform((v2) => {
|
|
49038
49070
|
return remap(v2, {
|
|
49039
49071
|
utm_source: "utmSource",
|
|
@@ -49050,8 +49082,6 @@ var init_bulkupdatelinks = __esm(() => {
|
|
|
49050
49082
|
partnerId: nullableType(stringType()).optional(),
|
|
49051
49083
|
trackConversion: booleanType().optional(),
|
|
49052
49084
|
archived: booleanType().optional(),
|
|
49053
|
-
publicStats: booleanType().optional(),
|
|
49054
|
-
tagId: nullableType(stringType()).optional(),
|
|
49055
49085
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49056
49086
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49057
49087
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -49078,7 +49108,9 @@ var init_bulkupdatelinks = __esm(() => {
|
|
|
49078
49108
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
49079
49109
|
testVariants: nullableType(arrayType(lazyType(() => BulkUpdateLinksTestVariants$outboundSchema))).optional(),
|
|
49080
49110
|
testStartedAt: nullableType(stringType()).optional(),
|
|
49081
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
49111
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
49112
|
+
publicStats: booleanType().optional(),
|
|
49113
|
+
tagId: nullableType(stringType()).optional()
|
|
49082
49114
|
}).transform((v2) => {
|
|
49083
49115
|
return remap(v2, {
|
|
49084
49116
|
utmSource: "utm_source",
|
|
@@ -49374,8 +49406,6 @@ var init_createlink = __esm(() => {
|
|
|
49374
49406
|
prefix: stringType().optional(),
|
|
49375
49407
|
trackConversion: booleanType().optional(),
|
|
49376
49408
|
archived: booleanType().optional(),
|
|
49377
|
-
publicStats: booleanType().optional(),
|
|
49378
|
-
tagId: nullableType(stringType()).optional(),
|
|
49379
49409
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49380
49410
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49381
49411
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -49402,7 +49432,9 @@ var init_createlink = __esm(() => {
|
|
|
49402
49432
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
49403
49433
|
testVariants: nullableType(arrayType(lazyType(() => TestVariants$inboundSchema2))).optional(),
|
|
49404
49434
|
testStartedAt: nullableType(stringType()).optional(),
|
|
49405
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
49435
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
49436
|
+
publicStats: booleanType().optional(),
|
|
49437
|
+
tagId: nullableType(stringType()).optional()
|
|
49406
49438
|
}).transform((v2) => {
|
|
49407
49439
|
return remap(v2, {
|
|
49408
49440
|
utm_source: "utmSource",
|
|
@@ -49424,8 +49456,6 @@ var init_createlink = __esm(() => {
|
|
|
49424
49456
|
prefix: stringType().optional(),
|
|
49425
49457
|
trackConversion: booleanType().optional(),
|
|
49426
49458
|
archived: booleanType().optional(),
|
|
49427
|
-
publicStats: booleanType().optional(),
|
|
49428
|
-
tagId: nullableType(stringType()).optional(),
|
|
49429
49459
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49430
49460
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
49431
49461
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -49452,7 +49482,9 @@ var init_createlink = __esm(() => {
|
|
|
49452
49482
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
49453
49483
|
testVariants: nullableType(arrayType(lazyType(() => TestVariants$outboundSchema2))).optional(),
|
|
49454
49484
|
testStartedAt: nullableType(stringType()).optional(),
|
|
49455
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
49485
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
49486
|
+
publicStats: booleanType().optional(),
|
|
49487
|
+
tagId: nullableType(stringType()).optional()
|
|
49456
49488
|
}).transform((v2) => {
|
|
49457
49489
|
return remap(v2, {
|
|
49458
49490
|
utmSource: "utm_source",
|
|
@@ -51746,12 +51778,13 @@ var init_listevents = __esm(() => {
|
|
|
51746
51778
|
referer: stringType().optional(),
|
|
51747
51779
|
refererUrl: stringType().optional(),
|
|
51748
51780
|
url: stringType().optional(),
|
|
51749
|
-
tagId: stringType().optional(),
|
|
51750
51781
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
51751
51782
|
folderId: stringType().optional(),
|
|
51752
|
-
qr: booleanType().optional(),
|
|
51753
51783
|
root: booleanType().optional(),
|
|
51754
51784
|
saleType: QueryParamSaleType$inboundSchema.optional(),
|
|
51785
|
+
query: stringType().optional(),
|
|
51786
|
+
tagId: stringType().optional(),
|
|
51787
|
+
qr: booleanType().optional(),
|
|
51755
51788
|
utm_source: nullableType(stringType()).optional(),
|
|
51756
51789
|
utm_medium: nullableType(stringType()).optional(),
|
|
51757
51790
|
utm_campaign: nullableType(stringType()).optional(),
|
|
@@ -51796,12 +51829,13 @@ var init_listevents = __esm(() => {
|
|
|
51796
51829
|
referer: stringType().optional(),
|
|
51797
51830
|
refererUrl: stringType().optional(),
|
|
51798
51831
|
url: stringType().optional(),
|
|
51799
|
-
tagId: stringType().optional(),
|
|
51800
51832
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
51801
51833
|
folderId: stringType().optional(),
|
|
51802
|
-
qr: booleanType().optional(),
|
|
51803
51834
|
root: booleanType().optional(),
|
|
51804
51835
|
saleType: QueryParamSaleType$outboundSchema.optional(),
|
|
51836
|
+
query: stringType().optional(),
|
|
51837
|
+
tagId: stringType().optional(),
|
|
51838
|
+
qr: booleanType().optional(),
|
|
51805
51839
|
utmSource: nullableType(stringType()).optional(),
|
|
51806
51840
|
utmMedium: nullableType(stringType()).optional(),
|
|
51807
51841
|
utmCampaign: nullableType(stringType()).optional(),
|
|
@@ -52242,12 +52276,13 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52242
52276
|
referer: stringType().optional(),
|
|
52243
52277
|
refererUrl: stringType().optional(),
|
|
52244
52278
|
url: stringType().optional(),
|
|
52245
|
-
tagId: stringType().optional(),
|
|
52246
52279
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
52247
52280
|
folderId: stringType().optional(),
|
|
52248
|
-
qr: booleanType().optional(),
|
|
52249
52281
|
root: booleanType().optional(),
|
|
52250
52282
|
saleType: SaleType$inboundSchema.optional(),
|
|
52283
|
+
query: stringType().optional(),
|
|
52284
|
+
tagId: stringType().optional(),
|
|
52285
|
+
qr: booleanType().optional(),
|
|
52251
52286
|
utm_source: nullableType(stringType()).optional(),
|
|
52252
52287
|
utm_medium: nullableType(stringType()).optional(),
|
|
52253
52288
|
utm_campaign: nullableType(stringType()).optional(),
|
|
@@ -52288,12 +52323,13 @@ var init_retrieveanalytics = __esm(() => {
|
|
|
52288
52323
|
referer: stringType().optional(),
|
|
52289
52324
|
refererUrl: stringType().optional(),
|
|
52290
52325
|
url: stringType().optional(),
|
|
52291
|
-
tagId: stringType().optional(),
|
|
52292
52326
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
52293
52327
|
folderId: stringType().optional(),
|
|
52294
|
-
qr: booleanType().optional(),
|
|
52295
52328
|
root: booleanType().optional(),
|
|
52296
52329
|
saleType: SaleType$outboundSchema.optional(),
|
|
52330
|
+
query: stringType().optional(),
|
|
52331
|
+
tagId: stringType().optional(),
|
|
52332
|
+
qr: booleanType().optional(),
|
|
52297
52333
|
utmSource: nullableType(stringType()).optional(),
|
|
52298
52334
|
utmMedium: nullableType(stringType()).optional(),
|
|
52299
52335
|
utmCampaign: nullableType(stringType()).optional(),
|
|
@@ -53094,8 +53130,6 @@ var init_updatelink = __esm(() => {
|
|
|
53094
53130
|
partnerId: nullableType(stringType()).optional(),
|
|
53095
53131
|
trackConversion: booleanType().optional(),
|
|
53096
53132
|
archived: booleanType().optional(),
|
|
53097
|
-
publicStats: booleanType().optional(),
|
|
53098
|
-
tagId: nullableType(stringType()).optional(),
|
|
53099
53133
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53100
53134
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53101
53135
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -53122,7 +53156,9 @@ var init_updatelink = __esm(() => {
|
|
|
53122
53156
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
53123
53157
|
testVariants: nullableType(arrayType(lazyType(() => UpdateLinkTestVariants$inboundSchema))).optional(),
|
|
53124
53158
|
testStartedAt: nullableType(stringType()).optional(),
|
|
53125
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
53159
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
53160
|
+
publicStats: booleanType().optional(),
|
|
53161
|
+
tagId: nullableType(stringType()).optional()
|
|
53126
53162
|
}).transform((v2) => {
|
|
53127
53163
|
return remap(v2, {
|
|
53128
53164
|
utm_source: "utmSource",
|
|
@@ -53142,8 +53178,6 @@ var init_updatelink = __esm(() => {
|
|
|
53142
53178
|
partnerId: nullableType(stringType()).optional(),
|
|
53143
53179
|
trackConversion: booleanType().optional(),
|
|
53144
53180
|
archived: booleanType().optional(),
|
|
53145
|
-
publicStats: booleanType().optional(),
|
|
53146
|
-
tagId: nullableType(stringType()).optional(),
|
|
53147
53181
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53148
53182
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53149
53183
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -53170,7 +53204,9 @@ var init_updatelink = __esm(() => {
|
|
|
53170
53204
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
53171
53205
|
testVariants: nullableType(arrayType(lazyType(() => UpdateLinkTestVariants$outboundSchema))).optional(),
|
|
53172
53206
|
testStartedAt: nullableType(stringType()).optional(),
|
|
53173
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
53207
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
53208
|
+
publicStats: booleanType().optional(),
|
|
53209
|
+
tagId: nullableType(stringType()).optional()
|
|
53174
53210
|
}).transform((v2) => {
|
|
53175
53211
|
return remap(v2, {
|
|
53176
53212
|
utmSource: "utm_source",
|
|
@@ -53349,8 +53385,6 @@ var init_upsertlink = __esm(() => {
|
|
|
53349
53385
|
prefix: stringType().optional(),
|
|
53350
53386
|
trackConversion: booleanType().optional(),
|
|
53351
53387
|
archived: booleanType().optional(),
|
|
53352
|
-
publicStats: booleanType().optional(),
|
|
53353
|
-
tagId: nullableType(stringType()).optional(),
|
|
53354
53388
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53355
53389
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53356
53390
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -53377,7 +53411,9 @@ var init_upsertlink = __esm(() => {
|
|
|
53377
53411
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
53378
53412
|
testVariants: nullableType(arrayType(lazyType(() => UpsertLinkTestVariants$inboundSchema))).optional(),
|
|
53379
53413
|
testStartedAt: nullableType(stringType()).optional(),
|
|
53380
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
53414
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
53415
|
+
publicStats: booleanType().optional(),
|
|
53416
|
+
tagId: nullableType(stringType()).optional()
|
|
53381
53417
|
}).transform((v2) => {
|
|
53382
53418
|
return remap(v2, {
|
|
53383
53419
|
utm_source: "utmSource",
|
|
@@ -53399,8 +53435,6 @@ var init_upsertlink = __esm(() => {
|
|
|
53399
53435
|
prefix: stringType().optional(),
|
|
53400
53436
|
trackConversion: booleanType().optional(),
|
|
53401
53437
|
archived: booleanType().optional(),
|
|
53402
|
-
publicStats: booleanType().optional(),
|
|
53403
|
-
tagId: nullableType(stringType()).optional(),
|
|
53404
53438
|
tagIds: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53405
53439
|
tagNames: unionType([stringType(), arrayType(stringType())]).optional(),
|
|
53406
53440
|
folderId: nullableType(stringType()).optional(),
|
|
@@ -53427,7 +53461,9 @@ var init_upsertlink = __esm(() => {
|
|
|
53427
53461
|
webhookIds: nullableType(arrayType(stringType())).optional(),
|
|
53428
53462
|
testVariants: nullableType(arrayType(lazyType(() => UpsertLinkTestVariants$outboundSchema))).optional(),
|
|
53429
53463
|
testStartedAt: nullableType(stringType()).optional(),
|
|
53430
|
-
testCompletedAt: nullableType(stringType()).optional()
|
|
53464
|
+
testCompletedAt: nullableType(stringType()).optional(),
|
|
53465
|
+
publicStats: booleanType().optional(),
|
|
53466
|
+
tagId: nullableType(stringType()).optional()
|
|
53431
53467
|
}).transform((v2) => {
|
|
53432
53468
|
return remap(v2, {
|
|
53433
53469
|
utmSource: "utm_source",
|
|
@@ -53685,6 +53721,7 @@ async function $do(client, request, options) {
|
|
|
53685
53721
|
partnerId: payload?.partnerId,
|
|
53686
53722
|
programId: payload?.programId,
|
|
53687
53723
|
qr: payload?.qr,
|
|
53724
|
+
query: payload?.query,
|
|
53688
53725
|
referer: payload?.referer,
|
|
53689
53726
|
refererUrl: payload?.refererUrl,
|
|
53690
53727
|
region: payload?.region,
|
|
@@ -55608,6 +55645,7 @@ async function $do16(client, request, options) {
|
|
|
55608
55645
|
partnerId: payload?.partnerId,
|
|
55609
55646
|
programId: payload?.programId,
|
|
55610
55647
|
qr: payload?.qr,
|
|
55648
|
+
query: payload?.query,
|
|
55611
55649
|
referer: payload?.referer,
|
|
55612
55650
|
refererUrl: payload?.refererUrl,
|
|
55613
55651
|
region: payload?.region,
|
|
@@ -59291,7 +59329,7 @@ Update a workspace by ID or slug.`,
|
|
|
59291
59329
|
function createMCPServer(deps) {
|
|
59292
59330
|
const server = new McpServer({
|
|
59293
59331
|
name: "Dub",
|
|
59294
|
-
version: "0.64.
|
|
59332
|
+
version: "0.64.3"
|
|
59295
59333
|
});
|
|
59296
59334
|
const client = new DubCore({
|
|
59297
59335
|
token: deps.token,
|
|
@@ -60579,7 +60617,7 @@ var routes = rn({
|
|
|
60579
60617
|
var app = Ve(routes, {
|
|
60580
60618
|
name: "mcp",
|
|
60581
60619
|
versionInfo: {
|
|
60582
|
-
currentVersion: "0.64.
|
|
60620
|
+
currentVersion: "0.64.3"
|
|
60583
60621
|
}
|
|
60584
60622
|
});
|
|
60585
60623
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60587,5 +60625,5 @@ export {
|
|
|
60587
60625
|
app
|
|
60588
60626
|
};
|
|
60589
60627
|
|
|
60590
|
-
//# debugId=
|
|
60628
|
+
//# debugId=CDFA291F9C8E7CA064756E2164756E21
|
|
60591
60629
|
//# sourceMappingURL=mcp-server.js.map
|