@gpt-platform/client 0.7.1 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +787 -37
- package/dist/index.d.ts +787 -37
- package/dist/index.js +1010 -53
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1010 -53
- package/dist/index.mjs.map +1 -1
- package/llms.txt +115 -0
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -120,6 +120,16 @@ correction reasons, or image reference
|
|
|
120
120
|
- `postAiMessages()` - Append a new message turn (system, user, or assistant) to a Conversation
|
|
121
121
|
- `deleteAiMessagesById()` - /ai/messages/:id operation on ai-message resource
|
|
122
122
|
|
|
123
|
+
## Amendment-request
|
|
124
|
+
|
|
125
|
+
- `getAmendment-requests()` - /amendment-requests operation on amendment-request resource
|
|
126
|
+
- `getAmendment-requestsById()` - /amendment-requests/:id operation on amendment-request resource
|
|
127
|
+
- `postAmendment-requests()` - /amendment-requests operation on amendment-request resource
|
|
128
|
+
- `patchAmendment-requestsByIdApply()` - Mark an approved amendment as applied.
|
|
129
|
+
- `patchAmendment-requestsByIdApprove()` - Approve an amendment request.
|
|
130
|
+
- `patchAmendment-requestsByIdDeny()` - Deny an amendment request with a reason.
|
|
131
|
+
- `patchAmendment-requestsByIdReview()` - Begin reviewing an amendment request.
|
|
132
|
+
|
|
123
133
|
## API Keys
|
|
124
134
|
|
|
125
135
|
- `getApi-keys()` - List or fetch API keys
|
|
@@ -146,6 +156,7 @@ metadata, and configuration
|
|
|
146
156
|
- `patchApplicationsById()` - Update application configuration including branding, email settings, capability
|
|
147
157
|
flags, workspace mode, and execution limits
|
|
148
158
|
- `patchApplicationsByIdAllocate-credits()` - Allocate credits to the account associated with this Application
|
|
159
|
+
- `patchApplicationsByIdCompliance-tags()` - Update the compliance tags for an application (GDPR, HIPAA, SOC2, PCI-DSS, etc.)
|
|
149
160
|
- `patchApplicationsByIdGrant-credits()` - Allocates promotional credits to a specific tenant on behalf of the application
|
|
150
161
|
- `deleteApplicationsById()` - Permanently delete an application and all associated data
|
|
151
162
|
|
|
@@ -178,9 +189,15 @@ flags, workspace mode, and execution limits
|
|
|
178
189
|
## Brand identity
|
|
179
190
|
|
|
180
191
|
- `getBrand-identities()` - /brand-identities operation on brand_identity resource
|
|
192
|
+
- `getBrand-identitiesBy-tenantByTenantId()` - /brand-identities/by-tenant/:tenant_id operation on brand_identity resource
|
|
193
|
+
- `getBrand-identitiesBy-workspaceByWorkspaceId()` - /brand-identities/by-workspace/:workspace_id operation on brand_identity resource
|
|
181
194
|
- `getBrand-identitiesById()` - /brand-identities/:id operation on brand_identity resource
|
|
195
|
+
- `getBrand-identitiesDefaultTenantByTenantId()` - /brand-identities/default/tenant/:tenant_id operation on brand_identity resource
|
|
196
|
+
- `getBrand-identitiesDefaultWorkspaceByWorkspaceId()` - /brand-identities/default/workspace/:workspace_id operation on brand_identity resource
|
|
182
197
|
- `postBrand-identities()` - /brand-identities operation on brand_identity resource
|
|
183
198
|
- `patchBrand-identitiesById()` - /brand-identities/:id operation on brand_identity resource
|
|
199
|
+
- `patchBrand-identitiesByIdSet-default()` - /brand-identities/:id/set-default operation on brand_identity resource
|
|
200
|
+
- `patchBrand-identitiesByIdUnset-default()` - /brand-identities/:id/unset-default operation on brand_identity resource
|
|
184
201
|
- `deleteBrand-identitiesById()` - /brand-identities/:id operation on brand_identity resource
|
|
185
202
|
|
|
186
203
|
## Breach incident
|
|
@@ -195,6 +212,14 @@ flags, workspace mode, and execution limits
|
|
|
195
212
|
- `getBreach-notifications()` - /breach-notifications operation on breach_notification resource
|
|
196
213
|
- `getBreach-notificationsById()` - /breach-notifications/:id operation on breach_notification resource
|
|
197
214
|
|
|
215
|
+
## Breach-notification-artifact
|
|
216
|
+
|
|
217
|
+
- `getBreach-notification-artifacts()` - /breach-notification-artifacts operation on breach-notification-artifact resource
|
|
218
|
+
- `getBreach-notification-artifactsById()` - /breach-notification-artifacts/:id operation on breach-notification-artifact resource
|
|
219
|
+
- `postBreach-notification-artifacts()` - /breach-notification-artifacts operation on breach-notification-artifact resource
|
|
220
|
+
- `patchBreach-notification-artifactsById()` - /breach-notification-artifacts/:id operation on breach-notification-artifact resource
|
|
221
|
+
- `patchBreach-notification-artifactsByIdSend()` - Mark artifact as sent and publish BreachNotificationReadyToSend event for Communication domain dispatch.
|
|
222
|
+
|
|
198
223
|
## Bulk dismissal result
|
|
199
224
|
|
|
200
225
|
- `postWorkspacesByWorkspaceIdExtractionDocumentsDismiss-all-trained()` - /workspaces/:workspace_id/extraction/documents/dismiss-all-trained operation on bulk_dismissal_result resource
|
|
@@ -203,6 +228,15 @@ flags, workspace mode, and execution limits
|
|
|
203
228
|
|
|
204
229
|
- `postExtractionDocumentsBulk-reprocess()` - /extraction/documents/bulk-reprocess operation on bulk_reprocess_result resource
|
|
205
230
|
|
|
231
|
+
## Business-associate-agreement
|
|
232
|
+
|
|
233
|
+
- `getBusiness-associate-agreements()` - /business-associate-agreements operation on business-associate-agreement resource
|
|
234
|
+
- `getBusiness-associate-agreementsById()` - /business-associate-agreements/:id operation on business-associate-agreement resource
|
|
235
|
+
- `postBusiness-associate-agreements()` - /business-associate-agreements operation on business-associate-agreement resource
|
|
236
|
+
- `patchBusiness-associate-agreementsById()` - /business-associate-agreements/:id operation on business-associate-agreement resource
|
|
237
|
+
- `patchBusiness-associate-agreementsByIdSign()` - /business-associate-agreements/:id/sign operation on business-associate-agreement resource
|
|
238
|
+
- `patchBusiness-associate-agreementsByIdTerminate()` - /business-associate-agreements/:id/terminate operation on business-associate-agreement resource
|
|
239
|
+
|
|
206
240
|
## Campaign
|
|
207
241
|
|
|
208
242
|
- `getEmail-marketingCampaignsById()` - /email-marketing/campaigns/:id operation on campaign resource
|
|
@@ -398,6 +432,35 @@ flags, workspace mode, and execution limits
|
|
|
398
432
|
- `patchClinicalSupplement-rec-cacheById()` - /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource
|
|
399
433
|
- `deleteClinicalSupplement-rec-cacheById()` - /clinical/supplement-rec-cache/:id operation on clinical-supplement-rec-cache resource
|
|
400
434
|
|
|
435
|
+
## Compliance-document-template
|
|
436
|
+
|
|
437
|
+
- `getCompliance-document-templates()` - /compliance-document-templates operation on compliance-document-template resource
|
|
438
|
+
- `getCompliance-document-templatesById()` - /compliance-document-templates/:id operation on compliance-document-template resource
|
|
439
|
+
- `postCompliance-document-templates()` - /compliance-document-templates operation on compliance-document-template resource
|
|
440
|
+
- `postCompliance-document-templatesClone()` - Clone a platform template for an application
|
|
441
|
+
- `patchCompliance-document-templatesById()` - /compliance-document-templates/:id operation on compliance-document-template resource
|
|
442
|
+
|
|
443
|
+
## Compliance-officer-designation
|
|
444
|
+
|
|
445
|
+
- `getCompliance-officer-designations()` - /compliance-officer-designations operation on compliance-officer-designation resource
|
|
446
|
+
- `getCompliance-officer-designationsById()` - /compliance-officer-designations/:id operation on compliance-officer-designation resource
|
|
447
|
+
- `postCompliance-officer-designations()` - /compliance-officer-designations operation on compliance-officer-designation resource
|
|
448
|
+
- `patchCompliance-officer-designationsByIdRevoke()` - /compliance-officer-designations/:id/revoke operation on compliance-officer-designation resource
|
|
449
|
+
|
|
450
|
+
## Compliance-requirement
|
|
451
|
+
|
|
452
|
+
- `getCompliance-requirements()` - /compliance-requirements operation on compliance-requirement resource
|
|
453
|
+
- `getCompliance-requirementsById()` - /compliance-requirements/:id operation on compliance-requirement resource
|
|
454
|
+
- `postCompliance-requirements()` - /compliance-requirements operation on compliance-requirement resource
|
|
455
|
+
- `patchCompliance-requirementsById()` - /compliance-requirements/:id operation on compliance-requirement resource
|
|
456
|
+
- `deleteCompliance-requirementsById()` - /compliance-requirements/:id operation on compliance-requirement resource
|
|
457
|
+
|
|
458
|
+
## Compliance-requirement-completion
|
|
459
|
+
|
|
460
|
+
- `getCompliance-requirement-completions()` - /compliance-requirement-completions operation on compliance-requirement-completion resource
|
|
461
|
+
- `getCompliance-requirement-completionsById()` - /compliance-requirement-completions/:id operation on compliance-requirement-completion resource
|
|
462
|
+
- `postCompliance-requirement-completions()` - /compliance-requirement-completions operation on compliance-requirement-completion resource
|
|
463
|
+
|
|
401
464
|
## Config
|
|
402
465
|
|
|
403
466
|
- `getConfigs()` - /configs operation on config resource
|
|
@@ -589,6 +652,13 @@ attribute-level property filters
|
|
|
589
652
|
- `postData-subject-requests()` - Open a new GDPR/CCPA data subject request (access, erasure, portability, rectification, or restriction)
|
|
590
653
|
- `patchData-subject-requestsByIdStatus()` - Advance a data subject request through its lifecycle (pending → in_progress → completed / rejected / expired) and record notes or a completion timestamp.
|
|
591
654
|
|
|
655
|
+
## Disclosure-log
|
|
656
|
+
|
|
657
|
+
- `getDisclosure-logs()` - /disclosure-logs operation on disclosure-log resource
|
|
658
|
+
- `getDisclosure-logsBy-subject()` - List disclosures for a specific data subject (HIPAA accounting of disclosures).
|
|
659
|
+
- `getDisclosure-logsById()` - /disclosure-logs/:id operation on disclosure-log resource
|
|
660
|
+
- `postDisclosure-logs()` - /disclosure-logs operation on disclosure-log resource
|
|
661
|
+
|
|
592
662
|
## Document chunk
|
|
593
663
|
|
|
594
664
|
- `getAiChunksDocumentByDocumentId()` - Fetch all chunks for a document sorted by chunk_index ascending; equivalent to read_by_document — use for JSON:API access via /ai/chunks/document/:document_id.
|
|
@@ -630,6 +700,11 @@ again
|
|
|
630
700
|
|
|
631
701
|
- `getDocumentsStats()` - /documents/stats operation on document_stats resource
|
|
632
702
|
|
|
703
|
+
## Document-section
|
|
704
|
+
|
|
705
|
+
- `getMemoryDocument-sections()` - /memory/document-sections operation on document-section resource
|
|
706
|
+
- `getMemoryDocument-sectionsById()` - /memory/document-sections/:id operation on document-section resource
|
|
707
|
+
|
|
633
708
|
## Email template
|
|
634
709
|
|
|
635
710
|
- `getApplicationsByApplicationIdEmail-templates()` - List all email templates for the application, including both system and custom templates
|
|
@@ -758,6 +833,20 @@ again
|
|
|
758
833
|
|
|
759
834
|
- `postAiEmbed()` - Generate a 1024-dim vector embedding for the given text via the LlmTriage sidecar; validates workspace membership, estimates token cost, charges credits, and returns the embedding with usage stats.
|
|
760
835
|
|
|
836
|
+
## Ephi-asset
|
|
837
|
+
|
|
838
|
+
- `getEphi-assets()` - /ephi-assets operation on ephi-asset resource
|
|
839
|
+
- `getEphi-assetsById()` - /ephi-assets/:id operation on ephi-asset resource
|
|
840
|
+
- `postEphi-assets()` - /ephi-assets operation on ephi-asset resource
|
|
841
|
+
- `patchEphi-assetsById()` - /ephi-assets/:id operation on ephi-asset resource
|
|
842
|
+
|
|
843
|
+
## Ephi-data-flow
|
|
844
|
+
|
|
845
|
+
- `getEphi-data-flows()` - /ephi-data-flows operation on ephi-data-flow resource
|
|
846
|
+
- `getEphi-data-flowsById()` - /ephi-data-flows/:id operation on ephi-data-flow resource
|
|
847
|
+
- `postEphi-data-flows()` - /ephi-data-flows operation on ephi-data-flow resource
|
|
848
|
+
- `patchEphi-data-flowsById()` - /ephi-data-flows/:id operation on ephi-data-flow resource
|
|
849
|
+
|
|
761
850
|
## Extraction agent
|
|
762
851
|
|
|
763
852
|
- `getExtractionAgents()` - /extraction/agents operation on extraction_agent resource
|
|
@@ -939,14 +1028,30 @@ fields
|
|
|
939
1028
|
- `getPermissionsPresets()` - List all permission presets (pre-defined role bundles) from the PermissionRegistry, optionally filtered by context and app
|
|
940
1029
|
- `getPermissionsPresetsById()` - Fetch a single permission preset by its composite ID (e.g., 'workspace:org:admin'); returns the preset with its full permission list or a not-found error.
|
|
941
1030
|
|
|
1031
|
+
## Plan-feature-allocation
|
|
1032
|
+
|
|
1033
|
+
- `getPlan-feature-allocations()` - List all plan feature allocations for the current application.
|
|
1034
|
+
- `getPlan-feature-allocationsBy-planByPlanId()` - List feature allocations for a specific plan.
|
|
1035
|
+
- `getPlan-feature-allocationsById()` - Fetch a single plan feature allocation by ID.
|
|
1036
|
+
|
|
942
1037
|
## Platform tone
|
|
943
1038
|
|
|
944
1039
|
- `getPlatform-tones()` - /platform-tones operation on platform_tone resource
|
|
1040
|
+
- `getPlatform-tonesBy-brandByBrandIdentityId()` - /platform-tones/by-brand/:brand_identity_id operation on platform_tone resource
|
|
945
1041
|
- `getPlatform-tonesById()` - /platform-tones/:id operation on platform_tone resource
|
|
946
1042
|
- `postPlatform-tones()` - /platform-tones operation on platform_tone resource
|
|
947
1043
|
- `patchPlatform-tonesById()` - /platform-tones/:id operation on platform_tone resource
|
|
948
1044
|
- `deletePlatform-tonesById()` - /platform-tones/:id operation on platform_tone resource
|
|
949
1045
|
|
|
1046
|
+
## Policy-review-schedule
|
|
1047
|
+
|
|
1048
|
+
- `getPolicy-review-schedules()` - /policy-review-schedules operation on policy-review-schedule resource
|
|
1049
|
+
- `getPolicy-review-schedulesById()` - /policy-review-schedules/:id operation on policy-review-schedule resource
|
|
1050
|
+
- `postPolicy-review-schedules()` - /policy-review-schedules operation on policy-review-schedule resource
|
|
1051
|
+
- `patchPolicy-review-schedulesByIdComplete-review()` - /policy-review-schedules/:id/complete-review operation on policy-review-schedule resource
|
|
1052
|
+
- `patchPolicy-review-schedulesByIdMark-due()` - /policy-review-schedules/:id/mark-due operation on policy-review-schedule resource
|
|
1053
|
+
- `patchPolicy-review-schedulesByIdMark-overdue()` - /policy-review-schedules/:id/mark-overdue operation on policy-review-schedule resource
|
|
1054
|
+
|
|
950
1055
|
## Post metric
|
|
951
1056
|
|
|
952
1057
|
- `getSocialMetricsAccountBySocialAccountId()` - /social/metrics/account/:social_account_id operation on post_metric resource
|
|
@@ -1069,6 +1174,11 @@ fields
|
|
|
1069
1174
|
|
|
1070
1175
|
- `getWalletSeats()` - Get seat billing info for the current tenant
|
|
1071
1176
|
|
|
1177
|
+
## Section-document
|
|
1178
|
+
|
|
1179
|
+
- `getMemorySection-documents()` - /memory/section-documents operation on section-document resource
|
|
1180
|
+
- `getMemorySection-documentsById()` - /memory/section-documents/:id operation on section-document resource
|
|
1181
|
+
|
|
1072
1182
|
## Social account
|
|
1073
1183
|
|
|
1074
1184
|
- `getSocialAccountsById()` - /social/accounts/:id operation on social_account resource
|
|
@@ -1194,7 +1304,11 @@ fields
|
|
|
1194
1304
|
plan tier, vanity slug, and storage spending cap
|
|
1195
1305
|
- `patchTenantsByIdAuto-top-up()` - Configure the auto top-up billing rule for this tenant
|
|
1196
1306
|
- `patchTenantsByIdBranding()` - Owner-only action to update tenant branding
|
|
1307
|
+
- `patchTenantsByIdCancel()` - Permanently cancel a tenant.
|
|
1308
|
+
- `patchTenantsByIdConvert-to-org()` - Convert a personal tenant to an organization
|
|
1309
|
+
- `patchTenantsByIdSuspend()` - Suspend a tenant, preventing billing charges and access.
|
|
1197
1310
|
- `patchTenantsByIdTransfer-ownership()` - Transfer org ownership to an existing admin member
|
|
1311
|
+
- `patchTenantsByIdUnsuspend()` - Restore a suspended tenant to active status.
|
|
1198
1312
|
- `deleteTenantsById()` - Permanently delete a tenant and all associated data
|
|
1199
1313
|
|
|
1200
1314
|
## Thread stats
|
|
@@ -1254,6 +1368,7 @@ plan tier, vanity slug, and storage spending cap
|
|
|
1254
1368
|
- `postUsersAuthLogin()` - Attempt to sign in using a username and password.
|
|
1255
1369
|
- `postUsersAuthMagic-linkLogin()` - /users/auth/magic-link/login operation on user resource
|
|
1256
1370
|
- `postUsersAuthMagic-linkRequest()` - /users/auth/magic-link/request operation on user resource
|
|
1371
|
+
- `postUsersAuthPassword-resetRequest()` - Public action for users to request a password reset email
|
|
1257
1372
|
- `postUsersAuthRegister()` - Register a new user account with email and password
|
|
1258
1373
|
- `postUsersAuthRegister-via-invitation()` - Register a new user via invitation — skips personal tenant creation
|
|
1259
1374
|
- `postUsersAuthRegister-with-oidc()` - Register or sign in a user via an OAuth/OIDC provider (Google, GitHub, Salesforce,
|
package/package.json
CHANGED