@apteva/integrations 0.3.48 → 0.3.60
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/http-executor.d.ts +1 -0
- package/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +128 -5
- package/dist/http-executor.js.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/deepgram.json +347 -0
- package/src/apps/disify.json +47 -0
- package/src/apps/gigs-marketplace.json +34 -245
- package/src/apps/gmail.json +478 -1
- package/src/apps/google-ads.json +1 -1
- package/src/apps/google-docs.json +382 -78
- package/src/apps/google-drive.json +333 -28
- package/src/apps/google-sheets.json +1 -1
- package/src/apps/heygen.json +713 -516
- package/src/apps/omnikit-intelligence.json +22 -7
- package/src/apps/omnikit-sites.json +246 -0
- package/src/apps/socialcast.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "disify",
|
|
3
|
+
"name": "Disify",
|
|
4
|
+
"description": "Free email + domain validation API. Checks syntax, DNS/MX records, and disposable-provider blocklist. No API key required, no rate limit published.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=disify.com&sz=128",
|
|
6
|
+
"categories": ["email", "validation", "deliverability", "anti-fraud"],
|
|
7
|
+
"base_url": "https://disify.com",
|
|
8
|
+
"auth": {
|
|
9
|
+
"types": ["none"],
|
|
10
|
+
"headers": {},
|
|
11
|
+
"credential_fields": []
|
|
12
|
+
},
|
|
13
|
+
"tools": [
|
|
14
|
+
{
|
|
15
|
+
"name": "check_email",
|
|
16
|
+
"description": "Validate a single email address. Returns whether the format is correct, whether the domain resolves with valid MX records, whether it is a disposable/throwaway provider, and whether it is an alias (e.g. Gmail plus-addressing). Use this before accepting an email at signup or before sending transactional mail.",
|
|
17
|
+
"method": "GET",
|
|
18
|
+
"path": "/api/email/{email}",
|
|
19
|
+
"input_schema": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"email": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"description": "Email address to validate (e.g. user@example.com)"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": ["email"]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "check_domain",
|
|
32
|
+
"description": "Validate just an email domain — syntax, DNS resolution, MX records, and whether it is a known disposable provider. Cheaper than check_email when you only have a domain to screen.",
|
|
33
|
+
"method": "GET",
|
|
34
|
+
"path": "/api/domain/{domain}",
|
|
35
|
+
"input_schema": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"domain": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"description": "Domain to validate (e.g. example.com)"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": ["domain"]
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"name": "get_gig_details",
|
|
141
141
|
"description": "Get detailed information about a specific gig",
|
|
142
142
|
"method": "GET",
|
|
143
|
-
"path": "/gigs
|
|
143
|
+
"path": "/gigs/{id}",
|
|
144
144
|
"input_schema": {
|
|
145
145
|
"type": "object",
|
|
146
146
|
"properties": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"name": "assign_gig",
|
|
159
159
|
"description": "Assign a gig to a worker (client only)",
|
|
160
160
|
"method": "POST",
|
|
161
|
-
"path": "/gigs
|
|
161
|
+
"path": "/gigs/{id}/assign",
|
|
162
162
|
"input_schema": {
|
|
163
163
|
"type": "object",
|
|
164
164
|
"properties": {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"name": "update_gig_status",
|
|
186
186
|
"description": "Update the status of a gig",
|
|
187
187
|
"method": "PUT",
|
|
188
|
-
"path": "/gigs
|
|
188
|
+
"path": "/gigs/{id}/status",
|
|
189
189
|
"input_schema": {
|
|
190
190
|
"type": "object",
|
|
191
191
|
"properties": {
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"name": "update_gig",
|
|
221
221
|
"description": "Update gig details such as title, description, budget, deadline, or priority",
|
|
222
222
|
"method": "PUT",
|
|
223
|
-
"path": "/gigs
|
|
223
|
+
"path": "/gigs/{id}",
|
|
224
224
|
"input_schema": {
|
|
225
225
|
"type": "object",
|
|
226
226
|
"properties": {
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"name": "cancel_gig",
|
|
266
266
|
"description": "Cancel a gig (client only)",
|
|
267
267
|
"method": "DELETE",
|
|
268
|
-
"path": "/gigs
|
|
268
|
+
"path": "/gigs/{id}",
|
|
269
269
|
"input_schema": {
|
|
270
270
|
"type": "object",
|
|
271
271
|
"properties": {
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
"name": "apply_template_to_gig",
|
|
510
510
|
"description": "Apply a template's instructions to a gig",
|
|
511
511
|
"method": "POST",
|
|
512
|
-
"path": "/gigs
|
|
512
|
+
"path": "/gigs/{id}/apply-template",
|
|
513
513
|
"input_schema": {
|
|
514
514
|
"type": "object",
|
|
515
515
|
"properties": {
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"name": "add_instruction_to_gig",
|
|
537
537
|
"description": "Add an instruction from the instruction library to a gig. Use 'List Instructions' or 'Search Instructions' to find the library instruction_id.",
|
|
538
538
|
"method": "POST",
|
|
539
|
-
"path": "/gigs
|
|
539
|
+
"path": "/gigs/{id}/instructions",
|
|
540
540
|
"input_schema": {
|
|
541
541
|
"type": "object",
|
|
542
542
|
"properties": {
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
"name": "get_gig_instructions",
|
|
572
572
|
"description": "Get all instructions attached to a gig. Returns gig_instructions records with their 'id' (needed for remove/complete/customize/reset operations), instruction details, completion status, and submitted files.",
|
|
573
573
|
"method": "GET",
|
|
574
|
-
"path": "/gigs
|
|
574
|
+
"path": "/gigs/{id}/instructions",
|
|
575
575
|
"input_schema": {
|
|
576
576
|
"type": "object",
|
|
577
577
|
"properties": {
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
"name": "mark_instruction_complete",
|
|
590
590
|
"description": "Mark a gig instruction as completed. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
591
591
|
"method": "PUT",
|
|
592
|
-
"path": "/gigs
|
|
592
|
+
"path": "/gigs/{id}/instructions/{instructionId}/complete",
|
|
593
593
|
"input_schema": {
|
|
594
594
|
"type": "object",
|
|
595
595
|
"properties": {
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"name": "submit_work",
|
|
617
617
|
"description": "Submit work files for a gig",
|
|
618
618
|
"method": "POST",
|
|
619
|
-
"path": "/gigs
|
|
619
|
+
"path": "/gigs/{id}/submissions",
|
|
620
620
|
"input_schema": {
|
|
621
621
|
"type": "object",
|
|
622
622
|
"properties": {
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"name": "get_submissions",
|
|
661
661
|
"description": "Get all submissions for a gig",
|
|
662
662
|
"method": "GET",
|
|
663
|
-
"path": "/gigs
|
|
663
|
+
"path": "/gigs/{id}/submissions",
|
|
664
664
|
"input_schema": {
|
|
665
665
|
"type": "object",
|
|
666
666
|
"properties": {
|
|
@@ -678,7 +678,7 @@
|
|
|
678
678
|
"name": "review_submission",
|
|
679
679
|
"description": "Review and approve/reject a work submission (client only)",
|
|
680
680
|
"method": "POST",
|
|
681
|
-
"path": "/gigs
|
|
681
|
+
"path": "/gigs/{id}/submissions/{submissionId}/review",
|
|
682
682
|
"input_schema": {
|
|
683
683
|
"type": "object",
|
|
684
684
|
"properties": {
|
|
@@ -719,7 +719,7 @@
|
|
|
719
719
|
"name": "request_revision",
|
|
720
720
|
"description": "Request changes to a work submission",
|
|
721
721
|
"method": "POST",
|
|
722
|
-
"path": "/gigs
|
|
722
|
+
"path": "/gigs/{id}/submissions/{submissionId}/revision",
|
|
723
723
|
"input_schema": {
|
|
724
724
|
"type": "object",
|
|
725
725
|
"properties": {
|
|
@@ -751,7 +751,7 @@
|
|
|
751
751
|
"name": "get_gig_activity",
|
|
752
752
|
"description": "Get activity log/history for a gig",
|
|
753
753
|
"method": "GET",
|
|
754
|
-
"path": "/gigs
|
|
754
|
+
"path": "/gigs/{id}/activity",
|
|
755
755
|
"input_schema": {
|
|
756
756
|
"type": "object",
|
|
757
757
|
"properties": {
|
|
@@ -765,49 +765,11 @@
|
|
|
765
765
|
]
|
|
766
766
|
}
|
|
767
767
|
},
|
|
768
|
-
{
|
|
769
|
-
"name": "list_users",
|
|
770
|
-
"description": "List available workers and clients in the system with optional role and project filtering",
|
|
771
|
-
"method": "GET",
|
|
772
|
-
"path": "/users",
|
|
773
|
-
"input_schema": {
|
|
774
|
-
"type": "object",
|
|
775
|
-
"properties": {
|
|
776
|
-
"role": {
|
|
777
|
-
"type": "string",
|
|
778
|
-
"description": "Filter by user role",
|
|
779
|
-
"enum": [
|
|
780
|
-
"all",
|
|
781
|
-
"worker",
|
|
782
|
-
"client"
|
|
783
|
-
],
|
|
784
|
-
"default": "all"
|
|
785
|
-
},
|
|
786
|
-
"project_id": {
|
|
787
|
-
"type": "integer",
|
|
788
|
-
"description": "Filter by project ID"
|
|
789
|
-
},
|
|
790
|
-
"limit": {
|
|
791
|
-
"type": "integer",
|
|
792
|
-
"description": "Number of users to return",
|
|
793
|
-
"default": 50,
|
|
794
|
-
"minimum": 1,
|
|
795
|
-
"maximum": 100
|
|
796
|
-
},
|
|
797
|
-
"offset": {
|
|
798
|
-
"type": "integer",
|
|
799
|
-
"description": "Pagination offset",
|
|
800
|
-
"default": 0,
|
|
801
|
-
"minimum": 0
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
768
|
{
|
|
807
769
|
"name": "get_instruction",
|
|
808
770
|
"description": "Get a single instruction from the library by ID",
|
|
809
771
|
"method": "GET",
|
|
810
|
-
"path": "/instructions
|
|
772
|
+
"path": "/instructions/{id}",
|
|
811
773
|
"input_schema": {
|
|
812
774
|
"type": "object",
|
|
813
775
|
"properties": {
|
|
@@ -829,7 +791,7 @@
|
|
|
829
791
|
"name": "update_instruction",
|
|
830
792
|
"description": "Update an instruction's content, media, or settings",
|
|
831
793
|
"method": "PUT",
|
|
832
|
-
"path": "/instructions
|
|
794
|
+
"path": "/instructions/{id}",
|
|
833
795
|
"input_schema": {
|
|
834
796
|
"type": "object",
|
|
835
797
|
"properties": {
|
|
@@ -893,7 +855,7 @@
|
|
|
893
855
|
"name": "delete_instruction",
|
|
894
856
|
"description": "Delete an instruction from the library",
|
|
895
857
|
"method": "DELETE",
|
|
896
|
-
"path": "/instructions
|
|
858
|
+
"path": "/instructions/{id}",
|
|
897
859
|
"input_schema": {
|
|
898
860
|
"type": "object",
|
|
899
861
|
"properties": {
|
|
@@ -915,7 +877,7 @@
|
|
|
915
877
|
"name": "get_template",
|
|
916
878
|
"description": "Get a template with its instructions",
|
|
917
879
|
"method": "GET",
|
|
918
|
-
"path": "/templates
|
|
880
|
+
"path": "/templates/{id}",
|
|
919
881
|
"input_schema": {
|
|
920
882
|
"type": "object",
|
|
921
883
|
"properties": {
|
|
@@ -937,7 +899,7 @@
|
|
|
937
899
|
"name": "update_template",
|
|
938
900
|
"description": "Update a gig template's name, description, or settings",
|
|
939
901
|
"method": "PUT",
|
|
940
|
-
"path": "/
|
|
902
|
+
"path": "/templates/{id}",
|
|
941
903
|
"input_schema": {
|
|
942
904
|
"type": "object",
|
|
943
905
|
"properties": {
|
|
@@ -975,7 +937,7 @@
|
|
|
975
937
|
"name": "delete_template",
|
|
976
938
|
"description": "Delete a gig template",
|
|
977
939
|
"method": "DELETE",
|
|
978
|
-
"path": "/gigs/templates
|
|
940
|
+
"path": "/gigs/templates/{id}",
|
|
979
941
|
"input_schema": {
|
|
980
942
|
"type": "object",
|
|
981
943
|
"properties": {
|
|
@@ -997,7 +959,7 @@
|
|
|
997
959
|
"name": "clone_template",
|
|
998
960
|
"description": "Create a copy of a template for customization",
|
|
999
961
|
"method": "POST",
|
|
1000
|
-
"path": "/gigs/templates
|
|
962
|
+
"path": "/gigs/templates/{id}/clone",
|
|
1001
963
|
"input_schema": {
|
|
1002
964
|
"type": "object",
|
|
1003
965
|
"properties": {
|
|
@@ -1024,7 +986,7 @@
|
|
|
1024
986
|
"name": "add_instruction_to_template",
|
|
1025
987
|
"description": "Add an instruction from the library to a template",
|
|
1026
988
|
"method": "POST",
|
|
1027
|
-
"path": "/templates
|
|
989
|
+
"path": "/templates/{id}/instructions",
|
|
1028
990
|
"input_schema": {
|
|
1029
991
|
"type": "object",
|
|
1030
992
|
"properties": {
|
|
@@ -1061,7 +1023,7 @@
|
|
|
1061
1023
|
"name": "remove_instruction_from_template",
|
|
1062
1024
|
"description": "Remove an instruction from a template",
|
|
1063
1025
|
"method": "DELETE",
|
|
1064
|
-
"path": "/templates
|
|
1026
|
+
"path": "/templates/{id}/instructions/{instructionId}",
|
|
1065
1027
|
"input_schema": {
|
|
1066
1028
|
"type": "object",
|
|
1067
1029
|
"properties": {
|
|
@@ -1088,7 +1050,7 @@
|
|
|
1088
1050
|
"name": "reorder_template_instructions",
|
|
1089
1051
|
"description": "Reorder the instructions within a template",
|
|
1090
1052
|
"method": "PUT",
|
|
1091
|
-
"path": "/gigs/templates
|
|
1053
|
+
"path": "/gigs/templates/{id}/instructions/reorder",
|
|
1092
1054
|
"input_schema": {
|
|
1093
1055
|
"type": "object",
|
|
1094
1056
|
"properties": {
|
|
@@ -1126,17 +1088,17 @@
|
|
|
1126
1088
|
"name": "update_template_instruction",
|
|
1127
1089
|
"description": "Update settings for an instruction within a template (e.g., required status)",
|
|
1128
1090
|
"method": "PUT",
|
|
1129
|
-
"path": "/
|
|
1091
|
+
"path": "/templates/{id}/instructions/{instructionId}",
|
|
1130
1092
|
"input_schema": {
|
|
1131
1093
|
"type": "object",
|
|
1132
1094
|
"properties": {
|
|
1133
1095
|
"id": {
|
|
1134
1096
|
"type": "integer",
|
|
1135
|
-
"description": "Template
|
|
1097
|
+
"description": "Template ID"
|
|
1136
1098
|
},
|
|
1137
|
-
"
|
|
1099
|
+
"instructionId": {
|
|
1138
1100
|
"type": "integer",
|
|
1139
|
-
"description": "Template ID"
|
|
1101
|
+
"description": "Template instruction record ID"
|
|
1140
1102
|
},
|
|
1141
1103
|
"is_required": {
|
|
1142
1104
|
"type": "boolean",
|
|
@@ -1149,7 +1111,7 @@
|
|
|
1149
1111
|
},
|
|
1150
1112
|
"required": [
|
|
1151
1113
|
"id",
|
|
1152
|
-
"
|
|
1114
|
+
"instructionId",
|
|
1153
1115
|
"is_required"
|
|
1154
1116
|
]
|
|
1155
1117
|
}
|
|
@@ -1158,7 +1120,7 @@
|
|
|
1158
1120
|
"name": "remove_gig_instruction",
|
|
1159
1121
|
"description": "Remove an instruction from a gig. Use 'Get Gig Instructions' first to find the gig_instructions record ID for the instruction you want to remove.",
|
|
1160
1122
|
"method": "DELETE",
|
|
1161
|
-
"path": "/gigs
|
|
1123
|
+
"path": "/gigs/{id}/instructions/{instructionId}",
|
|
1162
1124
|
"input_schema": {
|
|
1163
1125
|
"type": "object",
|
|
1164
1126
|
"properties": {
|
|
@@ -1181,7 +1143,7 @@
|
|
|
1181
1143
|
"name": "customize_gig_instruction",
|
|
1182
1144
|
"description": "Customize an instruction for a specific gig with custom content or media. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
1183
1145
|
"method": "PUT",
|
|
1184
|
-
"path": "/gigs
|
|
1146
|
+
"path": "/gigs/{id}/instructions/{instructionId}",
|
|
1185
1147
|
"input_schema": {
|
|
1186
1148
|
"type": "object",
|
|
1187
1149
|
"properties": {
|
|
@@ -1255,7 +1217,7 @@
|
|
|
1255
1217
|
"name": "delete_submission",
|
|
1256
1218
|
"description": "Delete a work submission from a gig",
|
|
1257
1219
|
"method": "DELETE",
|
|
1258
|
-
"path": "/gigs
|
|
1220
|
+
"path": "/gigs/{id}/submissions/{submissionId}",
|
|
1259
1221
|
"input_schema": {
|
|
1260
1222
|
"type": "object",
|
|
1261
1223
|
"properties": {
|
|
@@ -1282,7 +1244,7 @@
|
|
|
1282
1244
|
"name": "complete_gig",
|
|
1283
1245
|
"description": "Complete a gig by verifying all required instructions are done, creating a submissions folder, moving files, and updating status to completed",
|
|
1284
1246
|
"method": "POST",
|
|
1285
|
-
"path": "/gigs
|
|
1247
|
+
"path": "/gigs/{id}/complete",
|
|
1286
1248
|
"input_schema": {
|
|
1287
1249
|
"type": "object",
|
|
1288
1250
|
"properties": {
|
|
@@ -1305,7 +1267,7 @@
|
|
|
1305
1267
|
"name": "reset_instruction_status",
|
|
1306
1268
|
"description": "Reset a gig instruction to not completed, clearing all submission data and files. Use 'Get Gig Instructions' first to find the gig_instructions record ID.",
|
|
1307
1269
|
"method": "PUT",
|
|
1308
|
-
"path": "/gigs
|
|
1270
|
+
"path": "/gigs/{id}/instructions/{instructionId}/reset",
|
|
1309
1271
|
"input_schema": {
|
|
1310
1272
|
"type": "object",
|
|
1311
1273
|
"properties": {
|
|
@@ -1323,179 +1285,6 @@
|
|
|
1323
1285
|
"instructionId"
|
|
1324
1286
|
]
|
|
1325
1287
|
}
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"name": "create_user",
|
|
1329
|
-
"description": "Register a new user (model) in the gigs platform. Creates a user account and automatically creates a matching contact record for storing phone, notes, and other contact details.",
|
|
1330
|
-
"method": "POST",
|
|
1331
|
-
"path": "/users",
|
|
1332
|
-
"input_schema": {
|
|
1333
|
-
"type": "object",
|
|
1334
|
-
"properties": {
|
|
1335
|
-
"email": {
|
|
1336
|
-
"type": "string",
|
|
1337
|
-
"description": "User's email address",
|
|
1338
|
-
"format": "email"
|
|
1339
|
-
},
|
|
1340
|
-
"password": {
|
|
1341
|
-
"type": "string",
|
|
1342
|
-
"description": "User's password (minimum 6 characters)",
|
|
1343
|
-
"minLength": 6
|
|
1344
|
-
},
|
|
1345
|
-
"username": {
|
|
1346
|
-
"type": "string",
|
|
1347
|
-
"description": "Username (auto-generated from email if not provided)"
|
|
1348
|
-
},
|
|
1349
|
-
"display_name": {
|
|
1350
|
-
"type": "string",
|
|
1351
|
-
"description": "Display name shown in the platform"
|
|
1352
|
-
},
|
|
1353
|
-
"phone": {
|
|
1354
|
-
"type": "string",
|
|
1355
|
-
"description": "Phone number (stored in contact record)"
|
|
1356
|
-
},
|
|
1357
|
-
"notes": {
|
|
1358
|
-
"type": "string",
|
|
1359
|
-
"description": "Notes about this user/model (stored in contact record)"
|
|
1360
|
-
},
|
|
1361
|
-
"tags": {
|
|
1362
|
-
"type": "array",
|
|
1363
|
-
"items": {
|
|
1364
|
-
"type": "string"
|
|
1365
|
-
},
|
|
1366
|
-
"description": "Tags for categorization (e.g. ['model', 'hypno-reactions']). Defaults to ['gigs-user', role]"
|
|
1367
|
-
},
|
|
1368
|
-
"attributes": {
|
|
1369
|
-
"type": "object",
|
|
1370
|
-
"description": "Custom contact attributes (e.g. social media links, address, emergency contact, bio)",
|
|
1371
|
-
"properties": {
|
|
1372
|
-
"first_name": {
|
|
1373
|
-
"type": "string"
|
|
1374
|
-
},
|
|
1375
|
-
"last_name": {
|
|
1376
|
-
"type": "string"
|
|
1377
|
-
},
|
|
1378
|
-
"company": {
|
|
1379
|
-
"type": "string"
|
|
1380
|
-
},
|
|
1381
|
-
"address": {
|
|
1382
|
-
"type": "string"
|
|
1383
|
-
},
|
|
1384
|
-
"city": {
|
|
1385
|
-
"type": "string"
|
|
1386
|
-
},
|
|
1387
|
-
"state": {
|
|
1388
|
-
"type": "string"
|
|
1389
|
-
},
|
|
1390
|
-
"country": {
|
|
1391
|
-
"type": "string"
|
|
1392
|
-
},
|
|
1393
|
-
"bio": {
|
|
1394
|
-
"type": "string"
|
|
1395
|
-
},
|
|
1396
|
-
"instagram": {
|
|
1397
|
-
"type": "string"
|
|
1398
|
-
},
|
|
1399
|
-
"twitter": {
|
|
1400
|
-
"type": "string"
|
|
1401
|
-
},
|
|
1402
|
-
"tiktok": {
|
|
1403
|
-
"type": "string"
|
|
1404
|
-
},
|
|
1405
|
-
"website": {
|
|
1406
|
-
"type": "string"
|
|
1407
|
-
}
|
|
1408
|
-
},
|
|
1409
|
-
"additionalProperties": true
|
|
1410
|
-
}
|
|
1411
|
-
},
|
|
1412
|
-
"required": [
|
|
1413
|
-
"email",
|
|
1414
|
-
"password"
|
|
1415
|
-
]
|
|
1416
|
-
}
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
"name": "delete_user",
|
|
1420
|
-
"description": "Delete a user (model) from the gigs platform and their linked contact record. Only users belonging to the modeling project can be deleted.",
|
|
1421
|
-
"method": "DELETE",
|
|
1422
|
-
"path": "/users/%7B%7Buser_id%7D%7D",
|
|
1423
|
-
"input_schema": {
|
|
1424
|
-
"type": "object",
|
|
1425
|
-
"properties": {
|
|
1426
|
-
"user_id": {
|
|
1427
|
-
"type": "integer",
|
|
1428
|
-
"description": "ID of the user to delete"
|
|
1429
|
-
}
|
|
1430
|
-
},
|
|
1431
|
-
"required": [
|
|
1432
|
-
"user_id"
|
|
1433
|
-
]
|
|
1434
|
-
}
|
|
1435
|
-
},
|
|
1436
|
-
{
|
|
1437
|
-
"name": "update_user",
|
|
1438
|
-
"description": "Update a user (model) profile and contact details. Changes are automatically synced to the linked contact record. Supports phone, notes, tags, and custom attributes.",
|
|
1439
|
-
"method": "PUT",
|
|
1440
|
-
"path": "/users/%7B%7Buser_id%7D%7D",
|
|
1441
|
-
"input_schema": {
|
|
1442
|
-
"type": "object",
|
|
1443
|
-
"properties": {
|
|
1444
|
-
"user_id": {
|
|
1445
|
-
"type": "integer",
|
|
1446
|
-
"description": "ID of the user to update"
|
|
1447
|
-
},
|
|
1448
|
-
"display_name": {
|
|
1449
|
-
"type": "string",
|
|
1450
|
-
"description": "New display name for the user"
|
|
1451
|
-
},
|
|
1452
|
-
"username": {
|
|
1453
|
-
"type": "string",
|
|
1454
|
-
"description": "New username (3-50 chars, alphanumeric/underscore/dash)"
|
|
1455
|
-
},
|
|
1456
|
-
"email": {
|
|
1457
|
-
"type": "string",
|
|
1458
|
-
"description": "New email address"
|
|
1459
|
-
},
|
|
1460
|
-
"role": {
|
|
1461
|
-
"type": "string",
|
|
1462
|
-
"description": "User role"
|
|
1463
|
-
},
|
|
1464
|
-
"account_status": {
|
|
1465
|
-
"type": "string",
|
|
1466
|
-
"description": "Account status",
|
|
1467
|
-
"enum": [
|
|
1468
|
-
"active",
|
|
1469
|
-
"suspended",
|
|
1470
|
-
"disabled",
|
|
1471
|
-
"pending"
|
|
1472
|
-
]
|
|
1473
|
-
},
|
|
1474
|
-
"phone": {
|
|
1475
|
-
"type": "string",
|
|
1476
|
-
"description": "Phone number (synced to contact record)"
|
|
1477
|
-
},
|
|
1478
|
-
"notes": {
|
|
1479
|
-
"type": "string",
|
|
1480
|
-
"description": "Notes about this user/model (synced to contact record)"
|
|
1481
|
-
},
|
|
1482
|
-
"tags": {
|
|
1483
|
-
"type": "array",
|
|
1484
|
-
"items": {
|
|
1485
|
-
"type": "string"
|
|
1486
|
-
},
|
|
1487
|
-
"description": "Tags for categorization (synced to contact record)"
|
|
1488
|
-
},
|
|
1489
|
-
"attributes": {
|
|
1490
|
-
"type": "object",
|
|
1491
|
-
"description": "Custom contact attributes (merged with existing). Supports: first_name, last_name, company, address, city, state, country, bio, instagram, twitter, tiktok, website, and any custom fields.",
|
|
1492
|
-
"additionalProperties": true
|
|
1493
|
-
}
|
|
1494
|
-
},
|
|
1495
|
-
"required": [
|
|
1496
|
-
"user_id"
|
|
1497
|
-
]
|
|
1498
|
-
}
|
|
1499
1288
|
}
|
|
1500
1289
|
]
|
|
1501
1290
|
}
|