pgbeam 0.3.13 → 0.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +265 -0
- package/dist/index.d.cts +5495 -1786
- package/dist/index.d.mts +5495 -1786
- package/dist/index.mjs +265 -0
- package/dist/operations.cjs +1048 -0
- package/dist/operations.d.cts +2945 -41
- package/dist/operations.d.mts +2945 -41
- package/dist/operations.mjs +1048 -0
- package/package.json +1 -1
package/dist/operations.cjs
CHANGED
|
@@ -779,6 +779,694 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
779
779
|
"responseType": "{ entry: { avg_latency_ms: number; avg_response_bytes: number; cache_enabled: boolean; cache_swr_seconds?: number; cache_ttl_seconds?: number; call_count: number; first_seen_at: string; last_seen_at: string; normalized_sql: string; p95_latency_ms: number; query_hash: string; query_type: \"read\" | \"write\" | \"other\"; recommendation: \"great\" | \"good\" | \"fair\" | \"poor\"; stability_rate: number } }",
|
|
780
780
|
"responseStatus": "200"
|
|
781
781
|
},
|
|
782
|
+
"listCrmCompanies": {
|
|
783
|
+
"operationId": "listCrmCompanies",
|
|
784
|
+
"method": "GET",
|
|
785
|
+
"path": "/v1/organizations/{org_id}/crm/companies",
|
|
786
|
+
"summary": "List companies",
|
|
787
|
+
"description": "List companies.",
|
|
788
|
+
"parameters": [
|
|
789
|
+
{
|
|
790
|
+
"name": "org_id",
|
|
791
|
+
"in": "path",
|
|
792
|
+
"required": true,
|
|
793
|
+
"type": "string",
|
|
794
|
+
"description": "Unique organization identifier."
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "page_size",
|
|
798
|
+
"in": "query",
|
|
799
|
+
"required": false,
|
|
800
|
+
"type": "number",
|
|
801
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"name": "page_token",
|
|
805
|
+
"in": "query",
|
|
806
|
+
"required": false,
|
|
807
|
+
"type": "string",
|
|
808
|
+
"description": "Opaque token for cursor-based pagination."
|
|
809
|
+
}
|
|
810
|
+
],
|
|
811
|
+
"requestBodyType": "",
|
|
812
|
+
"requestBodyRequired": false,
|
|
813
|
+
"responseType": "{ companies: ({ created_at: string; description: string; domain?: string; id: string; industry?: string; location?: string; logo_url?: string; name: string; org_id: string; updated_at: string })[]; next_page_token?: string }",
|
|
814
|
+
"responseStatus": "200"
|
|
815
|
+
},
|
|
816
|
+
"createCrmCompany": {
|
|
817
|
+
"operationId": "createCrmCompany",
|
|
818
|
+
"method": "POST",
|
|
819
|
+
"path": "/v1/organizations/{org_id}/crm/companies",
|
|
820
|
+
"summary": "Create a company",
|
|
821
|
+
"description": "Create a company.",
|
|
822
|
+
"parameters": [
|
|
823
|
+
{
|
|
824
|
+
"name": "org_id",
|
|
825
|
+
"in": "path",
|
|
826
|
+
"required": true,
|
|
827
|
+
"type": "string",
|
|
828
|
+
"description": "Unique organization identifier."
|
|
829
|
+
}
|
|
830
|
+
],
|
|
831
|
+
"requestBodyType": "{ description?: string; domain?: string; industry?: string; location?: string; logo_url?: string; name: string }",
|
|
832
|
+
"requestBodyRequired": true,
|
|
833
|
+
"responseType": "{ created_at: string; description: string; domain?: string; id: string; industry?: string; location?: string; logo_url?: string; name: string; org_id: string; updated_at: string }",
|
|
834
|
+
"responseStatus": "201"
|
|
835
|
+
},
|
|
836
|
+
"getCrmCompany": {
|
|
837
|
+
"operationId": "getCrmCompany",
|
|
838
|
+
"method": "GET",
|
|
839
|
+
"path": "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
840
|
+
"summary": "Get a company",
|
|
841
|
+
"description": "Get a company.",
|
|
842
|
+
"parameters": [
|
|
843
|
+
{
|
|
844
|
+
"name": "org_id",
|
|
845
|
+
"in": "path",
|
|
846
|
+
"required": true,
|
|
847
|
+
"type": "string",
|
|
848
|
+
"description": "Unique organization identifier."
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"name": "company_id",
|
|
852
|
+
"in": "path",
|
|
853
|
+
"required": true,
|
|
854
|
+
"type": "string",
|
|
855
|
+
"description": "Unique CRM company identifier (prefixed, e.g. cmp_xxx)."
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"requestBodyType": "",
|
|
859
|
+
"requestBodyRequired": false,
|
|
860
|
+
"responseType": "{ created_at: string; description: string; domain?: string; id: string; industry?: string; location?: string; logo_url?: string; name: string; org_id: string; updated_at: string }",
|
|
861
|
+
"responseStatus": "200"
|
|
862
|
+
},
|
|
863
|
+
"updateCrmCompany": {
|
|
864
|
+
"operationId": "updateCrmCompany",
|
|
865
|
+
"method": "PUT",
|
|
866
|
+
"path": "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
867
|
+
"summary": "Update a company",
|
|
868
|
+
"description": "Update a company.",
|
|
869
|
+
"parameters": [
|
|
870
|
+
{
|
|
871
|
+
"name": "org_id",
|
|
872
|
+
"in": "path",
|
|
873
|
+
"required": true,
|
|
874
|
+
"type": "string",
|
|
875
|
+
"description": "Unique organization identifier."
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"name": "company_id",
|
|
879
|
+
"in": "path",
|
|
880
|
+
"required": true,
|
|
881
|
+
"type": "string",
|
|
882
|
+
"description": "Unique CRM company identifier (prefixed, e.g. cmp_xxx)."
|
|
883
|
+
}
|
|
884
|
+
],
|
|
885
|
+
"requestBodyType": "{ description?: string; domain?: string; industry?: string; location?: string; logo_url?: string; name: string }",
|
|
886
|
+
"requestBodyRequired": true,
|
|
887
|
+
"responseType": "{ created_at: string; description: string; domain?: string; id: string; industry?: string; location?: string; logo_url?: string; name: string; org_id: string; updated_at: string }",
|
|
888
|
+
"responseStatus": "200"
|
|
889
|
+
},
|
|
890
|
+
"deleteCrmCompany": {
|
|
891
|
+
"operationId": "deleteCrmCompany",
|
|
892
|
+
"method": "DELETE",
|
|
893
|
+
"path": "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
894
|
+
"summary": "Delete a company",
|
|
895
|
+
"description": "Delete a company.",
|
|
896
|
+
"parameters": [
|
|
897
|
+
{
|
|
898
|
+
"name": "org_id",
|
|
899
|
+
"in": "path",
|
|
900
|
+
"required": true,
|
|
901
|
+
"type": "string",
|
|
902
|
+
"description": "Unique organization identifier."
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"name": "company_id",
|
|
906
|
+
"in": "path",
|
|
907
|
+
"required": true,
|
|
908
|
+
"type": "string",
|
|
909
|
+
"description": "Unique CRM company identifier (prefixed, e.g. cmp_xxx)."
|
|
910
|
+
}
|
|
911
|
+
],
|
|
912
|
+
"requestBodyType": "",
|
|
913
|
+
"requestBodyRequired": false,
|
|
914
|
+
"responseType": "",
|
|
915
|
+
"responseStatus": "204"
|
|
916
|
+
},
|
|
917
|
+
"listCrmContacts": {
|
|
918
|
+
"operationId": "listCrmContacts",
|
|
919
|
+
"method": "GET",
|
|
920
|
+
"path": "/v1/organizations/{org_id}/crm/contacts",
|
|
921
|
+
"summary": "List contacts",
|
|
922
|
+
"description": "List contacts.",
|
|
923
|
+
"parameters": [
|
|
924
|
+
{
|
|
925
|
+
"name": "org_id",
|
|
926
|
+
"in": "path",
|
|
927
|
+
"required": true,
|
|
928
|
+
"type": "string",
|
|
929
|
+
"description": "Unique organization identifier."
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "page_size",
|
|
933
|
+
"in": "query",
|
|
934
|
+
"required": false,
|
|
935
|
+
"type": "number",
|
|
936
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
"name": "page_token",
|
|
940
|
+
"in": "query",
|
|
941
|
+
"required": false,
|
|
942
|
+
"type": "string",
|
|
943
|
+
"description": "Opaque token for cursor-based pagination."
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"requestBodyType": "",
|
|
947
|
+
"requestBodyRequired": false,
|
|
948
|
+
"responseType": "{ contacts: ({ company_id?: string; created_at: string; email?: string; id: string; linkedin_url?: string; name: string; notes: string; org_id: string; phone?: string; title?: string; updated_at: string })[]; next_page_token?: string }",
|
|
949
|
+
"responseStatus": "200"
|
|
950
|
+
},
|
|
951
|
+
"createCrmContact": {
|
|
952
|
+
"operationId": "createCrmContact",
|
|
953
|
+
"method": "POST",
|
|
954
|
+
"path": "/v1/organizations/{org_id}/crm/contacts",
|
|
955
|
+
"summary": "Create a contact",
|
|
956
|
+
"description": "Create a contact.",
|
|
957
|
+
"parameters": [
|
|
958
|
+
{
|
|
959
|
+
"name": "org_id",
|
|
960
|
+
"in": "path",
|
|
961
|
+
"required": true,
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "Unique organization identifier."
|
|
964
|
+
}
|
|
965
|
+
],
|
|
966
|
+
"requestBodyType": "{ company_id?: string; email?: string; linkedin_url?: string; name: string; notes?: string; phone?: string; title?: string }",
|
|
967
|
+
"requestBodyRequired": true,
|
|
968
|
+
"responseType": "{ company_id?: string; created_at: string; email?: string; id: string; linkedin_url?: string; name: string; notes: string; org_id: string; phone?: string; title?: string; updated_at: string }",
|
|
969
|
+
"responseStatus": "201"
|
|
970
|
+
},
|
|
971
|
+
"getCrmContact": {
|
|
972
|
+
"operationId": "getCrmContact",
|
|
973
|
+
"method": "GET",
|
|
974
|
+
"path": "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
975
|
+
"summary": "Get a contact",
|
|
976
|
+
"description": "Get a contact.",
|
|
977
|
+
"parameters": [
|
|
978
|
+
{
|
|
979
|
+
"name": "org_id",
|
|
980
|
+
"in": "path",
|
|
981
|
+
"required": true,
|
|
982
|
+
"type": "string",
|
|
983
|
+
"description": "Unique organization identifier."
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "contact_id",
|
|
987
|
+
"in": "path",
|
|
988
|
+
"required": true,
|
|
989
|
+
"type": "string",
|
|
990
|
+
"description": "Unique CRM contact identifier (prefixed, e.g. cnt_xxx)."
|
|
991
|
+
}
|
|
992
|
+
],
|
|
993
|
+
"requestBodyType": "",
|
|
994
|
+
"requestBodyRequired": false,
|
|
995
|
+
"responseType": "{ company_id?: string; created_at: string; email?: string; id: string; linkedin_url?: string; name: string; notes: string; org_id: string; phone?: string; title?: string; updated_at: string }",
|
|
996
|
+
"responseStatus": "200"
|
|
997
|
+
},
|
|
998
|
+
"updateCrmContact": {
|
|
999
|
+
"operationId": "updateCrmContact",
|
|
1000
|
+
"method": "PUT",
|
|
1001
|
+
"path": "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
1002
|
+
"summary": "Update a contact",
|
|
1003
|
+
"description": "Update a contact.",
|
|
1004
|
+
"parameters": [
|
|
1005
|
+
{
|
|
1006
|
+
"name": "org_id",
|
|
1007
|
+
"in": "path",
|
|
1008
|
+
"required": true,
|
|
1009
|
+
"type": "string",
|
|
1010
|
+
"description": "Unique organization identifier."
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"name": "contact_id",
|
|
1014
|
+
"in": "path",
|
|
1015
|
+
"required": true,
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"description": "Unique CRM contact identifier (prefixed, e.g. cnt_xxx)."
|
|
1018
|
+
}
|
|
1019
|
+
],
|
|
1020
|
+
"requestBodyType": "{ company_id?: string; email?: string; linkedin_url?: string; name: string; notes?: string; phone?: string; title?: string }",
|
|
1021
|
+
"requestBodyRequired": true,
|
|
1022
|
+
"responseType": "{ company_id?: string; created_at: string; email?: string; id: string; linkedin_url?: string; name: string; notes: string; org_id: string; phone?: string; title?: string; updated_at: string }",
|
|
1023
|
+
"responseStatus": "200"
|
|
1024
|
+
},
|
|
1025
|
+
"deleteCrmContact": {
|
|
1026
|
+
"operationId": "deleteCrmContact",
|
|
1027
|
+
"method": "DELETE",
|
|
1028
|
+
"path": "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
1029
|
+
"summary": "Delete a contact",
|
|
1030
|
+
"description": "Delete a contact.",
|
|
1031
|
+
"parameters": [
|
|
1032
|
+
{
|
|
1033
|
+
"name": "org_id",
|
|
1034
|
+
"in": "path",
|
|
1035
|
+
"required": true,
|
|
1036
|
+
"type": "string",
|
|
1037
|
+
"description": "Unique organization identifier."
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "contact_id",
|
|
1041
|
+
"in": "path",
|
|
1042
|
+
"required": true,
|
|
1043
|
+
"type": "string",
|
|
1044
|
+
"description": "Unique CRM contact identifier (prefixed, e.g. cnt_xxx)."
|
|
1045
|
+
}
|
|
1046
|
+
],
|
|
1047
|
+
"requestBodyType": "",
|
|
1048
|
+
"requestBodyRequired": false,
|
|
1049
|
+
"responseType": "",
|
|
1050
|
+
"responseStatus": "204"
|
|
1051
|
+
},
|
|
1052
|
+
"listCrmDeals": {
|
|
1053
|
+
"operationId": "listCrmDeals",
|
|
1054
|
+
"method": "GET",
|
|
1055
|
+
"path": "/v1/organizations/{org_id}/crm/deals",
|
|
1056
|
+
"summary": "List deals",
|
|
1057
|
+
"description": "List deals.",
|
|
1058
|
+
"parameters": [
|
|
1059
|
+
{
|
|
1060
|
+
"name": "org_id",
|
|
1061
|
+
"in": "path",
|
|
1062
|
+
"required": true,
|
|
1063
|
+
"type": "string",
|
|
1064
|
+
"description": "Unique organization identifier."
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
"name": "page_size",
|
|
1068
|
+
"in": "query",
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"type": "number",
|
|
1071
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "page_token",
|
|
1075
|
+
"in": "query",
|
|
1076
|
+
"required": false,
|
|
1077
|
+
"type": "string",
|
|
1078
|
+
"description": "Opaque token for cursor-based pagination."
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"requestBodyType": "",
|
|
1082
|
+
"requestBodyRequired": false,
|
|
1083
|
+
"responseType": "{ deals: ({ amount_cents: number; close_date?: string; company_id?: string; created_at: string; currency: string; id: string; org_id: string; owner: string; primary_contact_id?: string; stage: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string; updated_at: string })[]; next_page_token?: string }",
|
|
1084
|
+
"responseStatus": "200"
|
|
1085
|
+
},
|
|
1086
|
+
"createCrmDeal": {
|
|
1087
|
+
"operationId": "createCrmDeal",
|
|
1088
|
+
"method": "POST",
|
|
1089
|
+
"path": "/v1/organizations/{org_id}/crm/deals",
|
|
1090
|
+
"summary": "Create a deal",
|
|
1091
|
+
"description": "Create a deal.",
|
|
1092
|
+
"parameters": [
|
|
1093
|
+
{
|
|
1094
|
+
"name": "org_id",
|
|
1095
|
+
"in": "path",
|
|
1096
|
+
"required": true,
|
|
1097
|
+
"type": "string",
|
|
1098
|
+
"description": "Unique organization identifier."
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
"requestBodyType": "{ amount_cents?: number; close_date?: string; company_id?: string; currency?: string; owner?: string; primary_contact_id?: string; stage?: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string }",
|
|
1102
|
+
"requestBodyRequired": true,
|
|
1103
|
+
"responseType": "{ amount_cents: number; close_date?: string; company_id?: string; created_at: string; currency: string; id: string; org_id: string; owner: string; primary_contact_id?: string; stage: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string; updated_at: string }",
|
|
1104
|
+
"responseStatus": "201"
|
|
1105
|
+
},
|
|
1106
|
+
"getCrmPipeline": {
|
|
1107
|
+
"operationId": "getCrmPipeline",
|
|
1108
|
+
"method": "GET",
|
|
1109
|
+
"path": "/v1/organizations/{org_id}/crm/pipeline",
|
|
1110
|
+
"summary": "Deal pipeline summary",
|
|
1111
|
+
"description": "Returns deal count and total value grouped by pipeline stage.",
|
|
1112
|
+
"parameters": [
|
|
1113
|
+
{
|
|
1114
|
+
"name": "org_id",
|
|
1115
|
+
"in": "path",
|
|
1116
|
+
"required": true,
|
|
1117
|
+
"type": "string",
|
|
1118
|
+
"description": "Unique organization identifier."
|
|
1119
|
+
}
|
|
1120
|
+
],
|
|
1121
|
+
"requestBodyType": "",
|
|
1122
|
+
"requestBodyRequired": false,
|
|
1123
|
+
"responseType": "{ stages: ({ deal_count: number; stage: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; total_amount_cents: number })[] }",
|
|
1124
|
+
"responseStatus": "200"
|
|
1125
|
+
},
|
|
1126
|
+
"getCrmDeal": {
|
|
1127
|
+
"operationId": "getCrmDeal",
|
|
1128
|
+
"method": "GET",
|
|
1129
|
+
"path": "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
1130
|
+
"summary": "Get a deal",
|
|
1131
|
+
"description": "Get a deal.",
|
|
1132
|
+
"parameters": [
|
|
1133
|
+
{
|
|
1134
|
+
"name": "org_id",
|
|
1135
|
+
"in": "path",
|
|
1136
|
+
"required": true,
|
|
1137
|
+
"type": "string",
|
|
1138
|
+
"description": "Unique organization identifier."
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"name": "deal_id",
|
|
1142
|
+
"in": "path",
|
|
1143
|
+
"required": true,
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
"description": "Unique CRM deal identifier (prefixed, e.g. dl_xxx)."
|
|
1146
|
+
}
|
|
1147
|
+
],
|
|
1148
|
+
"requestBodyType": "",
|
|
1149
|
+
"requestBodyRequired": false,
|
|
1150
|
+
"responseType": "{ amount_cents: number; close_date?: string; company_id?: string; created_at: string; currency: string; id: string; org_id: string; owner: string; primary_contact_id?: string; stage: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string; updated_at: string }",
|
|
1151
|
+
"responseStatus": "200"
|
|
1152
|
+
},
|
|
1153
|
+
"updateCrmDeal": {
|
|
1154
|
+
"operationId": "updateCrmDeal",
|
|
1155
|
+
"method": "PUT",
|
|
1156
|
+
"path": "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
1157
|
+
"summary": "Update a deal",
|
|
1158
|
+
"description": "Update a deal.",
|
|
1159
|
+
"parameters": [
|
|
1160
|
+
{
|
|
1161
|
+
"name": "org_id",
|
|
1162
|
+
"in": "path",
|
|
1163
|
+
"required": true,
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "Unique organization identifier."
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"name": "deal_id",
|
|
1169
|
+
"in": "path",
|
|
1170
|
+
"required": true,
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"description": "Unique CRM deal identifier (prefixed, e.g. dl_xxx)."
|
|
1173
|
+
}
|
|
1174
|
+
],
|
|
1175
|
+
"requestBodyType": "{ amount_cents?: number; close_date?: string; company_id?: string; currency?: string; owner?: string; primary_contact_id?: string; stage?: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string }",
|
|
1176
|
+
"requestBodyRequired": true,
|
|
1177
|
+
"responseType": "{ amount_cents: number; close_date?: string; company_id?: string; created_at: string; currency: string; id: string; org_id: string; owner: string; primary_contact_id?: string; stage: \"lead\" | \"qualified\" | \"proposal\" | \"negotiation\" | \"won\" | \"lost\"; title: string; updated_at: string }",
|
|
1178
|
+
"responseStatus": "200"
|
|
1179
|
+
},
|
|
1180
|
+
"deleteCrmDeal": {
|
|
1181
|
+
"operationId": "deleteCrmDeal",
|
|
1182
|
+
"method": "DELETE",
|
|
1183
|
+
"path": "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
1184
|
+
"summary": "Delete a deal",
|
|
1185
|
+
"description": "Delete a deal.",
|
|
1186
|
+
"parameters": [
|
|
1187
|
+
{
|
|
1188
|
+
"name": "org_id",
|
|
1189
|
+
"in": "path",
|
|
1190
|
+
"required": true,
|
|
1191
|
+
"type": "string",
|
|
1192
|
+
"description": "Unique organization identifier."
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"name": "deal_id",
|
|
1196
|
+
"in": "path",
|
|
1197
|
+
"required": true,
|
|
1198
|
+
"type": "string",
|
|
1199
|
+
"description": "Unique CRM deal identifier (prefixed, e.g. dl_xxx)."
|
|
1200
|
+
}
|
|
1201
|
+
],
|
|
1202
|
+
"requestBodyType": "",
|
|
1203
|
+
"requestBodyRequired": false,
|
|
1204
|
+
"responseType": "",
|
|
1205
|
+
"responseStatus": "204"
|
|
1206
|
+
},
|
|
1207
|
+
"listCrmResearchTasks": {
|
|
1208
|
+
"operationId": "listCrmResearchTasks",
|
|
1209
|
+
"method": "GET",
|
|
1210
|
+
"path": "/v1/organizations/{org_id}/crm/research-tasks",
|
|
1211
|
+
"summary": "List research tasks",
|
|
1212
|
+
"description": "List research tasks.",
|
|
1213
|
+
"parameters": [
|
|
1214
|
+
{
|
|
1215
|
+
"name": "org_id",
|
|
1216
|
+
"in": "path",
|
|
1217
|
+
"required": true,
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"description": "Unique organization identifier."
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "page_size",
|
|
1223
|
+
"in": "query",
|
|
1224
|
+
"required": false,
|
|
1225
|
+
"type": "number",
|
|
1226
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"name": "page_token",
|
|
1230
|
+
"in": "query",
|
|
1231
|
+
"required": false,
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"description": "Opaque token for cursor-based pagination."
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
"requestBodyType": "",
|
|
1237
|
+
"requestBodyRequired": false,
|
|
1238
|
+
"responseType": "{ next_page_token?: string; tasks: ({ approved_at?: string; attempts: number; created_at: string; error?: string; id: string; kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; max_attempts: number; org_id: string; priority: number; requires_approval: boolean; role: \"researcher\" | \"enricher\" | \"outreach\"; status: \"pending\" | \"leased\" | \"done\" | \"failed\" | \"canceled\" | \"awaiting_approval\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; updated_at: string })[] }",
|
|
1239
|
+
"responseStatus": "200"
|
|
1240
|
+
},
|
|
1241
|
+
"createCrmResearchTask": {
|
|
1242
|
+
"operationId": "createCrmResearchTask",
|
|
1243
|
+
"method": "POST",
|
|
1244
|
+
"path": "/v1/organizations/{org_id}/crm/research-tasks",
|
|
1245
|
+
"summary": "Enqueue a research task",
|
|
1246
|
+
"description": "Adds a task to the CRM research queue. The autonomous research worker leases pending tasks, enriches the subject entity, and writes results back.\n",
|
|
1247
|
+
"parameters": [
|
|
1248
|
+
{
|
|
1249
|
+
"name": "org_id",
|
|
1250
|
+
"in": "path",
|
|
1251
|
+
"required": true,
|
|
1252
|
+
"type": "string",
|
|
1253
|
+
"description": "Unique organization identifier."
|
|
1254
|
+
}
|
|
1255
|
+
],
|
|
1256
|
+
"requestBodyType": "{ kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; priority?: number; role?: \"researcher\" | \"enricher\" | \"outreach\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\" }",
|
|
1257
|
+
"requestBodyRequired": true,
|
|
1258
|
+
"responseType": "{ approved_at?: string; attempts: number; created_at: string; error?: string; id: string; kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; max_attempts: number; org_id: string; priority: number; requires_approval: boolean; role: \"researcher\" | \"enricher\" | \"outreach\"; status: \"pending\" | \"leased\" | \"done\" | \"failed\" | \"canceled\" | \"awaiting_approval\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; updated_at: string }",
|
|
1259
|
+
"responseStatus": "201"
|
|
1260
|
+
},
|
|
1261
|
+
"getCrmResearchTask": {
|
|
1262
|
+
"operationId": "getCrmResearchTask",
|
|
1263
|
+
"method": "GET",
|
|
1264
|
+
"path": "/v1/organizations/{org_id}/crm/research-tasks/{task_id}",
|
|
1265
|
+
"summary": "Get a research task",
|
|
1266
|
+
"description": "Get a research task.",
|
|
1267
|
+
"parameters": [
|
|
1268
|
+
{
|
|
1269
|
+
"name": "org_id",
|
|
1270
|
+
"in": "path",
|
|
1271
|
+
"required": true,
|
|
1272
|
+
"type": "string",
|
|
1273
|
+
"description": "Unique organization identifier."
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"name": "task_id",
|
|
1277
|
+
"in": "path",
|
|
1278
|
+
"required": true,
|
|
1279
|
+
"type": "string",
|
|
1280
|
+
"description": "Unique CRM research task identifier (prefixed, e.g. ctk_xxx)."
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"requestBodyType": "",
|
|
1284
|
+
"requestBodyRequired": false,
|
|
1285
|
+
"responseType": "{ approved_at?: string; attempts: number; created_at: string; error?: string; id: string; kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; max_attempts: number; org_id: string; priority: number; requires_approval: boolean; role: \"researcher\" | \"enricher\" | \"outreach\"; status: \"pending\" | \"leased\" | \"done\" | \"failed\" | \"canceled\" | \"awaiting_approval\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; updated_at: string }",
|
|
1286
|
+
"responseStatus": "200"
|
|
1287
|
+
},
|
|
1288
|
+
"cancelCrmResearchTask": {
|
|
1289
|
+
"operationId": "cancelCrmResearchTask",
|
|
1290
|
+
"method": "POST",
|
|
1291
|
+
"path": "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/cancel",
|
|
1292
|
+
"summary": "Cancel a research task",
|
|
1293
|
+
"description": "Cancels a pending or leased task. Terminal tasks are unaffected.",
|
|
1294
|
+
"parameters": [
|
|
1295
|
+
{
|
|
1296
|
+
"name": "org_id",
|
|
1297
|
+
"in": "path",
|
|
1298
|
+
"required": true,
|
|
1299
|
+
"type": "string",
|
|
1300
|
+
"description": "Unique organization identifier."
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"name": "task_id",
|
|
1304
|
+
"in": "path",
|
|
1305
|
+
"required": true,
|
|
1306
|
+
"type": "string",
|
|
1307
|
+
"description": "Unique CRM research task identifier (prefixed, e.g. ctk_xxx)."
|
|
1308
|
+
}
|
|
1309
|
+
],
|
|
1310
|
+
"requestBodyType": "",
|
|
1311
|
+
"requestBodyRequired": false,
|
|
1312
|
+
"responseType": "{ approved_at?: string; attempts: number; created_at: string; error?: string; id: string; kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; max_attempts: number; org_id: string; priority: number; requires_approval: boolean; role: \"researcher\" | \"enricher\" | \"outreach\"; status: \"pending\" | \"leased\" | \"done\" | \"failed\" | \"canceled\" | \"awaiting_approval\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; updated_at: string }",
|
|
1313
|
+
"responseStatus": "200"
|
|
1314
|
+
},
|
|
1315
|
+
"getCrmContext": {
|
|
1316
|
+
"operationId": "getCrmContext",
|
|
1317
|
+
"method": "GET",
|
|
1318
|
+
"path": "/v1/organizations/{org_id}/crm/context",
|
|
1319
|
+
"summary": "Get the org CRM context",
|
|
1320
|
+
"description": "Returns the shared CRM context document for the organization.",
|
|
1321
|
+
"parameters": [
|
|
1322
|
+
{
|
|
1323
|
+
"name": "org_id",
|
|
1324
|
+
"in": "path",
|
|
1325
|
+
"required": true,
|
|
1326
|
+
"type": "string",
|
|
1327
|
+
"description": "Unique organization identifier."
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"requestBodyType": "",
|
|
1331
|
+
"requestBodyRequired": false,
|
|
1332
|
+
"responseType": "{ icp: string; notes: string; org_id: string; positioning: string; tone: string; updated_at: string }",
|
|
1333
|
+
"responseStatus": "200"
|
|
1334
|
+
},
|
|
1335
|
+
"updateCrmContext": {
|
|
1336
|
+
"operationId": "updateCrmContext",
|
|
1337
|
+
"method": "PUT",
|
|
1338
|
+
"path": "/v1/organizations/{org_id}/crm/context",
|
|
1339
|
+
"summary": "Update the org CRM context",
|
|
1340
|
+
"description": "Creates or updates the shared CRM context document.",
|
|
1341
|
+
"parameters": [
|
|
1342
|
+
{
|
|
1343
|
+
"name": "org_id",
|
|
1344
|
+
"in": "path",
|
|
1345
|
+
"required": true,
|
|
1346
|
+
"type": "string",
|
|
1347
|
+
"description": "Unique organization identifier."
|
|
1348
|
+
}
|
|
1349
|
+
],
|
|
1350
|
+
"requestBodyType": "{ icp?: string; notes?: string; positioning?: string; tone?: string }",
|
|
1351
|
+
"requestBodyRequired": true,
|
|
1352
|
+
"responseType": "{ icp: string; notes: string; org_id: string; positioning: string; tone: string; updated_at: string }",
|
|
1353
|
+
"responseStatus": "200"
|
|
1354
|
+
},
|
|
1355
|
+
"approveCrmResearchTask": {
|
|
1356
|
+
"operationId": "approveCrmResearchTask",
|
|
1357
|
+
"method": "POST",
|
|
1358
|
+
"path": "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/approve",
|
|
1359
|
+
"summary": "Approve a research task",
|
|
1360
|
+
"description": "Approves a task that is awaiting approval (an irreversible action). The task flips to pending and is then run by the worker.\n",
|
|
1361
|
+
"parameters": [
|
|
1362
|
+
{
|
|
1363
|
+
"name": "org_id",
|
|
1364
|
+
"in": "path",
|
|
1365
|
+
"required": true,
|
|
1366
|
+
"type": "string",
|
|
1367
|
+
"description": "Unique organization identifier."
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "task_id",
|
|
1371
|
+
"in": "path",
|
|
1372
|
+
"required": true,
|
|
1373
|
+
"type": "string",
|
|
1374
|
+
"description": "Unique CRM research task identifier (prefixed, e.g. ctk_xxx)."
|
|
1375
|
+
}
|
|
1376
|
+
],
|
|
1377
|
+
"requestBodyType": "",
|
|
1378
|
+
"requestBodyRequired": false,
|
|
1379
|
+
"responseType": "{ approved_at?: string; attempts: number; created_at: string; error?: string; id: string; kind: \"enrich_company\" | \"enrich_contact\" | \"research_deal\" | \"draft_outreach\" | \"send_outreach\" | \"custom\"; max_attempts: number; org_id: string; priority: number; requires_approval: boolean; role: \"researcher\" | \"enricher\" | \"outreach\"; status: \"pending\" | \"leased\" | \"done\" | \"failed\" | \"canceled\" | \"awaiting_approval\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; updated_at: string }",
|
|
1380
|
+
"responseStatus": "200"
|
|
1381
|
+
},
|
|
1382
|
+
"listCrmArtifacts": {
|
|
1383
|
+
"operationId": "listCrmArtifacts",
|
|
1384
|
+
"method": "GET",
|
|
1385
|
+
"path": "/v1/organizations/{org_id}/crm/artifacts",
|
|
1386
|
+
"summary": "List artifacts",
|
|
1387
|
+
"description": "Lists agent-produced artifacts for the organization.",
|
|
1388
|
+
"parameters": [
|
|
1389
|
+
{
|
|
1390
|
+
"name": "org_id",
|
|
1391
|
+
"in": "path",
|
|
1392
|
+
"required": true,
|
|
1393
|
+
"type": "string",
|
|
1394
|
+
"description": "Unique organization identifier."
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "page_size",
|
|
1398
|
+
"in": "query",
|
|
1399
|
+
"required": false,
|
|
1400
|
+
"type": "number",
|
|
1401
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
1402
|
+
},
|
|
1403
|
+
{
|
|
1404
|
+
"name": "page_token",
|
|
1405
|
+
"in": "query",
|
|
1406
|
+
"required": false,
|
|
1407
|
+
"type": "string",
|
|
1408
|
+
"description": "Opaque token for cursor-based pagination."
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
"requestBodyType": "",
|
|
1412
|
+
"requestBodyRequired": false,
|
|
1413
|
+
"responseType": "{ artifacts: ({ body: string; created_at: string; id: string; kind: string; org_id: string; status: \"draft\" | \"approved\" | \"sent\" | \"discarded\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; task_id?: string; title: string; updated_at: string })[]; next_page_token?: string }",
|
|
1414
|
+
"responseStatus": "200"
|
|
1415
|
+
},
|
|
1416
|
+
"getCrmArtifact": {
|
|
1417
|
+
"operationId": "getCrmArtifact",
|
|
1418
|
+
"method": "GET",
|
|
1419
|
+
"path": "/v1/organizations/{org_id}/crm/artifacts/{artifact_id}",
|
|
1420
|
+
"summary": "Get an artifact",
|
|
1421
|
+
"description": "Returns a single artifact by ID.",
|
|
1422
|
+
"parameters": [
|
|
1423
|
+
{
|
|
1424
|
+
"name": "org_id",
|
|
1425
|
+
"in": "path",
|
|
1426
|
+
"required": true,
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"description": "Unique organization identifier."
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "artifact_id",
|
|
1432
|
+
"in": "path",
|
|
1433
|
+
"required": true,
|
|
1434
|
+
"type": "string",
|
|
1435
|
+
"description": "Unique CRM artifact identifier (prefixed, e.g. art_xxx)."
|
|
1436
|
+
}
|
|
1437
|
+
],
|
|
1438
|
+
"requestBodyType": "",
|
|
1439
|
+
"requestBodyRequired": false,
|
|
1440
|
+
"responseType": "{ body: string; created_at: string; id: string; kind: string; org_id: string; status: \"draft\" | \"approved\" | \"sent\" | \"discarded\"; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; task_id?: string; title: string; updated_at: string }",
|
|
1441
|
+
"responseStatus": "200"
|
|
1442
|
+
},
|
|
1443
|
+
"listCrmActivities": {
|
|
1444
|
+
"operationId": "listCrmActivities",
|
|
1445
|
+
"method": "GET",
|
|
1446
|
+
"path": "/v1/organizations/{org_id}/crm/activities",
|
|
1447
|
+
"summary": "List activities",
|
|
1448
|
+
"description": "Lists the organization's most recent CRM activity, newest first.",
|
|
1449
|
+
"parameters": [
|
|
1450
|
+
{
|
|
1451
|
+
"name": "org_id",
|
|
1452
|
+
"in": "path",
|
|
1453
|
+
"required": true,
|
|
1454
|
+
"type": "string",
|
|
1455
|
+
"description": "Unique organization identifier."
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"name": "page_size",
|
|
1459
|
+
"in": "query",
|
|
1460
|
+
"required": false,
|
|
1461
|
+
"type": "number",
|
|
1462
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
1463
|
+
}
|
|
1464
|
+
],
|
|
1465
|
+
"requestBodyType": "",
|
|
1466
|
+
"requestBodyRequired": false,
|
|
1467
|
+
"responseType": "{ activities: ({ actor: string; at: string; id: string; org_id: string; subject_id: string; subject_type: \"company\" | \"contact\" | \"deal\"; verb: string })[] }",
|
|
1468
|
+
"responseStatus": "200"
|
|
1469
|
+
},
|
|
782
1470
|
"listDatabases": {
|
|
783
1471
|
"operationId": "listDatabases",
|
|
784
1472
|
"method": "GET",
|
|
@@ -1757,6 +2445,101 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
1757
2445
|
"responseType": "",
|
|
1758
2446
|
"responseStatus": "204"
|
|
1759
2447
|
},
|
|
2448
|
+
"listSchemaAnnotations": {
|
|
2449
|
+
"operationId": "listSchemaAnnotations",
|
|
2450
|
+
"method": "GET",
|
|
2451
|
+
"path": "/v1/projects/{project_id}/schema-annotations",
|
|
2452
|
+
"summary": "List schema annotations",
|
|
2453
|
+
"description": "Lists the project's human-written table and column descriptions. These are surfaced to connected agents through the MCP schema catalog.\n",
|
|
2454
|
+
"parameters": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "project_id",
|
|
2457
|
+
"in": "path",
|
|
2458
|
+
"required": true,
|
|
2459
|
+
"type": "string",
|
|
2460
|
+
"description": "Unique project identifier (prefixed, e.g. prj_xxx)."
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"name": "page_size",
|
|
2464
|
+
"in": "query",
|
|
2465
|
+
"required": false,
|
|
2466
|
+
"type": "number",
|
|
2467
|
+
"description": "Maximum number of items to return (1-100, default 20)."
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "page_token",
|
|
2471
|
+
"in": "query",
|
|
2472
|
+
"required": false,
|
|
2473
|
+
"type": "string",
|
|
2474
|
+
"description": "Opaque token for cursor-based pagination."
|
|
2475
|
+
}
|
|
2476
|
+
],
|
|
2477
|
+
"requestBodyType": "",
|
|
2478
|
+
"requestBodyRequired": false,
|
|
2479
|
+
"responseType": "{ annotations: ({ column_name?: string; created_at: string; description: string; id: string; project_id: string; schema_name?: string; table_name: string; updated_at: string })[]; next_page_token?: string }",
|
|
2480
|
+
"responseStatus": "200"
|
|
2481
|
+
},
|
|
2482
|
+
"putSchemaAnnotation": {
|
|
2483
|
+
"operationId": "putSchemaAnnotation",
|
|
2484
|
+
"method": "PUT",
|
|
2485
|
+
"path": "/v1/projects/{project_id}/schema-annotations",
|
|
2486
|
+
"summary": "Create or replace a schema annotation",
|
|
2487
|
+
"description": "Attaches an operator-written description to a table (omit column_name) or a column. Keyed by (schema_name, table_name, column_name); an existing annotation with the same key is replaced.\n",
|
|
2488
|
+
"parameters": [
|
|
2489
|
+
{
|
|
2490
|
+
"name": "project_id",
|
|
2491
|
+
"in": "path",
|
|
2492
|
+
"required": true,
|
|
2493
|
+
"type": "string",
|
|
2494
|
+
"description": "Unique project identifier (prefixed, e.g. prj_xxx)."
|
|
2495
|
+
}
|
|
2496
|
+
],
|
|
2497
|
+
"requestBodyType": "{ column_name?: string; description: string; schema_name?: string; table_name: string }",
|
|
2498
|
+
"requestBodyRequired": true,
|
|
2499
|
+
"responseType": "{ column_name?: string; created_at: string; description: string; id: string; project_id: string; schema_name?: string; table_name: string; updated_at: string }",
|
|
2500
|
+
"responseStatus": "200"
|
|
2501
|
+
},
|
|
2502
|
+
"deleteSchemaAnnotation": {
|
|
2503
|
+
"operationId": "deleteSchemaAnnotation",
|
|
2504
|
+
"method": "DELETE",
|
|
2505
|
+
"path": "/v1/projects/{project_id}/schema-annotations",
|
|
2506
|
+
"summary": "Delete a schema annotation",
|
|
2507
|
+
"description": "Removes a single annotation identified by its natural key. Omit column_name to delete a table-level annotation, and omit schema_name to match the unqualified form.\n",
|
|
2508
|
+
"parameters": [
|
|
2509
|
+
{
|
|
2510
|
+
"name": "project_id",
|
|
2511
|
+
"in": "path",
|
|
2512
|
+
"required": true,
|
|
2513
|
+
"type": "string",
|
|
2514
|
+
"description": "Unique project identifier (prefixed, e.g. prj_xxx)."
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
"name": "table_name",
|
|
2518
|
+
"in": "query",
|
|
2519
|
+
"required": true,
|
|
2520
|
+
"type": "string",
|
|
2521
|
+
"description": "Relation (table or view) the annotation describes."
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"name": "schema_name",
|
|
2525
|
+
"in": "query",
|
|
2526
|
+
"required": false,
|
|
2527
|
+
"type": "string",
|
|
2528
|
+
"description": "Optional schema. Omit to match the unqualified form."
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"name": "column_name",
|
|
2532
|
+
"in": "query",
|
|
2533
|
+
"required": false,
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"description": "Optional column. Omit to delete a table-level annotation."
|
|
2536
|
+
}
|
|
2537
|
+
],
|
|
2538
|
+
"requestBodyType": "",
|
|
2539
|
+
"requestBodyRequired": false,
|
|
2540
|
+
"responseType": "",
|
|
2541
|
+
"responseStatus": "204"
|
|
2542
|
+
},
|
|
1760
2543
|
"listSelfHostEnrollments": {
|
|
1761
2544
|
"operationId": "listSelfHostEnrollments",
|
|
1762
2545
|
"method": "GET",
|
|
@@ -2468,6 +3251,112 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2468
3251
|
path: "/v1/databases/{database_id}/replicas/{replica_id}"
|
|
2469
3252
|
}
|
|
2470
3253
|
},
|
|
3254
|
+
crm: {
|
|
3255
|
+
listCrmCompanies: {
|
|
3256
|
+
method: "GET",
|
|
3257
|
+
path: "/v1/organizations/{org_id}/crm/companies"
|
|
3258
|
+
},
|
|
3259
|
+
createCrmCompany: {
|
|
3260
|
+
method: "POST",
|
|
3261
|
+
path: "/v1/organizations/{org_id}/crm/companies"
|
|
3262
|
+
},
|
|
3263
|
+
getCrmCompany: {
|
|
3264
|
+
method: "GET",
|
|
3265
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}"
|
|
3266
|
+
},
|
|
3267
|
+
updateCrmCompany: {
|
|
3268
|
+
method: "PUT",
|
|
3269
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}"
|
|
3270
|
+
},
|
|
3271
|
+
deleteCrmCompany: {
|
|
3272
|
+
method: "DELETE",
|
|
3273
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}"
|
|
3274
|
+
},
|
|
3275
|
+
listCrmContacts: {
|
|
3276
|
+
method: "GET",
|
|
3277
|
+
path: "/v1/organizations/{org_id}/crm/contacts"
|
|
3278
|
+
},
|
|
3279
|
+
createCrmContact: {
|
|
3280
|
+
method: "POST",
|
|
3281
|
+
path: "/v1/organizations/{org_id}/crm/contacts"
|
|
3282
|
+
},
|
|
3283
|
+
getCrmContact: {
|
|
3284
|
+
method: "GET",
|
|
3285
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}"
|
|
3286
|
+
},
|
|
3287
|
+
updateCrmContact: {
|
|
3288
|
+
method: "PUT",
|
|
3289
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}"
|
|
3290
|
+
},
|
|
3291
|
+
deleteCrmContact: {
|
|
3292
|
+
method: "DELETE",
|
|
3293
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}"
|
|
3294
|
+
},
|
|
3295
|
+
listCrmDeals: {
|
|
3296
|
+
method: "GET",
|
|
3297
|
+
path: "/v1/organizations/{org_id}/crm/deals"
|
|
3298
|
+
},
|
|
3299
|
+
createCrmDeal: {
|
|
3300
|
+
method: "POST",
|
|
3301
|
+
path: "/v1/organizations/{org_id}/crm/deals"
|
|
3302
|
+
},
|
|
3303
|
+
getCrmPipeline: {
|
|
3304
|
+
method: "GET",
|
|
3305
|
+
path: "/v1/organizations/{org_id}/crm/pipeline"
|
|
3306
|
+
},
|
|
3307
|
+
getCrmDeal: {
|
|
3308
|
+
method: "GET",
|
|
3309
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}"
|
|
3310
|
+
},
|
|
3311
|
+
updateCrmDeal: {
|
|
3312
|
+
method: "PUT",
|
|
3313
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}"
|
|
3314
|
+
},
|
|
3315
|
+
deleteCrmDeal: {
|
|
3316
|
+
method: "DELETE",
|
|
3317
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}"
|
|
3318
|
+
},
|
|
3319
|
+
listCrmResearchTasks: {
|
|
3320
|
+
method: "GET",
|
|
3321
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks"
|
|
3322
|
+
},
|
|
3323
|
+
createCrmResearchTask: {
|
|
3324
|
+
method: "POST",
|
|
3325
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks"
|
|
3326
|
+
},
|
|
3327
|
+
getCrmResearchTask: {
|
|
3328
|
+
method: "GET",
|
|
3329
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}"
|
|
3330
|
+
},
|
|
3331
|
+
cancelCrmResearchTask: {
|
|
3332
|
+
method: "POST",
|
|
3333
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/cancel"
|
|
3334
|
+
},
|
|
3335
|
+
getCrmContext: {
|
|
3336
|
+
method: "GET",
|
|
3337
|
+
path: "/v1/organizations/{org_id}/crm/context"
|
|
3338
|
+
},
|
|
3339
|
+
updateCrmContext: {
|
|
3340
|
+
method: "PUT",
|
|
3341
|
+
path: "/v1/organizations/{org_id}/crm/context"
|
|
3342
|
+
},
|
|
3343
|
+
approveCrmResearchTask: {
|
|
3344
|
+
method: "POST",
|
|
3345
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/approve"
|
|
3346
|
+
},
|
|
3347
|
+
listCrmArtifacts: {
|
|
3348
|
+
method: "GET",
|
|
3349
|
+
path: "/v1/organizations/{org_id}/crm/artifacts"
|
|
3350
|
+
},
|
|
3351
|
+
getCrmArtifact: {
|
|
3352
|
+
method: "GET",
|
|
3353
|
+
path: "/v1/organizations/{org_id}/crm/artifacts/{artifact_id}"
|
|
3354
|
+
},
|
|
3355
|
+
listCrmActivities: {
|
|
3356
|
+
method: "GET",
|
|
3357
|
+
path: "/v1/organizations/{org_id}/crm/activities"
|
|
3358
|
+
}
|
|
3359
|
+
},
|
|
2471
3360
|
databases: {
|
|
2472
3361
|
listDatabases: {
|
|
2473
3362
|
method: "GET",
|
|
@@ -2556,6 +3445,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
2556
3445
|
path: "/v1/projects/{project_id}/migrations:lint"
|
|
2557
3446
|
}
|
|
2558
3447
|
},
|
|
3448
|
+
schemaAnnotations: {
|
|
3449
|
+
listSchemaAnnotations: {
|
|
3450
|
+
method: "GET",
|
|
3451
|
+
path: "/v1/projects/{project_id}/schema-annotations"
|
|
3452
|
+
},
|
|
3453
|
+
putSchemaAnnotation: {
|
|
3454
|
+
method: "PUT",
|
|
3455
|
+
path: "/v1/projects/{project_id}/schema-annotations"
|
|
3456
|
+
},
|
|
3457
|
+
deleteSchemaAnnotation: {
|
|
3458
|
+
method: "DELETE",
|
|
3459
|
+
path: "/v1/projects/{project_id}/schema-annotations"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
2559
3462
|
support: {
|
|
2560
3463
|
listSupportCases: {
|
|
2561
3464
|
method: "GET",
|
|
@@ -2737,6 +3640,136 @@ const operationsByPath = {
|
|
|
2737
3640
|
path: "/v1/projects/{project_id}/databases/{database_id}/cache-rules/{query_hash}",
|
|
2738
3641
|
operationId: "updateCacheRule"
|
|
2739
3642
|
},
|
|
3643
|
+
"GET /v1/organizations/{org_id}/crm/companies": {
|
|
3644
|
+
method: "GET",
|
|
3645
|
+
path: "/v1/organizations/{org_id}/crm/companies",
|
|
3646
|
+
operationId: "listCrmCompanies"
|
|
3647
|
+
},
|
|
3648
|
+
"POST /v1/organizations/{org_id}/crm/companies": {
|
|
3649
|
+
method: "POST",
|
|
3650
|
+
path: "/v1/organizations/{org_id}/crm/companies",
|
|
3651
|
+
operationId: "createCrmCompany"
|
|
3652
|
+
},
|
|
3653
|
+
"GET /v1/organizations/{org_id}/crm/companies/{company_id}": {
|
|
3654
|
+
method: "GET",
|
|
3655
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
3656
|
+
operationId: "getCrmCompany"
|
|
3657
|
+
},
|
|
3658
|
+
"PUT /v1/organizations/{org_id}/crm/companies/{company_id}": {
|
|
3659
|
+
method: "PUT",
|
|
3660
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
3661
|
+
operationId: "updateCrmCompany"
|
|
3662
|
+
},
|
|
3663
|
+
"DELETE /v1/organizations/{org_id}/crm/companies/{company_id}": {
|
|
3664
|
+
method: "DELETE",
|
|
3665
|
+
path: "/v1/organizations/{org_id}/crm/companies/{company_id}",
|
|
3666
|
+
operationId: "deleteCrmCompany"
|
|
3667
|
+
},
|
|
3668
|
+
"GET /v1/organizations/{org_id}/crm/contacts": {
|
|
3669
|
+
method: "GET",
|
|
3670
|
+
path: "/v1/organizations/{org_id}/crm/contacts",
|
|
3671
|
+
operationId: "listCrmContacts"
|
|
3672
|
+
},
|
|
3673
|
+
"POST /v1/organizations/{org_id}/crm/contacts": {
|
|
3674
|
+
method: "POST",
|
|
3675
|
+
path: "/v1/organizations/{org_id}/crm/contacts",
|
|
3676
|
+
operationId: "createCrmContact"
|
|
3677
|
+
},
|
|
3678
|
+
"GET /v1/organizations/{org_id}/crm/contacts/{contact_id}": {
|
|
3679
|
+
method: "GET",
|
|
3680
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
3681
|
+
operationId: "getCrmContact"
|
|
3682
|
+
},
|
|
3683
|
+
"PUT /v1/organizations/{org_id}/crm/contacts/{contact_id}": {
|
|
3684
|
+
method: "PUT",
|
|
3685
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
3686
|
+
operationId: "updateCrmContact"
|
|
3687
|
+
},
|
|
3688
|
+
"DELETE /v1/organizations/{org_id}/crm/contacts/{contact_id}": {
|
|
3689
|
+
method: "DELETE",
|
|
3690
|
+
path: "/v1/organizations/{org_id}/crm/contacts/{contact_id}",
|
|
3691
|
+
operationId: "deleteCrmContact"
|
|
3692
|
+
},
|
|
3693
|
+
"GET /v1/organizations/{org_id}/crm/deals": {
|
|
3694
|
+
method: "GET",
|
|
3695
|
+
path: "/v1/organizations/{org_id}/crm/deals",
|
|
3696
|
+
operationId: "listCrmDeals"
|
|
3697
|
+
},
|
|
3698
|
+
"POST /v1/organizations/{org_id}/crm/deals": {
|
|
3699
|
+
method: "POST",
|
|
3700
|
+
path: "/v1/organizations/{org_id}/crm/deals",
|
|
3701
|
+
operationId: "createCrmDeal"
|
|
3702
|
+
},
|
|
3703
|
+
"GET /v1/organizations/{org_id}/crm/pipeline": {
|
|
3704
|
+
method: "GET",
|
|
3705
|
+
path: "/v1/organizations/{org_id}/crm/pipeline",
|
|
3706
|
+
operationId: "getCrmPipeline"
|
|
3707
|
+
},
|
|
3708
|
+
"GET /v1/organizations/{org_id}/crm/deals/{deal_id}": {
|
|
3709
|
+
method: "GET",
|
|
3710
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
3711
|
+
operationId: "getCrmDeal"
|
|
3712
|
+
},
|
|
3713
|
+
"PUT /v1/organizations/{org_id}/crm/deals/{deal_id}": {
|
|
3714
|
+
method: "PUT",
|
|
3715
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
3716
|
+
operationId: "updateCrmDeal"
|
|
3717
|
+
},
|
|
3718
|
+
"DELETE /v1/organizations/{org_id}/crm/deals/{deal_id}": {
|
|
3719
|
+
method: "DELETE",
|
|
3720
|
+
path: "/v1/organizations/{org_id}/crm/deals/{deal_id}",
|
|
3721
|
+
operationId: "deleteCrmDeal"
|
|
3722
|
+
},
|
|
3723
|
+
"GET /v1/organizations/{org_id}/crm/research-tasks": {
|
|
3724
|
+
method: "GET",
|
|
3725
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks",
|
|
3726
|
+
operationId: "listCrmResearchTasks"
|
|
3727
|
+
},
|
|
3728
|
+
"POST /v1/organizations/{org_id}/crm/research-tasks": {
|
|
3729
|
+
method: "POST",
|
|
3730
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks",
|
|
3731
|
+
operationId: "createCrmResearchTask"
|
|
3732
|
+
},
|
|
3733
|
+
"GET /v1/organizations/{org_id}/crm/research-tasks/{task_id}": {
|
|
3734
|
+
method: "GET",
|
|
3735
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}",
|
|
3736
|
+
operationId: "getCrmResearchTask"
|
|
3737
|
+
},
|
|
3738
|
+
"POST /v1/organizations/{org_id}/crm/research-tasks/{task_id}/cancel": {
|
|
3739
|
+
method: "POST",
|
|
3740
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/cancel",
|
|
3741
|
+
operationId: "cancelCrmResearchTask"
|
|
3742
|
+
},
|
|
3743
|
+
"GET /v1/organizations/{org_id}/crm/context": {
|
|
3744
|
+
method: "GET",
|
|
3745
|
+
path: "/v1/organizations/{org_id}/crm/context",
|
|
3746
|
+
operationId: "getCrmContext"
|
|
3747
|
+
},
|
|
3748
|
+
"PUT /v1/organizations/{org_id}/crm/context": {
|
|
3749
|
+
method: "PUT",
|
|
3750
|
+
path: "/v1/organizations/{org_id}/crm/context",
|
|
3751
|
+
operationId: "updateCrmContext"
|
|
3752
|
+
},
|
|
3753
|
+
"POST /v1/organizations/{org_id}/crm/research-tasks/{task_id}/approve": {
|
|
3754
|
+
method: "POST",
|
|
3755
|
+
path: "/v1/organizations/{org_id}/crm/research-tasks/{task_id}/approve",
|
|
3756
|
+
operationId: "approveCrmResearchTask"
|
|
3757
|
+
},
|
|
3758
|
+
"GET /v1/organizations/{org_id}/crm/artifacts": {
|
|
3759
|
+
method: "GET",
|
|
3760
|
+
path: "/v1/organizations/{org_id}/crm/artifacts",
|
|
3761
|
+
operationId: "listCrmArtifacts"
|
|
3762
|
+
},
|
|
3763
|
+
"GET /v1/organizations/{org_id}/crm/artifacts/{artifact_id}": {
|
|
3764
|
+
method: "GET",
|
|
3765
|
+
path: "/v1/organizations/{org_id}/crm/artifacts/{artifact_id}",
|
|
3766
|
+
operationId: "getCrmArtifact"
|
|
3767
|
+
},
|
|
3768
|
+
"GET /v1/organizations/{org_id}/crm/activities": {
|
|
3769
|
+
method: "GET",
|
|
3770
|
+
path: "/v1/organizations/{org_id}/crm/activities",
|
|
3771
|
+
operationId: "listCrmActivities"
|
|
3772
|
+
},
|
|
2740
3773
|
"GET /v1/projects/{project_id}/databases": {
|
|
2741
3774
|
method: "GET",
|
|
2742
3775
|
path: "/v1/projects/{project_id}/databases",
|
|
@@ -2937,6 +3970,21 @@ const operationsByPath = {
|
|
|
2937
3970
|
path: "/v1/databases/{database_id}/replicas/{replica_id}",
|
|
2938
3971
|
operationId: "deleteReplica"
|
|
2939
3972
|
},
|
|
3973
|
+
"GET /v1/projects/{project_id}/schema-annotations": {
|
|
3974
|
+
method: "GET",
|
|
3975
|
+
path: "/v1/projects/{project_id}/schema-annotations",
|
|
3976
|
+
operationId: "listSchemaAnnotations"
|
|
3977
|
+
},
|
|
3978
|
+
"PUT /v1/projects/{project_id}/schema-annotations": {
|
|
3979
|
+
method: "PUT",
|
|
3980
|
+
path: "/v1/projects/{project_id}/schema-annotations",
|
|
3981
|
+
operationId: "putSchemaAnnotation"
|
|
3982
|
+
},
|
|
3983
|
+
"DELETE /v1/projects/{project_id}/schema-annotations": {
|
|
3984
|
+
method: "DELETE",
|
|
3985
|
+
path: "/v1/projects/{project_id}/schema-annotations",
|
|
3986
|
+
operationId: "deleteSchemaAnnotation"
|
|
3987
|
+
},
|
|
2940
3988
|
"GET /v1/organizations/{org_id}/self-host-enrollments": {
|
|
2941
3989
|
method: "GET",
|
|
2942
3990
|
path: "/v1/organizations/{org_id}/self-host-enrollments",
|