@lessly/sdk-app 102.3.0 → 103.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -6
- package/dist/_types/gen/client.gen.d.ts +42 -1
- package/dist/_types/gen/manifest.gen.d.ts +1 -1
- package/dist/_types/gen/playground/connect.gen.d.ts +3 -0
- package/dist/_types/gen/playground/index.d.ts +3 -0
- package/dist/_types/gen/playground/queryOptions.gen.d.ts +70 -0
- package/dist/_types/gen/tracking/index.d.ts +1 -1
- package/dist/_types/gen/tracking/queryOptions.gen.d.ts +9 -1
- package/dist/_types/gen/types.gen.d.ts +427 -18
- package/dist/chunk-3PMJZ47D.js +11984 -0
- package/dist/chunk-3PMJZ47D.js.map +1 -0
- package/dist/index.cjs +257 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +25 -11783
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs +106 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +1 -0
- package/dist/playground/index.d.ts +1 -0
- package/dist/playground/index.js +78 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/tracking/index.cjs +10 -0
- package/dist/tracking/index.cjs.map +1 -1
- package/dist/tracking/index.js +9 -1
- package/dist/tracking/index.js.map +1 -1
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +243 -46
- package/src/gen/client.gen.ts +79 -0
- package/src/gen/manifest.gen.ts +24 -1
- package/src/gen/playground/connect.gen.ts +9 -0
- package/src/gen/playground/index.ts +4 -0
- package/src/gen/playground/queryOptions.gen.ts +119 -0
- package/src/gen/tracking/index.ts +1 -1
- package/src/gen/tracking/queryOptions.gen.ts +13 -0
- package/src/gen/types.gen.ts +478 -18
package/src/gen/bindings.gen.ts
CHANGED
|
@@ -3521,6 +3521,10 @@ export const bindings: BindingsMap = {
|
|
|
3521
3521
|
{
|
|
3522
3522
|
"in": "body",
|
|
3523
3523
|
"name": "prBranch"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"in": "body",
|
|
3527
|
+
"name": "repoFullName"
|
|
3524
3528
|
}
|
|
3525
3529
|
],
|
|
3526
3530
|
"path": "/deployment/preview-environments",
|
|
@@ -6252,12 +6256,6 @@ export const bindings: BindingsMap = {
|
|
|
6252
6256
|
"level": "read",
|
|
6253
6257
|
"method": "GET",
|
|
6254
6258
|
"operationKey": "organization_clickup_install",
|
|
6255
|
-
"params": [
|
|
6256
|
-
{
|
|
6257
|
-
"in": "query",
|
|
6258
|
-
"name": "share"
|
|
6259
|
-
}
|
|
6260
|
-
],
|
|
6261
6259
|
"path": "/governance/api/v1/connectors/clickup/install",
|
|
6262
6260
|
"readOnly": false
|
|
6263
6261
|
},
|
|
@@ -6274,12 +6272,6 @@ export const bindings: BindingsMap = {
|
|
|
6274
6272
|
"level": "read",
|
|
6275
6273
|
"method": "GET",
|
|
6276
6274
|
"operationKey": "organization_cloudflare_install",
|
|
6277
|
-
"params": [
|
|
6278
|
-
{
|
|
6279
|
-
"in": "query",
|
|
6280
|
-
"name": "share"
|
|
6281
|
-
}
|
|
6282
|
-
],
|
|
6283
6275
|
"path": "/governance/api/v1/connectors/cloudflare/install",
|
|
6284
6276
|
"readOnly": false
|
|
6285
6277
|
}
|
|
@@ -6600,12 +6592,6 @@ export const bindings: BindingsMap = {
|
|
|
6600
6592
|
"level": "read",
|
|
6601
6593
|
"method": "GET",
|
|
6602
6594
|
"operationKey": "organization_gdrive_install",
|
|
6603
|
-
"params": [
|
|
6604
|
-
{
|
|
6605
|
-
"in": "query",
|
|
6606
|
-
"name": "share"
|
|
6607
|
-
}
|
|
6608
|
-
],
|
|
6609
6595
|
"path": "/governance/api/v1/connectors/gdrive/install",
|
|
6610
6596
|
"readOnly": false
|
|
6611
6597
|
}
|
|
@@ -6615,12 +6601,6 @@ export const bindings: BindingsMap = {
|
|
|
6615
6601
|
"level": "read",
|
|
6616
6602
|
"method": "GET",
|
|
6617
6603
|
"operationKey": "organization_github_install",
|
|
6618
|
-
"params": [
|
|
6619
|
-
{
|
|
6620
|
-
"in": "query",
|
|
6621
|
-
"name": "share"
|
|
6622
|
-
}
|
|
6623
|
-
],
|
|
6624
6604
|
"path": "/governance/api/v1/connectors/github/install",
|
|
6625
6605
|
"readOnly": false
|
|
6626
6606
|
},
|
|
@@ -6835,12 +6815,6 @@ export const bindings: BindingsMap = {
|
|
|
6835
6815
|
"level": "read",
|
|
6836
6816
|
"method": "GET",
|
|
6837
6817
|
"operationKey": "organization_linkedin_member_install",
|
|
6838
|
-
"params": [
|
|
6839
|
-
{
|
|
6840
|
-
"in": "query",
|
|
6841
|
-
"name": "share"
|
|
6842
|
-
}
|
|
6843
|
-
],
|
|
6844
6818
|
"path": "/governance/api/v1/connectors/linkedin-member/install",
|
|
6845
6819
|
"readOnly": false
|
|
6846
6820
|
}
|
|
@@ -7477,12 +7451,6 @@ export const bindings: BindingsMap = {
|
|
|
7477
7451
|
"level": "read",
|
|
7478
7452
|
"method": "GET",
|
|
7479
7453
|
"operationKey": "organization_reddit_install",
|
|
7480
|
-
"params": [
|
|
7481
|
-
{
|
|
7482
|
-
"in": "query",
|
|
7483
|
-
"name": "share"
|
|
7484
|
-
}
|
|
7485
|
-
],
|
|
7486
7454
|
"path": "/governance/api/v1/connectors/reddit/install",
|
|
7487
7455
|
"readOnly": false
|
|
7488
7456
|
}
|
|
@@ -7676,12 +7644,6 @@ export const bindings: BindingsMap = {
|
|
|
7676
7644
|
"level": "read",
|
|
7677
7645
|
"method": "GET",
|
|
7678
7646
|
"operationKey": "organization_x_install",
|
|
7679
|
-
"params": [
|
|
7680
|
-
{
|
|
7681
|
-
"in": "query",
|
|
7682
|
-
"name": "share"
|
|
7683
|
-
}
|
|
7684
|
-
],
|
|
7685
7647
|
"path": "/governance/api/v1/connectors/x/install",
|
|
7686
7648
|
"readOnly": false
|
|
7687
7649
|
}
|
|
@@ -7691,14 +7653,215 @@ export const bindings: BindingsMap = {
|
|
|
7691
7653
|
"level": "read",
|
|
7692
7654
|
"method": "GET",
|
|
7693
7655
|
"operationKey": "organization_youtube_install",
|
|
7656
|
+
"path": "/governance/api/v1/connectors/youtube/install",
|
|
7657
|
+
"readOnly": false
|
|
7658
|
+
}
|
|
7659
|
+
}
|
|
7660
|
+
},
|
|
7661
|
+
"playground": {
|
|
7662
|
+
"analytics": {
|
|
7663
|
+
"overview": {
|
|
7664
|
+
"level": "read",
|
|
7665
|
+
"method": "POST",
|
|
7666
|
+
"operationKey": "playground_analytics_overview",
|
|
7694
7667
|
"params": [
|
|
7695
7668
|
{
|
|
7696
|
-
"in": "
|
|
7697
|
-
"name": "
|
|
7669
|
+
"in": "body",
|
|
7670
|
+
"name": "limit"
|
|
7698
7671
|
}
|
|
7699
7672
|
],
|
|
7700
|
-
"path": "/
|
|
7673
|
+
"path": "/playground/analytics/overview",
|
|
7674
|
+
"readOnly": true
|
|
7675
|
+
}
|
|
7676
|
+
},
|
|
7677
|
+
"billing": {
|
|
7678
|
+
"entitlements": {
|
|
7679
|
+
"level": "read",
|
|
7680
|
+
"method": "POST",
|
|
7681
|
+
"operationKey": "playground_billing_entitlements",
|
|
7682
|
+
"path": "/playground/billing/entitlements",
|
|
7683
|
+
"readOnly": true
|
|
7684
|
+
},
|
|
7685
|
+
"record-usage": {
|
|
7686
|
+
"level": "write",
|
|
7687
|
+
"method": "POST",
|
|
7688
|
+
"operationKey": "playground_billing_record-usage",
|
|
7689
|
+
"params": [
|
|
7690
|
+
{
|
|
7691
|
+
"in": "body",
|
|
7692
|
+
"name": "value"
|
|
7693
|
+
}
|
|
7694
|
+
],
|
|
7695
|
+
"path": "/playground/billing/usage",
|
|
7696
|
+
"readOnly": false
|
|
7697
|
+
}
|
|
7698
|
+
},
|
|
7699
|
+
"clickup": {
|
|
7700
|
+
"create-task": {
|
|
7701
|
+
"level": "write",
|
|
7702
|
+
"method": "POST",
|
|
7703
|
+
"operationKey": "playground_clickup_create-task",
|
|
7704
|
+
"params": [
|
|
7705
|
+
{
|
|
7706
|
+
"in": "body",
|
|
7707
|
+
"name": "listId"
|
|
7708
|
+
},
|
|
7709
|
+
{
|
|
7710
|
+
"in": "body",
|
|
7711
|
+
"name": "name"
|
|
7712
|
+
}
|
|
7713
|
+
],
|
|
7714
|
+
"path": "/playground/clickup/tasks",
|
|
7715
|
+
"readOnly": false
|
|
7716
|
+
},
|
|
7717
|
+
"get-last-webhook": {
|
|
7718
|
+
"level": "read",
|
|
7719
|
+
"method": "GET",
|
|
7720
|
+
"operationKey": "playground_clickup_get-last-webhook",
|
|
7721
|
+
"path": "/playground/clickup/webhooks/last",
|
|
7722
|
+
"readOnly": true
|
|
7723
|
+
},
|
|
7724
|
+
"get-overview": {
|
|
7725
|
+
"level": "read",
|
|
7726
|
+
"method": "GET",
|
|
7727
|
+
"operationKey": "playground_clickup_get-overview",
|
|
7728
|
+
"path": "/playground/clickup/overview",
|
|
7729
|
+
"readOnly": true
|
|
7730
|
+
}
|
|
7731
|
+
},
|
|
7732
|
+
"echo": {
|
|
7733
|
+
"ping": {
|
|
7734
|
+
"level": "read",
|
|
7735
|
+
"method": "POST",
|
|
7736
|
+
"operationKey": "playground_echo_ping",
|
|
7737
|
+
"params": [
|
|
7738
|
+
{
|
|
7739
|
+
"in": "body",
|
|
7740
|
+
"name": "message"
|
|
7741
|
+
}
|
|
7742
|
+
],
|
|
7743
|
+
"path": "/playground/echo/ping",
|
|
7744
|
+
"readOnly": true
|
|
7745
|
+
}
|
|
7746
|
+
},
|
|
7747
|
+
"gdrive": {
|
|
7748
|
+
"get-last-change": {
|
|
7749
|
+
"level": "read",
|
|
7750
|
+
"method": "GET",
|
|
7751
|
+
"operationKey": "playground_gdrive_get-last-change",
|
|
7752
|
+
"path": "/playground/gdrive/changes/last",
|
|
7753
|
+
"readOnly": true
|
|
7754
|
+
},
|
|
7755
|
+
"read-file": {
|
|
7756
|
+
"level": "read",
|
|
7757
|
+
"method": "POST",
|
|
7758
|
+
"operationKey": "playground_gdrive_read-file",
|
|
7759
|
+
"params": [
|
|
7760
|
+
{
|
|
7761
|
+
"in": "body",
|
|
7762
|
+
"name": "fileId"
|
|
7763
|
+
}
|
|
7764
|
+
],
|
|
7765
|
+
"path": "/playground/gdrive/file",
|
|
7766
|
+
"readOnly": true
|
|
7767
|
+
}
|
|
7768
|
+
},
|
|
7769
|
+
"googleads": {
|
|
7770
|
+
"read-customer": {
|
|
7771
|
+
"level": "read",
|
|
7772
|
+
"method": "POST",
|
|
7773
|
+
"operationKey": "playground_googleads_read-customer",
|
|
7774
|
+
"path": "/playground/googleads/customer",
|
|
7775
|
+
"readOnly": true
|
|
7776
|
+
}
|
|
7777
|
+
},
|
|
7778
|
+
"lifecycle": {
|
|
7779
|
+
"get-state": {
|
|
7780
|
+
"level": "read",
|
|
7781
|
+
"method": "GET",
|
|
7782
|
+
"operationKey": "playground_lifecycle_get-state",
|
|
7783
|
+
"path": "/playground/lifecycle/state",
|
|
7784
|
+
"readOnly": true
|
|
7785
|
+
},
|
|
7786
|
+
"list-events": {
|
|
7787
|
+
"level": "read",
|
|
7788
|
+
"method": "GET",
|
|
7789
|
+
"operationKey": "playground_lifecycle_list-events",
|
|
7790
|
+
"path": "/playground/lifecycle/events",
|
|
7791
|
+
"readOnly": true
|
|
7792
|
+
}
|
|
7793
|
+
},
|
|
7794
|
+
"webhook": {
|
|
7795
|
+
"get-last": {
|
|
7796
|
+
"level": "read",
|
|
7797
|
+
"method": "GET",
|
|
7798
|
+
"operationKey": "playground_webhook_get-last",
|
|
7799
|
+
"path": "/playground/webhooks/last",
|
|
7800
|
+
"readOnly": true
|
|
7801
|
+
}
|
|
7802
|
+
},
|
|
7803
|
+
"workflow": {
|
|
7804
|
+
"echo": {
|
|
7805
|
+
"level": "write",
|
|
7806
|
+
"method": "POST",
|
|
7807
|
+
"operationKey": "playground_workflow_echo",
|
|
7808
|
+
"params": [
|
|
7809
|
+
{
|
|
7810
|
+
"in": "body",
|
|
7811
|
+
"name": "note"
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
"in": "body",
|
|
7815
|
+
"name": "tags"
|
|
7816
|
+
}
|
|
7817
|
+
],
|
|
7818
|
+
"path": "/playground/workflow/echo",
|
|
7701
7819
|
"readOnly": false
|
|
7820
|
+
},
|
|
7821
|
+
"echo-list": {
|
|
7822
|
+
"level": "read",
|
|
7823
|
+
"method": "GET",
|
|
7824
|
+
"operationKey": "playground_workflow_echo-list",
|
|
7825
|
+
"path": "/playground/workflow/echoes",
|
|
7826
|
+
"readOnly": true
|
|
7827
|
+
},
|
|
7828
|
+
"ping": {
|
|
7829
|
+
"level": "write",
|
|
7830
|
+
"method": "POST",
|
|
7831
|
+
"operationKey": "playground_workflow_ping",
|
|
7832
|
+
"params": [
|
|
7833
|
+
{
|
|
7834
|
+
"in": "body",
|
|
7835
|
+
"name": "kind"
|
|
7836
|
+
}
|
|
7837
|
+
],
|
|
7838
|
+
"path": "/playground/workflow/ping",
|
|
7839
|
+
"readOnly": false
|
|
7840
|
+
},
|
|
7841
|
+
"subjects-list": {
|
|
7842
|
+
"level": "read",
|
|
7843
|
+
"method": "GET",
|
|
7844
|
+
"operationKey": "playground_workflow_subjects-list",
|
|
7845
|
+
"params": [
|
|
7846
|
+
{
|
|
7847
|
+
"in": "query",
|
|
7848
|
+
"name": "last_activity_before"
|
|
7849
|
+
},
|
|
7850
|
+
{
|
|
7851
|
+
"in": "query",
|
|
7852
|
+
"name": "last_activity_after"
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
"in": "query",
|
|
7856
|
+
"name": "limit"
|
|
7857
|
+
},
|
|
7858
|
+
{
|
|
7859
|
+
"in": "query",
|
|
7860
|
+
"name": "cursor"
|
|
7861
|
+
}
|
|
7862
|
+
],
|
|
7863
|
+
"path": "/playground/workflow/subjects",
|
|
7864
|
+
"readOnly": true
|
|
7702
7865
|
}
|
|
7703
7866
|
}
|
|
7704
7867
|
},
|
|
@@ -9837,6 +10000,32 @@ export const bindings: BindingsMap = {
|
|
|
9837
10000
|
"readOnly": true
|
|
9838
10001
|
}
|
|
9839
10002
|
},
|
|
10003
|
+
"recording-settings": {
|
|
10004
|
+
"get": {
|
|
10005
|
+
"level": "read",
|
|
10006
|
+
"method": "GET",
|
|
10007
|
+
"operationKey": "tracking_recording-settings_get",
|
|
10008
|
+
"path": "/tracking/recording-settings",
|
|
10009
|
+
"readOnly": true
|
|
10010
|
+
},
|
|
10011
|
+
"set": {
|
|
10012
|
+
"level": "write",
|
|
10013
|
+
"method": "PUT",
|
|
10014
|
+
"operationKey": "tracking_recording-settings_set",
|
|
10015
|
+
"params": [
|
|
10016
|
+
{
|
|
10017
|
+
"in": "body",
|
|
10018
|
+
"name": "enabled"
|
|
10019
|
+
},
|
|
10020
|
+
{
|
|
10021
|
+
"in": "body",
|
|
10022
|
+
"name": "sampleRate"
|
|
10023
|
+
}
|
|
10024
|
+
],
|
|
10025
|
+
"path": "/tracking/recording-settings",
|
|
10026
|
+
"readOnly": false
|
|
10027
|
+
}
|
|
10028
|
+
},
|
|
9840
10029
|
"reports-attributed": {
|
|
9841
10030
|
"journey": {
|
|
9842
10031
|
"level": "read",
|
|
@@ -11783,4 +11972,12 @@ export const bindings: BindingsMap = {
|
|
|
11783
11972
|
}
|
|
11784
11973
|
};
|
|
11785
11974
|
|
|
11786
|
-
export const wsBindings: WsBindingsMap = {
|
|
11975
|
+
export const wsBindings: WsBindingsMap = {
|
|
11976
|
+
"playground": {
|
|
11977
|
+
"ws": {
|
|
11978
|
+
"echo": {
|
|
11979
|
+
"path": "/playground/ws/echo"
|
|
11980
|
+
}
|
|
11981
|
+
}
|
|
11982
|
+
}
|
|
11983
|
+
};
|
package/src/gen/client.gen.ts
CHANGED
|
@@ -821,6 +821,40 @@ import type {
|
|
|
821
821
|
OrganizationXInstallOutput,
|
|
822
822
|
OrganizationYoutubeInstallInput,
|
|
823
823
|
OrganizationYoutubeInstallOutput,
|
|
824
|
+
PlaygroundAnalyticsOverviewInput,
|
|
825
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
826
|
+
PlaygroundBillingEntitlementsInput,
|
|
827
|
+
PlaygroundBillingEntitlementsOutput,
|
|
828
|
+
PlaygroundBillingRecordUsageInput,
|
|
829
|
+
PlaygroundBillingRecordUsageOutput,
|
|
830
|
+
PlaygroundClickupCreateTaskInput,
|
|
831
|
+
PlaygroundClickupCreateTaskOutput,
|
|
832
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
833
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
834
|
+
PlaygroundClickupGetOverviewInput,
|
|
835
|
+
PlaygroundClickupGetOverviewOutput,
|
|
836
|
+
PlaygroundEchoPingInput,
|
|
837
|
+
PlaygroundEchoPingOutput,
|
|
838
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
839
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
840
|
+
PlaygroundGdriveReadFileInput,
|
|
841
|
+
PlaygroundGdriveReadFileOutput,
|
|
842
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
843
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
844
|
+
PlaygroundLifecycleGetStateInput,
|
|
845
|
+
PlaygroundLifecycleGetStateOutput,
|
|
846
|
+
PlaygroundLifecycleListEventsInput,
|
|
847
|
+
PlaygroundLifecycleListEventsOutput,
|
|
848
|
+
PlaygroundWebhookGetLastInput,
|
|
849
|
+
PlaygroundWebhookGetLastOutput,
|
|
850
|
+
PlaygroundWorkflowEchoInput,
|
|
851
|
+
PlaygroundWorkflowEchoListInput,
|
|
852
|
+
PlaygroundWorkflowEchoListOutput,
|
|
853
|
+
PlaygroundWorkflowEchoOutput,
|
|
854
|
+
PlaygroundWorkflowPingInput,
|
|
855
|
+
PlaygroundWorkflowPingOutput,
|
|
856
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
857
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
824
858
|
RealtimeArchiveExportInput,
|
|
825
859
|
RealtimeArchiveExportOutput,
|
|
826
860
|
RealtimeArchiveExportStatusInput,
|
|
@@ -1045,6 +1079,10 @@ import type {
|
|
|
1045
1079
|
TrackingProfilesGetOutput,
|
|
1046
1080
|
TrackingProfilesListInput,
|
|
1047
1081
|
TrackingProfilesListOutput,
|
|
1082
|
+
TrackingRecordingSettingsGetInput,
|
|
1083
|
+
TrackingRecordingSettingsGetOutput,
|
|
1084
|
+
TrackingRecordingSettingsSetInput,
|
|
1085
|
+
TrackingRecordingSettingsSetOutput,
|
|
1048
1086
|
TrackingReportsAttributedJourneyInput,
|
|
1049
1087
|
TrackingReportsAttributedJourneyOutput,
|
|
1050
1088
|
TrackingReportsEventVolumeInput,
|
|
@@ -1970,6 +2008,43 @@ export interface GeneratedClient {
|
|
|
1970
2008
|
install: ((input: OrganizationYoutubeInstallInput) => Promise<OrganizationYoutubeInstallOutput>) & Operation;
|
|
1971
2009
|
};
|
|
1972
2010
|
};
|
|
2011
|
+
playground: {
|
|
2012
|
+
analytics: {
|
|
2013
|
+
overview: ((input: PlaygroundAnalyticsOverviewInput) => Promise<PlaygroundAnalyticsOverviewOutput>) & Operation;
|
|
2014
|
+
};
|
|
2015
|
+
billing: {
|
|
2016
|
+
entitlements: ((input: PlaygroundBillingEntitlementsInput) => Promise<PlaygroundBillingEntitlementsOutput>) & Operation;
|
|
2017
|
+
'record-usage': ((input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>) & Operation;
|
|
2018
|
+
};
|
|
2019
|
+
clickup: {
|
|
2020
|
+
'create-task': ((input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>) & Operation;
|
|
2021
|
+
'get-last-webhook': ((input: PlaygroundClickupGetLastWebhookInput) => Promise<PlaygroundClickupGetLastWebhookOutput>) & Operation;
|
|
2022
|
+
'get-overview': ((input: PlaygroundClickupGetOverviewInput) => Promise<PlaygroundClickupGetOverviewOutput>) & Operation;
|
|
2023
|
+
};
|
|
2024
|
+
echo: {
|
|
2025
|
+
ping: ((input: PlaygroundEchoPingInput) => Promise<PlaygroundEchoPingOutput>) & Operation;
|
|
2026
|
+
};
|
|
2027
|
+
gdrive: {
|
|
2028
|
+
'get-last-change': ((input: PlaygroundGdriveGetLastChangeInput) => Promise<PlaygroundGdriveGetLastChangeOutput>) & Operation;
|
|
2029
|
+
'read-file': ((input: PlaygroundGdriveReadFileInput) => Promise<PlaygroundGdriveReadFileOutput>) & Operation;
|
|
2030
|
+
};
|
|
2031
|
+
googleads: {
|
|
2032
|
+
'read-customer': ((input: PlaygroundGoogleadsReadCustomerInput) => Promise<PlaygroundGoogleadsReadCustomerOutput>) & Operation;
|
|
2033
|
+
};
|
|
2034
|
+
lifecycle: {
|
|
2035
|
+
'get-state': ((input: PlaygroundLifecycleGetStateInput) => Promise<PlaygroundLifecycleGetStateOutput>) & Operation;
|
|
2036
|
+
'list-events': ((input: PlaygroundLifecycleListEventsInput) => Promise<PlaygroundLifecycleListEventsOutput>) & Operation;
|
|
2037
|
+
};
|
|
2038
|
+
webhook: {
|
|
2039
|
+
'get-last': ((input: PlaygroundWebhookGetLastInput) => Promise<PlaygroundWebhookGetLastOutput>) & Operation;
|
|
2040
|
+
};
|
|
2041
|
+
workflow: {
|
|
2042
|
+
echo: ((input: PlaygroundWorkflowEchoInput) => Promise<PlaygroundWorkflowEchoOutput>) & Operation;
|
|
2043
|
+
'echo-list': ((input: PlaygroundWorkflowEchoListInput) => Promise<PlaygroundWorkflowEchoListOutput>) & Operation;
|
|
2044
|
+
ping: ((input: PlaygroundWorkflowPingInput) => Promise<PlaygroundWorkflowPingOutput>) & Operation;
|
|
2045
|
+
'subjects-list': ((input: PlaygroundWorkflowSubjectsListInput) => Promise<PlaygroundWorkflowSubjectsListOutput>) & Operation;
|
|
2046
|
+
};
|
|
2047
|
+
};
|
|
1973
2048
|
realtime: {
|
|
1974
2049
|
archive: {
|
|
1975
2050
|
export: ((input: RealtimeArchiveExportInput) => Promise<RealtimeArchiveExportOutput>) & Operation;
|
|
@@ -2175,6 +2250,10 @@ export interface GeneratedClient {
|
|
|
2175
2250
|
get: ((input: TrackingProfilesGetInput) => Promise<TrackingProfilesGetOutput>) & Operation;
|
|
2176
2251
|
list: ((input: TrackingProfilesListInput) => Promise<TrackingProfilesListOutput>) & Operation;
|
|
2177
2252
|
};
|
|
2253
|
+
'recording-settings': {
|
|
2254
|
+
get: ((input: TrackingRecordingSettingsGetInput) => Promise<TrackingRecordingSettingsGetOutput>) & Operation;
|
|
2255
|
+
set: ((input: TrackingRecordingSettingsSetInput) => Promise<TrackingRecordingSettingsSetOutput>) & Operation;
|
|
2256
|
+
};
|
|
2178
2257
|
'reports-attributed': {
|
|
2179
2258
|
journey: ((input: TrackingReportsAttributedJourneyInput) => Promise<TrackingReportsAttributedJourneyOutput>) & Operation;
|
|
2180
2259
|
};
|
package/src/gen/manifest.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
import type { ToolLevel, ToolComposition } from '../runtime/types';
|
|
3
3
|
|
|
4
|
-
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
4
|
+
export const namespaces = ['analytics', 'brain', 'consent', 'content', 'deployment', 'mail', 'observe', 'organization', 'playground', 'realtime', 'support', 'tracking', 'users', 'workflow'] as const;
|
|
5
5
|
|
|
6
6
|
export const operations: Record<string, ToolLevel> = {
|
|
7
7
|
'analytics_catalog_get': 'read',
|
|
@@ -414,6 +414,23 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
414
414
|
'organization_support_threads_list': 'read',
|
|
415
415
|
'organization_x_install': 'read',
|
|
416
416
|
'organization_youtube_install': 'read',
|
|
417
|
+
'playground_analytics_overview': 'read',
|
|
418
|
+
'playground_billing_entitlements': 'read',
|
|
419
|
+
'playground_billing_record-usage': 'write',
|
|
420
|
+
'playground_clickup_create-task': 'write',
|
|
421
|
+
'playground_clickup_get-last-webhook': 'read',
|
|
422
|
+
'playground_clickup_get-overview': 'read',
|
|
423
|
+
'playground_echo_ping': 'read',
|
|
424
|
+
'playground_gdrive_get-last-change': 'read',
|
|
425
|
+
'playground_gdrive_read-file': 'read',
|
|
426
|
+
'playground_googleads_read-customer': 'read',
|
|
427
|
+
'playground_lifecycle_get-state': 'read',
|
|
428
|
+
'playground_lifecycle_list-events': 'read',
|
|
429
|
+
'playground_webhook_get-last': 'read',
|
|
430
|
+
'playground_workflow_echo': 'write',
|
|
431
|
+
'playground_workflow_echo-list': 'read',
|
|
432
|
+
'playground_workflow_ping': 'write',
|
|
433
|
+
'playground_workflow_subjects-list': 'read',
|
|
417
434
|
'realtime_archive_export': 'admin',
|
|
418
435
|
'realtime_archive_export_status': 'read',
|
|
419
436
|
'realtime_archive_get': 'read',
|
|
@@ -526,6 +543,8 @@ export const operations: Record<string, ToolLevel> = {
|
|
|
526
543
|
'tracking_profiles_export': 'read',
|
|
527
544
|
'tracking_profiles_get': 'read',
|
|
528
545
|
'tracking_profiles_list': 'read',
|
|
546
|
+
'tracking_recording-settings_get': 'read',
|
|
547
|
+
'tracking_recording-settings_set': 'write',
|
|
529
548
|
'tracking_reports_attributed_journey': 'read',
|
|
530
549
|
'tracking_reports_event_volume': 'read',
|
|
531
550
|
'tracking_reports_revenue_by_source': 'read',
|
|
@@ -699,6 +718,9 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
699
718
|
'mail_template_unarchive': {"label":"Unarchive template","options":{"id":"mail_template_list"}},
|
|
700
719
|
'mail_template_update': {"label":"Update template","options":{"id":"mail_template_list"}},
|
|
701
720
|
'mail_usage_get': {"label":"Get usage"},
|
|
721
|
+
'playground_workflow_echo': {"pii":["input.note","output.note"],"label":"Store workflow echo","completion_event":"playground/workflow.echoed"},
|
|
722
|
+
'playground_workflow_ping': {"label":"Fire workflow ping","completion_event":"playground/workflow.ping"},
|
|
723
|
+
'playground_workflow_subjects-list': {"pii":["output.items[].display_name"],"label":"List workflow subjects"},
|
|
702
724
|
'support_agent_create': {"pii":["input.lesslyUserId","output.lesslyUserId"],"label":"Create agent"},
|
|
703
725
|
'support_agent_get': {"pii":["output.lesslyUserId"],"label":"Get agent","options":{"id":"support_agent_list"}},
|
|
704
726
|
'support_agent_list': {"pii":["output.agents[].lesslyUserId"],"label":"List agents"},
|
|
@@ -760,6 +782,7 @@ export const compositions: Record<string, ToolComposition> = {
|
|
|
760
782
|
'tracking_profiles_export': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey[].url","output.journey[].title","output.journey[].referrer","output.journey[].source.clickId"],"label":"Export person"},
|
|
761
783
|
'tracking_profiles_get': {"pii":["input.profileId","output.profile.profileId","output.signals.emails","output.signals.phones","output.signals.clickIds[].value","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Get person"},
|
|
762
784
|
'tracking_profiles_list': {"pii":["input.email","output.profiles[].profileId","output.profiles[].emails"],"label":"List people"},
|
|
785
|
+
'tracking_recording-settings_get': {"label":"Get session recording settings"},
|
|
763
786
|
'tracking_reports_attributed_journey': {"pii":["input.profileId","output.profileId","output.journey.events[].url","output.journey.events[].title","output.journey.events[].referrer","output.journey.events[].source.clickId"],"label":"Explain attributed journey"},
|
|
764
787
|
'tracking_reports_event_volume': {"label":"Report event volume","options":{"domain":"tracking_install-domains_list"}},
|
|
765
788
|
'tracking_reports_revenue_by_source': {"label":"Report revenue by source","options":{"domain":"tracking_install-domains_list"}},
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import { wsBindings } from '../bindings.gen';
|
|
3
|
+
import type { LesslyStream, LesslyStreamOpener } from '../../runtime/types';
|
|
4
|
+
import type {
|
|
5
|
+
PlaygroundWsEchoInput,
|
|
6
|
+
} from '../types.gen';
|
|
7
|
+
|
|
8
|
+
export const playgroundWsEchoConnect = (sdk: LesslyStreamOpener, input: PlaygroundWsEchoInput): LesslyStream =>
|
|
9
|
+
sdk.openStream(wsBindings['playground']!['ws']!['echo']!, input as Record<string, unknown>);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
export * from './queryOptions.gen';
|
|
3
|
+
export * from './connect.gen';
|
|
4
|
+
export type { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundEchoPingInput, PlaygroundEchoPingOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, PlaygroundWorkflowEchoInput, PlaygroundWorkflowEchoListInput, PlaygroundWorkflowEchoListOutput, PlaygroundWorkflowEchoOutput, PlaygroundWorkflowPingInput, PlaygroundWorkflowPingOutput, PlaygroundWorkflowSubjectsListInput, PlaygroundWorkflowSubjectsListOutput, PlaygroundWsEchoInput } from '../types.gen';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
|
+
import type { GeneratedClient } from '../client.gen';
|
|
3
|
+
import type {
|
|
4
|
+
PlaygroundAnalyticsOverviewInput,
|
|
5
|
+
PlaygroundAnalyticsOverviewOutput,
|
|
6
|
+
PlaygroundBillingEntitlementsInput,
|
|
7
|
+
PlaygroundBillingEntitlementsOutput,
|
|
8
|
+
PlaygroundBillingRecordUsageInput,
|
|
9
|
+
PlaygroundClickupCreateTaskInput,
|
|
10
|
+
PlaygroundClickupGetLastWebhookInput,
|
|
11
|
+
PlaygroundClickupGetLastWebhookOutput,
|
|
12
|
+
PlaygroundClickupGetOverviewInput,
|
|
13
|
+
PlaygroundClickupGetOverviewOutput,
|
|
14
|
+
PlaygroundEchoPingInput,
|
|
15
|
+
PlaygroundEchoPingOutput,
|
|
16
|
+
PlaygroundGdriveGetLastChangeInput,
|
|
17
|
+
PlaygroundGdriveGetLastChangeOutput,
|
|
18
|
+
PlaygroundGdriveReadFileInput,
|
|
19
|
+
PlaygroundGdriveReadFileOutput,
|
|
20
|
+
PlaygroundGoogleadsReadCustomerInput,
|
|
21
|
+
PlaygroundGoogleadsReadCustomerOutput,
|
|
22
|
+
PlaygroundLifecycleGetStateInput,
|
|
23
|
+
PlaygroundLifecycleGetStateOutput,
|
|
24
|
+
PlaygroundLifecycleListEventsInput,
|
|
25
|
+
PlaygroundLifecycleListEventsOutput,
|
|
26
|
+
PlaygroundWebhookGetLastInput,
|
|
27
|
+
PlaygroundWebhookGetLastOutput,
|
|
28
|
+
PlaygroundWorkflowEchoInput,
|
|
29
|
+
PlaygroundWorkflowEchoListInput,
|
|
30
|
+
PlaygroundWorkflowEchoListOutput,
|
|
31
|
+
PlaygroundWorkflowPingInput,
|
|
32
|
+
PlaygroundWorkflowSubjectsListInput,
|
|
33
|
+
PlaygroundWorkflowSubjectsListOutput,
|
|
34
|
+
} from '../types.gen';
|
|
35
|
+
|
|
36
|
+
export const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({
|
|
37
|
+
queryKey: ['playground', 'analytics', 'overview', input] as const,
|
|
38
|
+
queryFn: () => sdk['playground']['analytics']['overview'](input),
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({
|
|
42
|
+
queryKey: ['playground', 'billing', 'entitlements', input] as const,
|
|
43
|
+
queryFn: () => sdk['playground']['billing']['entitlements'](input),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({
|
|
47
|
+
mutationKey: ['playground', 'billing', 'record-usage'],
|
|
48
|
+
mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
export const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({
|
|
52
|
+
mutationKey: ['playground', 'clickup', 'create-task'],
|
|
53
|
+
mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
export const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({
|
|
57
|
+
queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,
|
|
58
|
+
queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({
|
|
62
|
+
queryKey: ['playground', 'clickup', 'get-overview', input] as const,
|
|
63
|
+
queryFn: () => sdk['playground']['clickup']['get-overview'](input),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export const playgroundEchoPingQueryOptions = (sdk: GeneratedClient, input: PlaygroundEchoPingInput) => ({
|
|
67
|
+
queryKey: ['playground', 'echo', 'ping', input] as const,
|
|
68
|
+
queryFn: () => sdk['playground']['echo']['ping'](input),
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({
|
|
72
|
+
queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,
|
|
73
|
+
queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
export const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({
|
|
77
|
+
queryKey: ['playground', 'gdrive', 'read-file', input] as const,
|
|
78
|
+
queryFn: () => sdk['playground']['gdrive']['read-file'](input),
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({
|
|
82
|
+
queryKey: ['playground', 'googleads', 'read-customer', input] as const,
|
|
83
|
+
queryFn: () => sdk['playground']['googleads']['read-customer'](input),
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
export const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({
|
|
87
|
+
queryKey: ['playground', 'lifecycle', 'get-state', input] as const,
|
|
88
|
+
queryFn: () => sdk['playground']['lifecycle']['get-state'](input),
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
export const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({
|
|
92
|
+
queryKey: ['playground', 'lifecycle', 'list-events', input] as const,
|
|
93
|
+
queryFn: () => sdk['playground']['lifecycle']['list-events'](input),
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({
|
|
97
|
+
queryKey: ['playground', 'webhook', 'get-last', input] as const,
|
|
98
|
+
queryFn: () => sdk['playground']['webhook']['get-last'](input),
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export const playgroundWorkflowEchoMutationOptions = (sdk: GeneratedClient) => ({
|
|
102
|
+
mutationKey: ['playground', 'workflow', 'echo'],
|
|
103
|
+
mutationFn: (input: PlaygroundWorkflowEchoInput) => sdk['playground']['workflow']['echo'](input),
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
export const playgroundWorkflowEchoListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowEchoListInput) => ({
|
|
107
|
+
queryKey: ['playground', 'workflow', 'echo-list', input] as const,
|
|
108
|
+
queryFn: () => sdk['playground']['workflow']['echo-list'](input),
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
export const playgroundWorkflowPingMutationOptions = (sdk: GeneratedClient) => ({
|
|
112
|
+
mutationKey: ['playground', 'workflow', 'ping'],
|
|
113
|
+
mutationFn: (input: PlaygroundWorkflowPingInput) => sdk['playground']['workflow']['ping'](input),
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export const playgroundWorkflowSubjectsListQueryOptions = (sdk: GeneratedClient, input: PlaygroundWorkflowSubjectsListInput) => ({
|
|
117
|
+
queryKey: ['playground', 'workflow', 'subjects-list', input] as const,
|
|
118
|
+
queryFn: () => sdk['playground']['workflow']['subjects-list'](input),
|
|
119
|
+
});
|