@compleadai/skills 0.0.0-stage → 0.1.0-preview.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.
@@ -0,0 +1,229 @@
1
+ # Core operations
2
+
3
+ Generated from `openapi/v3/Core.json` by `skills/build.mjs`; do not edit. Models: [Core.models.md](Core.models.md).
4
+
5
+ Each operation is `<Api>.<Operation>`: the SDK class and method in every language. How each SDK spells class,
6
+ method and parameter names is in `../sdks/<language>.md`. Parameters are listed in the SDK order (required
7
+ first); a JSON body is one parameter holding the model. "Permission" is the API user permission the operation
8
+ needs on the product in "Module"; Scan is the only level that spends credits.
9
+
10
+ ## Approval
11
+
12
+ ### Approval.ListPending
13
+
14
+ `GET /api/v3/Approval/Pending` | Permission: Read | Module: - | Returns: ApiResponseOfApproveManagementDataTablePagingResponse
15
+
16
+ Lists pending Approval Management records for the calling organization, paginated and filterable by operation type, submission date range, and submitting user.
17
+
18
+ | Parameter | In | Type | Required | Notes |
19
+ |---|---|---|---|---|
20
+ | `skip` | query | integer | | Number of entries to skip. Defaults to 0. |
21
+ | `take` | query | integer | | Maximum number of entries to return. Defaults to 25, max 200. |
22
+ | `operationTypes` | query | array of integer | | Filter by operation type ids. Omit for all. |
23
+ | `startTime` | query | date-time | | Filter: record created (submitted) on/after this date-time. With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
24
+ | `finishTime` | query | date-time | | Filter: record created (submitted) before this date-time (exclusive). With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
25
+ | `createdByUserIds` | query | array of integer | | Filter by the id of the user who submitted the record. |
26
+
27
+ ### Approval.Get
28
+
29
+ `GET /api/v3/Approval/{id}` | Permission: Read | Module: - | Returns: ApiResponseOfValidationQueueDetailDTO
30
+
31
+ Returns the full detail and before/after diff for a single Approval Management record.
32
+
33
+ | Parameter | In | Type | Required | Notes |
34
+ |---|---|---|---|---|
35
+ | `id` | path | integer | yes | The ValidationQueue record id. |
36
+
37
+ ### Approval.ListHistory
38
+
39
+ `GET /api/v3/Approval/History` | Permission: Read | Module: - | Returns: ApiResponseOfApproveManagementHistoryDataTablePagingResponse
40
+
41
+ Lists resolved Approval Management records (approved, rejected, or withdrawn) for the calling organization. When no date range is given (StartTime/FinishTime or DecisionStartTime/DecisionFinishTime), records decided in the last month are returned.
42
+
43
+ | Parameter | In | Type | Required | Notes |
44
+ |---|---|---|---|---|
45
+ | `decisionStartTime` | query | date-time | | Filter: decision made on/after this date-time. With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
46
+ | `decisionFinishTime` | query | date-time | | Filter: decision made before this date-time (exclusive). With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
47
+ | `decisionTypes` | query | array of integer | | 1=Approved, 2=Rejected, 3=Withdrawn. Omit for all. |
48
+ | `decidedByUserIds` | query | array of integer | | Filter by the id of the user who made the decision. |
49
+ | `skip` | query | integer | | Number of entries to skip. Defaults to 0. |
50
+ | `take` | query | integer | | Maximum number of entries to return. Defaults to 25, max 200. |
51
+ | `operationTypes` | query | array of integer | | Filter by operation type ids. Omit for all. |
52
+ | `startTime` | query | date-time | | Filter: record created (submitted) on/after this date-time. With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
53
+ | `finishTime` | query | date-time | | Filter: record created (submitted) before this date-time (exclusive). With the X-Time-Zone header a value without an offset is read in the requested zone (Z or an explicit offset is honoured); without the header it is read in the organization's time zone. |
54
+ | `createdByUserIds` | query | array of integer | | Filter by the id of the user who submitted the record. |
55
+
56
+ ### Approval.Approve
57
+
58
+ `PUT /api/v3/Approval/Status/Approved` | Permission: Manage | Module: - | Returns: ApiResponseOfListOfint
59
+
60
+ Approves one or more pending Approval Management records and applies their operations, the same way as the application's approval screen. The organization admin who created the calling API key cannot approve records they submitted themselves (self-approval is rejected, same rule as the UI). Create-customer requests can only be approved in the application.
61
+
62
+ | Parameter | In | Type | Required | Notes |
63
+ |---|---|---|---|---|
64
+ | `approvalDecisionRequest` | body | ApprovalDecisionRequest | yes | See ApprovalDecisionRequest. |
65
+
66
+ ### Approval.Reject
67
+
68
+ `PUT /api/v3/Approval/Status/Rejected` | Permission: Manage | Module: - | Returns: ApiResponseOfListOfint
69
+
70
+ Rejects one or more pending Approval Management records.
71
+
72
+ | Parameter | In | Type | Required | Notes |
73
+ |---|---|---|---|---|
74
+ | `approvalDecisionRequest` | body | ApprovalDecisionRequest | yes | See ApprovalDecisionRequest. |
75
+
76
+ ### Approval.Withdraw
77
+
78
+ `PUT /api/v3/Approval/Status/Withdrawn` | Permission: Manage | Module: - | Returns: ApiResponseOfListOfint
79
+
80
+ Withdraws one or more pending Approval Management records that the calling API key's organization creator originally submitted.
81
+
82
+ | Parameter | In | Type | Required | Notes |
83
+ |---|---|---|---|---|
84
+ | `approvalDecisionRequest` | body | ApprovalDecisionRequest | yes | See ApprovalDecisionRequest. |
85
+
86
+ ## General
87
+
88
+ ### General.ListTeams
89
+
90
+ `GET /api/v3/Team` | Permission: Read | Module: - | Returns: ApiResponseOfGeneralTeamResponseArray
91
+
92
+ List teams with their ID and name. Use the ID to assign cases or rule sets to a team.
93
+
94
+ ### General.ListCredits
95
+
96
+ `GET /api/v3/Credit` | Permission: Read | Module: - | Returns: ApiResponseOfGeneralCreditsArray
97
+
98
+ Get credit usage information
99
+
100
+ ### General.GetSetting
101
+
102
+ `GET /api/v3/Setting` | Permission: Read | Module: - | Returns: ApiResponseOfGeneralSearchSettingResponse
103
+
104
+ Retrieves organization-wide search settings including query clearing, sanctioned country search, auto-resolution, no-match closing, clean middle name, flexible nationality filter and flexible birth year filter settings
105
+
106
+ ### General.ListCountryRiskLevels
107
+
108
+ `GET /api/v3/Setting/CountryRiskLevel` | Permission: Read | Module: - | Returns: ApiResponseOfListOfCountryRiskLevelResponse
109
+
110
+ Retrieves country risk level mappings configured for the organization. Shows which risk level is assigned to each country
111
+
112
+ ### General.GetCountryRiskLevelBatchTemplate
113
+
114
+ `GET /api/v3/Setting/CountryRiskLevel/BatchTemplate` | Permission: Read | Module: - | Returns: file (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv)
115
+
116
+ Downloads the country risk level batch template (.xlsx, or .csv with format=csv), pre-filled with the organization's current assignments. Columns: Country, ISO Code, Risk Level.
117
+
118
+ | Parameter | In | Type | Required | Notes |
119
+ |---|---|---|---|---|
120
+ | `format` | query | string | | xlsx (default) or csv |
121
+
122
+ ### General.UploadCountryRiskLevelBatchFile
123
+
124
+ `POST /api/v3/Setting/CountryRiskLevel/Batch/File` | Permission: Manage | Module: - | Returns: ApiResponseOfBatchUploadResponse
125
+
126
+ Uploads an Excel or CSV file (max 10MB, .xlsx or .csv) assigning country risk levels in bulk. Columns: Country, ISO Code, Risk Level. Countries are matched by ISO Code first and by Country name when the ISO Code is empty or unknown. Rows with an empty Risk Level are ignored. Invalid rows are skipped and reported; valid rows are still processed. Returns a batch identifier; use GET /api/v3/CountryRiskLevel/Batch/{batchId} to retrieve the result.
127
+
128
+ | Parameter | In | Type | Required | Notes |
129
+ |---|---|---|---|---|
130
+ | `file` | form | file | yes | |
131
+
132
+ ### General.GetCountryRiskLevelBatch
133
+
134
+ `GET /api/v3/Setting/CountryRiskLevel/Batch/{batchId}` | Permission: Read | Module: - | Returns: ApiResponseOfRiskLevelBatchResultResponse
135
+
136
+ Retrieves the status and counts of a country risk level batch upload (Status, TotalCount, ProcessedCount, row-level errors in Message).
137
+
138
+ | Parameter | In | Type | Required | Notes |
139
+ |---|---|---|---|---|
140
+ | `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/CountryRiskLevel/BatchUpload (e.g., COUNTRYRL-...). |
141
+
142
+ ### General.ListActivityReasons
143
+
144
+ `GET /api/v3/ActivityReason` | Permission: Read | Module: - | Returns: ApiResponseOfListOfActivityReasonResponse
145
+
146
+ Retrieves all activity reasons configured for the organization. Activity reasons can be used for case closure and other activities. Corresponds to "Activity Reasons" in panel
147
+
148
+ ### General.ListTags
149
+
150
+ `GET /api/v3/Tag` | Permission: Read | Module: - | Returns: ApiResponseOfListOfGetTagsResponse
151
+
152
+ Retrieves all tags configured for the organization. Tag GUIDs can be used in customer and scan operations. Tag IDs can be used for deletion.
153
+
154
+ ### General.CreateTag
155
+
156
+ `POST /api/v3/Tag` | Permission: Manage | Module: - | Returns: ApiResponseOfGeneralTagResponse
157
+
158
+ Creates a new tag for the organization. Returns tag ID and GUID which can be used in other operations. Tag GUIDs can be used in customer and scan tag assignments.
159
+
160
+ | Parameter | In | Type | Required | Notes |
161
+ |---|---|---|---|---|
162
+ | `generalTagRequest` | body | GeneralTagRequest | yes | See GeneralTagRequest. |
163
+
164
+ ### General.ListMasakDistricts
165
+
166
+ `GET /api/v3/Masak/District/{provinceCode}` | Permission: Read | Module: - | Returns: ApiResponseOfListOfMasakCodeItem
167
+
168
+ Retrieves the Mernis district (ilce) codes of a Turkish province. Use the Code values as DistrictCode in customer Addresses. ProvinceCode is the plate code (1-81, e.g. 34 for Istanbul).
169
+
170
+ | Parameter | In | Type | Required | Notes |
171
+ |---|---|---|---|---|
172
+ | `provinceCode` | path | string | yes | Province plate code (1-81) |
173
+
174
+ ### General.DeleteTag
175
+
176
+ `DELETE /api/v3/Tag/{tagId}` | Permission: Manage | Module: - | Returns: ApiResponseOfboolean
177
+
178
+ Deletes a tag by its ID. Tag ID can be obtained from GET /api/v3/Tag endpoint (Id field). Tag will be soft-deleted.
179
+
180
+ | Parameter | In | Type | Required | Notes |
181
+ |---|---|---|---|---|
182
+ | `tagId` | path | integer | yes | Tag ID to delete. Can be obtained from GET /api/v3/Tag endpoint (Id field) |
183
+
184
+ ### General.ListDynamicFields
185
+
186
+ `GET /api/v3/DynamicField` | Permission: Read | Module: - | Returns: ApiResponseOfListOfGeneralDynamicFieldResponse
187
+
188
+ Retrieves all dynamic fields configured for the organization. Dynamic field keys can be used in OptionalParameters when creating or updating customers. Field GUIDs can be used as alternative identifiers.
189
+
190
+ ### General.ListWebhooks
191
+
192
+ `GET /api/v3/Webhook` | Permission: Read | Module: - | Returns: ApiResponseOfListOfWebhookResponse
193
+
194
+ Retrieves all webhook configurations for the organization. Shows webhook URLs and which events are enabled for each webhook. **Webhooks work per case, not per search profile.** Webhooks are configured per organization and are delivered per case, not per search profile. When you enable an event on a webhook, every case in your organization that triggers that event is delivered to that webhook URL. Search profiles do not filter webhook delivery. The only routing that narrows delivery is by tag: when a case carries a tag that is linked to a webhook, the event goes only to the webhooks linked to that case's tags.
195
+
196
+ ### General.UpdateWebhookDateTimeZone
197
+
198
+ `PUT /api/v3/Webhook/{webhookId}/DateTimeZone` | Permission: Manage | Module: - | Returns: ApiResponseOfObject
199
+
200
+ Sets how the date-time fields of this webhook's payloads are written (see "Dates in webhook payloads" in the guide): UTC, org, a fixed offset or a Windows time zone id. Send an empty value to go back to the legacy formats. Same setting as "Dates and Time Zone" in Settings → Webhooks.
201
+
202
+ | Parameter | In | Type | Required | Notes |
203
+ |---|---|---|---|---|
204
+ | `webhookId` | path | integer | yes | Webhook id from GET /api/v3/Webhook |
205
+ | `webhookDateTimeZoneRequest` | body | WebhookDateTimeZoneRequest | yes | See WebhookDateTimeZoneRequest. |
206
+
207
+ ### General.ListWebhookTriggerHistory
208
+
209
+ `GET /api/v3/Webhook/TriggerHistory` | Permission: Read | Module: - | Returns: ApiResponseOfListOfWebhookTriggerHistoryResponse
210
+
211
+ Retrieves webhook trigger history showing all webhook events that were sent. Includes status codes, IP addresses, and event types. Useful for debugging webhook issues.
212
+
213
+ ### General.GetBankInfo
214
+
215
+ `GET /api/v3/BankInfo` | Permission: - | Module: - | Returns: ApiResponseOfBankSwiftCodeDTO
216
+
217
+ Retrieves bank information based on the provided SWIFT code. Returns bank name, branch, address, and other details
218
+
219
+ | Parameter | In | Type | Required | Notes |
220
+ |---|---|---|---|---|
221
+ | `swiftCode` | query | string | | |
222
+
223
+ ## User
224
+
225
+ ### User.List
226
+
227
+ `GET /api/v3/User` | Permission: Read | Module: - | Returns: ApiResponseOfGeneralUserResponseArray
228
+
229
+ Lists the organization's users with their ID and GUID, used to assign cases to users.