@gpt-platform/client 0.3.1 → 0.3.4

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.mjs CHANGED
@@ -1224,8 +1224,8 @@ function buildUserAgent(sdkVersion, appInfo) {
1224
1224
  }
1225
1225
 
1226
1226
  // src/version.ts
1227
- var SDK_VERSION = "0.3.1";
1228
- var DEFAULT_API_VERSION = "2026-02-25";
1227
+ var SDK_VERSION = "0.3.4";
1228
+ var DEFAULT_API_VERSION = "2026-02-27";
1229
1229
 
1230
1230
  // src/base-client.ts
1231
1231
  function generateUUID() {
@@ -1592,6 +1592,11 @@ var getAgentVersionsById = (options) => (options.client ?? client).get({
1592
1592
  url: "/agent-versions/{id}",
1593
1593
  ...options
1594
1594
  });
1595
+ var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1596
+ security: [{ scheme: "bearer", type: "http" }],
1597
+ url: "/llm_analytics/costs",
1598
+ ...options
1599
+ });
1595
1600
  var postCatalogTaxonomyNodes = (options) => (options.client ?? client).post({
1596
1601
  security: [{ scheme: "bearer", type: "http" }],
1597
1602
  url: "/catalog/taxonomy-nodes",
@@ -1630,6 +1635,11 @@ var getCrmCustomEntitiesWorkspaceByWorkspaceId = (options) => (options.client ??
1630
1635
  url: "/crm/custom-entities/workspace/{workspace_id}",
1631
1636
  ...options
1632
1637
  });
1638
+ var getBreachIncidentsById = (options) => (options.client ?? client).get({
1639
+ security: [{ scheme: "bearer", type: "http" }],
1640
+ url: "/breach-incidents/{id}",
1641
+ ...options
1642
+ });
1633
1643
  var getEmailMarketingSequencesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1634
1644
  security: [{ scheme: "bearer", type: "http" }],
1635
1645
  url: "/email-marketing/sequences/workspace/{workspace_id}",
@@ -1640,6 +1650,20 @@ var getCatalogTaxonomyNodesTaxonomyByTaxonomyId = (options) => (options.client ?
1640
1650
  url: "/catalog/taxonomy-nodes/taxonomy/{taxonomy_id}",
1641
1651
  ...options
1642
1652
  });
1653
+ var getBreachIncidents = (options) => (options.client ?? client).get({
1654
+ security: [{ scheme: "bearer", type: "http" }],
1655
+ url: "/breach-incidents",
1656
+ ...options
1657
+ });
1658
+ var postBreachIncidents = (options) => (options.client ?? client).post({
1659
+ security: [{ scheme: "bearer", type: "http" }],
1660
+ url: "/breach-incidents",
1661
+ ...options,
1662
+ headers: {
1663
+ "Content-Type": "application/vnd.api+json",
1664
+ ...options.headers
1665
+ }
1666
+ });
1643
1667
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
1644
1668
  security: [{ scheme: "bearer", type: "http" }],
1645
1669
  url: "/api-keys/{id}/rotate",
@@ -1715,6 +1739,11 @@ var getCrmExportsById = (options) => (options.client ?? client).get({
1715
1739
  url: "/crm/exports/{id}",
1716
1740
  ...options
1717
1741
  });
1742
+ var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1743
+ security: [{ scheme: "bearer", type: "http" }],
1744
+ url: "/llm_analytics/workspace",
1745
+ ...options
1746
+ });
1718
1747
  var deleteCrmDealsById = (options) => (options.client ?? client).delete({
1719
1748
  security: [{ scheme: "bearer", type: "http" }],
1720
1749
  url: "/crm/deals/{id}",
@@ -1753,6 +1782,11 @@ var getSearchIndexes = (options) => (options.client ?? client).get({
1753
1782
  url: "/search/indexes",
1754
1783
  ...options
1755
1784
  });
1785
+ var postCrmContactsByIdUnarchive = (options) => (options.client ?? client).post({
1786
+ security: [{ scheme: "bearer", type: "http" }],
1787
+ url: "/crm/contacts/{id}/unarchive",
1788
+ ...options
1789
+ });
1756
1790
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
1757
1791
  security: [{ scheme: "bearer", type: "http" }],
1758
1792
  url: "/training-sessions/{id}",
@@ -1870,6 +1904,25 @@ var patchCatalogTaxonomyNodesById = (options) => (options.client ?? client).patc
1870
1904
  ...options.headers
1871
1905
  }
1872
1906
  });
1907
+ var deleteRetentionPoliciesById = (options) => (options.client ?? client).delete({
1908
+ security: [{ scheme: "bearer", type: "http" }],
1909
+ url: "/retention-policies/{id}",
1910
+ ...options
1911
+ });
1912
+ var getRetentionPoliciesById = (options) => (options.client ?? client).get({
1913
+ security: [{ scheme: "bearer", type: "http" }],
1914
+ url: "/retention-policies/{id}",
1915
+ ...options
1916
+ });
1917
+ var patchRetentionPoliciesById = (options) => (options.client ?? client).patch({
1918
+ security: [{ scheme: "bearer", type: "http" }],
1919
+ url: "/retention-policies/{id}",
1920
+ ...options,
1921
+ headers: {
1922
+ "Content-Type": "application/vnd.api+json",
1923
+ ...options.headers
1924
+ }
1925
+ });
1873
1926
  var getCatalogTaxonomiesApplicationByApplicationId = (options) => (options.client ?? client).get({
1874
1927
  security: [{ scheme: "bearer", type: "http" }],
1875
1928
  url: "/catalog/taxonomies/application/{application_id}",
@@ -1957,6 +2010,20 @@ var postEmailMarketingCampaigns = (options) => (options.client ?? client).post({
1957
2010
  ...options.headers
1958
2011
  }
1959
2012
  });
2013
+ var getConfigs = (options) => (options.client ?? client).get({
2014
+ security: [{ scheme: "bearer", type: "http" }],
2015
+ url: "/configs",
2016
+ ...options
2017
+ });
2018
+ var postConfigs = (options) => (options.client ?? client).post({
2019
+ security: [{ scheme: "bearer", type: "http" }],
2020
+ url: "/configs",
2021
+ ...options,
2022
+ headers: {
2023
+ "Content-Type": "application/vnd.api+json",
2024
+ ...options.headers
2025
+ }
2026
+ });
1960
2027
  var deleteCrmCustomEntitiesById = (options) => (options.client ?? client).delete({
1961
2028
  security: [{ scheme: "bearer", type: "http" }],
1962
2029
  url: "/crm/custom-entities/{id}",
@@ -2026,6 +2093,15 @@ var postCrmCompanies = (options) => (options.client ?? client).post({
2026
2093
  ...options.headers
2027
2094
  }
2028
2095
  });
2096
+ var patchLegalDocumentsByIdUnpublish = (options) => (options.client ?? client).patch({
2097
+ security: [{ scheme: "bearer", type: "http" }],
2098
+ url: "/legal-documents/{id}/unpublish",
2099
+ ...options,
2100
+ headers: {
2101
+ "Content-Type": "application/vnd.api+json",
2102
+ ...options.headers
2103
+ }
2104
+ });
2029
2105
  var getVoiceSessionsMine = (options) => (options.client ?? client).get({
2030
2106
  security: [{ scheme: "bearer", type: "http" }],
2031
2107
  url: "/voice/sessions/mine",
@@ -2219,6 +2295,11 @@ var getSearchSuggest = (options) => (options.client ?? client).get({
2219
2295
  url: "/search/suggest",
2220
2296
  ...options
2221
2297
  });
2298
+ var getAuditChainEntries = (options) => (options.client ?? client).get({
2299
+ security: [{ scheme: "bearer", type: "http" }],
2300
+ url: "/audit-chain-entries",
2301
+ ...options
2302
+ });
2222
2303
  var deleteCatalogTaxonomiesById = (options) => (options.client ?? client).delete({
2223
2304
  security: [{ scheme: "bearer", type: "http" }],
2224
2305
  url: "/catalog/taxonomies/{id}",
@@ -2238,6 +2319,11 @@ var patchCatalogTaxonomiesById = (options) => (options.client ?? client).patch({
2238
2319
  ...options.headers
2239
2320
  }
2240
2321
  });
2322
+ var getLegalAcceptancesById = (options) => (options.client ?? client).get({
2323
+ security: [{ scheme: "bearer", type: "http" }],
2324
+ url: "/legal-acceptances/{id}",
2325
+ ...options
2326
+ });
2241
2327
  var deleteCrmRelationshipTypesById = (options) => (options.client ?? client).delete({
2242
2328
  security: [{ scheme: "bearer", type: "http" }],
2243
2329
  url: "/crm/relationship-types/{id}",
@@ -2495,6 +2581,11 @@ var patchVoiceSessionsByIdStop = (options) => (options.client ?? client).patch({
2495
2581
  ...options.headers
2496
2582
  }
2497
2583
  });
2584
+ var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
2585
+ security: [{ scheme: "bearer", type: "http" }],
2586
+ url: "/llm_analytics/summary",
2587
+ ...options
2588
+ });
2498
2589
  var getSchedulingParticipants = (options) => (options.client ?? client).get({
2499
2590
  security: [{ scheme: "bearer", type: "http" }],
2500
2591
  url: "/scheduling/participants",
@@ -2538,6 +2629,11 @@ var getCrawlerJobsById = (options) => (options.client ?? client).get({
2538
2629
  url: "/crawler/jobs/{id}",
2539
2630
  ...options
2540
2631
  });
2632
+ var getConsentRecordsById = (options) => (options.client ?? client).get({
2633
+ security: [{ scheme: "bearer", type: "http" }],
2634
+ url: "/consent-records/{id}",
2635
+ ...options
2636
+ });
2541
2637
  var getCrmExportsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2542
2638
  security: [{ scheme: "bearer", type: "http" }],
2543
2639
  url: "/crm/exports/workspace/{workspace_id}",
@@ -2548,6 +2644,20 @@ var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ??
2548
2644
  url: "/training-sessions/agents/{agent_id}/sessions",
2549
2645
  ...options
2550
2646
  });
2647
+ var patchLegalDocumentsByIdPublish = (options) => (options.client ?? client).patch({
2648
+ security: [{ scheme: "bearer", type: "http" }],
2649
+ url: "/legal-documents/{id}/publish",
2650
+ ...options,
2651
+ headers: {
2652
+ "Content-Type": "application/vnd.api+json",
2653
+ ...options.headers
2654
+ }
2655
+ });
2656
+ var getScanResults = (options) => (options.client ?? client).get({
2657
+ security: [{ scheme: "bearer", type: "http" }],
2658
+ url: "/scan-results",
2659
+ ...options
2660
+ });
2551
2661
  var getSearch = (options) => (options.client ?? client).get({
2552
2662
  security: [{ scheme: "bearer", type: "http" }],
2553
2663
  url: "/search",
@@ -2647,6 +2757,11 @@ var patchCrmPipelineStagesById = (options) => (options.client ?? client).patch({
2647
2757
  ...options.headers
2648
2758
  }
2649
2759
  });
2760
+ var getLegalAcceptances = (options) => (options.client ?? client).get({
2761
+ security: [{ scheme: "bearer", type: "http" }],
2762
+ url: "/legal-acceptances",
2763
+ ...options
2764
+ });
2650
2765
  var getCrmPipelinesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2651
2766
  security: [{ scheme: "bearer", type: "http" }],
2652
2767
  url: "/crm/pipelines/workspace/{workspace_id}",
@@ -2689,6 +2804,15 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2689
2804
  ...options.headers
2690
2805
  }
2691
2806
  });
2807
+ var patchImpactAssessmentsByIdApprove = (options) => (options.client ?? client).patch({
2808
+ security: [{ scheme: "bearer", type: "http" }],
2809
+ url: "/impact-assessments/{id}/approve",
2810
+ ...options,
2811
+ headers: {
2812
+ "Content-Type": "application/vnd.api+json",
2813
+ ...options.headers
2814
+ }
2815
+ });
2692
2816
  var getSupportTicketsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2693
2817
  security: [{ scheme: "bearer", type: "http" }],
2694
2818
  url: "/support/tickets/workspace/{workspace_id}",
@@ -2727,6 +2851,11 @@ var postWatcherClaims = (options) => (options.client ?? client).post({
2727
2851
  ...options.headers
2728
2852
  }
2729
2853
  });
2854
+ var getLlmAnalytics = (options) => (options.client ?? client).get({
2855
+ security: [{ scheme: "bearer", type: "http" }],
2856
+ url: "/llm_analytics",
2857
+ ...options
2858
+ });
2730
2859
  var getCrawlerJobs = (options) => (options.client ?? client).get({
2731
2860
  security: [{ scheme: "bearer", type: "http" }],
2732
2861
  url: "/crawler/jobs",
@@ -2778,6 +2907,16 @@ var patchVoiceSessionsByIdFinalize = (options) => (options.client ?? client).pat
2778
2907
  ...options.headers
2779
2908
  }
2780
2909
  });
2910
+ var deleteProcessingActivitiesById = (options) => (options.client ?? client).delete({
2911
+ security: [{ scheme: "bearer", type: "http" }],
2912
+ url: "/processing-activities/{id}",
2913
+ ...options
2914
+ });
2915
+ var getProcessingActivitiesById = (options) => (options.client ?? client).get({
2916
+ security: [{ scheme: "bearer", type: "http" }],
2917
+ url: "/processing-activities/{id}",
2918
+ ...options
2919
+ });
2781
2920
  var postThreadsByIdExport = (options) => (options.client ?? client).post({
2782
2921
  security: [{ scheme: "bearer", type: "http" }],
2783
2922
  url: "/threads/{id}/export",
@@ -2787,6 +2926,34 @@ var postThreadsByIdExport = (options) => (options.client ?? client).post({
2787
2926
  ...options.headers
2788
2927
  }
2789
2928
  });
2929
+ var getDataSubjectRequests = (options) => (options.client ?? client).get({
2930
+ security: [{ scheme: "bearer", type: "http" }],
2931
+ url: "/data-subject-requests",
2932
+ ...options
2933
+ });
2934
+ var postDataSubjectRequests = (options) => (options.client ?? client).post({
2935
+ security: [{ scheme: "bearer", type: "http" }],
2936
+ url: "/data-subject-requests",
2937
+ ...options,
2938
+ headers: {
2939
+ "Content-Type": "application/vnd.api+json",
2940
+ ...options.headers
2941
+ }
2942
+ });
2943
+ var getImpactAssessmentsById = (options) => (options.client ?? client).get({
2944
+ security: [{ scheme: "bearer", type: "http" }],
2945
+ url: "/impact-assessments/{id}",
2946
+ ...options
2947
+ });
2948
+ var patchImpactAssessmentsById = (options) => (options.client ?? client).patch({
2949
+ security: [{ scheme: "bearer", type: "http" }],
2950
+ url: "/impact-assessments/{id}",
2951
+ ...options,
2952
+ headers: {
2953
+ "Content-Type": "application/vnd.api+json",
2954
+ ...options.headers
2955
+ }
2956
+ });
2790
2957
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2791
2958
  security: [{ scheme: "bearer", type: "http" }],
2792
2959
  url: "/agents/{id}/teach",
@@ -2823,6 +2990,11 @@ var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).po
2823
2990
  ...options.headers
2824
2991
  }
2825
2992
  });
2993
+ var getDataSubjectRequestsById = (options) => (options.client ?? client).get({
2994
+ security: [{ scheme: "bearer", type: "http" }],
2995
+ url: "/data-subject-requests/{id}",
2996
+ ...options
2997
+ });
2826
2998
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
2827
2999
  security: [{ scheme: "bearer", type: "http" }],
2828
3000
  url: "/users/register-isv",
@@ -2935,6 +3107,11 @@ var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get
2935
3107
  url: "/extraction/documents/{id}/view",
2936
3108
  ...options
2937
3109
  });
3110
+ var getAuditLogs = (options) => (options.client ?? client).get({
3111
+ security: [{ scheme: "bearer", type: "http" }],
3112
+ url: "/audit-logs",
3113
+ ...options
3114
+ });
2938
3115
  var getBuckets = (options) => (options.client ?? client).get({
2939
3116
  security: [{ scheme: "bearer", type: "http" }],
2940
3117
  url: "/buckets",
@@ -2958,6 +3135,11 @@ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post(
2958
3135
  ...options.headers
2959
3136
  }
2960
3137
  });
3138
+ var getCrmContactsWorkspaceByWorkspaceIdArchived = (options) => (options.client ?? client).get({
3139
+ security: [{ scheme: "bearer", type: "http" }],
3140
+ url: "/crm/contacts/workspace/{workspace_id}/archived",
3141
+ ...options
3142
+ });
2961
3143
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
2962
3144
  security: [{ scheme: "bearer", type: "http" }],
2963
3145
  url: "/documents/bulk-delete",
@@ -3047,6 +3229,15 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3047
3229
  ...options.headers
3048
3230
  }
3049
3231
  });
3232
+ var patchCrmContactsByIdArchive = (options) => (options.client ?? client).patch({
3233
+ security: [{ scheme: "bearer", type: "http" }],
3234
+ url: "/crm/contacts/{id}/archive",
3235
+ ...options,
3236
+ headers: {
3237
+ "Content-Type": "application/vnd.api+json",
3238
+ ...options.headers
3239
+ }
3240
+ });
3050
3241
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
3051
3242
  security: [{ scheme: "bearer", type: "http" }],
3052
3243
  url: "/webhook-configs/{id}/rotate-secret",
@@ -3056,6 +3247,11 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
3056
3247
  ...options.headers
3057
3248
  }
3058
3249
  });
3250
+ var getBreachNotificationsById = (options) => (options.client ?? client).get({
3251
+ security: [{ scheme: "bearer", type: "http" }],
3252
+ url: "/breach-notifications/{id}",
3253
+ ...options
3254
+ });
3059
3255
  var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post({
3060
3256
  security: [{ scheme: "bearer", type: "http" }],
3061
3257
  url: "/tenants/{id}/schedule-purge",
@@ -3117,6 +3313,11 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
3117
3313
  ...options.headers
3118
3314
  }
3119
3315
  });
3316
+ var getAuditChainEntriesById = (options) => (options.client ?? client).get({
3317
+ security: [{ scheme: "bearer", type: "http" }],
3318
+ url: "/audit-chain-entries/{id}",
3319
+ ...options
3320
+ });
3120
3321
  var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
3121
3322
  security: [{ scheme: "bearer", type: "http" }],
3122
3323
  url: "/threads/{id}/unarchive",
@@ -3149,6 +3350,30 @@ var postAiSearch = (options) => (options.client ?? client).post({
3149
3350
  ...options.headers
3150
3351
  }
3151
3352
  });
3353
+ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3354
+ security: [{ scheme: "bearer", type: "http" }],
3355
+ url: "/ai/graph/nodes/{id}",
3356
+ ...options
3357
+ });
3358
+ var getImpactAssessments = (options) => (options.client ?? client).get({
3359
+ security: [{ scheme: "bearer", type: "http" }],
3360
+ url: "/impact-assessments",
3361
+ ...options
3362
+ });
3363
+ var postImpactAssessments = (options) => (options.client ?? client).post({
3364
+ security: [{ scheme: "bearer", type: "http" }],
3365
+ url: "/impact-assessments",
3366
+ ...options,
3367
+ headers: {
3368
+ "Content-Type": "application/vnd.api+json",
3369
+ ...options.headers
3370
+ }
3371
+ });
3372
+ var getLegalAcceptancesLatest = (options) => (options.client ?? client).get({
3373
+ security: [{ scheme: "bearer", type: "http" }],
3374
+ url: "/legal-acceptances/latest",
3375
+ ...options
3376
+ });
3152
3377
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3153
3378
  security: [{ scheme: "bearer", type: "http" }],
3154
3379
  url: "/workspaces/shared",
@@ -3214,6 +3439,11 @@ var postConnectorsOauthInitiate = (options) => (options.client ?? client).post({
3214
3439
  ...options.headers
3215
3440
  }
3216
3441
  });
3442
+ var getConsentRecordsActive = (options) => (options.client ?? client).get({
3443
+ security: [{ scheme: "bearer", type: "http" }],
3444
+ url: "/consent-records/active",
3445
+ ...options
3446
+ });
3217
3447
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3218
3448
  security: [{ scheme: "bearer", type: "http" }],
3219
3449
  url: "/search/saved/{id}/run",
@@ -3279,6 +3509,15 @@ var patchCatalogProductVariantsById = (options) => (options.client ?? client).pa
3279
3509
  ...options.headers
3280
3510
  }
3281
3511
  });
3512
+ var patchBreachIncidentsByIdStatus = (options) => (options.client ?? client).patch({
3513
+ security: [{ scheme: "bearer", type: "http" }],
3514
+ url: "/breach-incidents/{id}/status",
3515
+ ...options,
3516
+ headers: {
3517
+ "Content-Type": "application/vnd.api+json",
3518
+ ...options.headers
3519
+ }
3520
+ });
3282
3521
  var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
3283
3522
  security: [{ scheme: "bearer", type: "http" }],
3284
3523
  url: "/webhook-deliveries/bulk-retry",
@@ -3288,6 +3527,11 @@ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).pos
3288
3527
  ...options.headers
3289
3528
  }
3290
3529
  });
3530
+ var getLegalDocumentsByLocale = (options) => (options.client ?? client).get({
3531
+ security: [{ scheme: "bearer", type: "http" }],
3532
+ url: "/legal-documents/by-locale",
3533
+ ...options
3534
+ });
3291
3535
  var getWatcherClaimsById = (options) => (options.client ?? client).get({
3292
3536
  security: [{ scheme: "bearer", type: "http" }],
3293
3537
  url: "/watcher/claims/{id}",
@@ -3320,6 +3564,15 @@ var postAiEmbed = (options) => (options.client ?? client).post({
3320
3564
  ...options.headers
3321
3565
  }
3322
3566
  });
3567
+ var patchConsentRecordsByIdWithdraw = (options) => (options.client ?? client).patch({
3568
+ security: [{ scheme: "bearer", type: "http" }],
3569
+ url: "/consent-records/{id}/withdraw",
3570
+ ...options,
3571
+ headers: {
3572
+ "Content-Type": "application/vnd.api+json",
3573
+ ...options.headers
3574
+ }
3575
+ });
3323
3576
  var getSchedulingBookings = (options) => (options.client ?? client).get({
3324
3577
  security: [{ scheme: "bearer", type: "http" }],
3325
3578
  url: "/scheduling/bookings",
@@ -3362,6 +3615,11 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3362
3615
  ...options.headers
3363
3616
  }
3364
3617
  });
3618
+ var getScanResultsById = (options) => (options.client ?? client).get({
3619
+ security: [{ scheme: "bearer", type: "http" }],
3620
+ url: "/scan-results/{id}",
3621
+ ...options
3622
+ });
3365
3623
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
3366
3624
  security: [{ scheme: "bearer", type: "http" }],
3367
3625
  url: "/extraction/results/{id}/regenerate",
@@ -3620,6 +3878,20 @@ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ??
3620
3878
  ...options.headers
3621
3879
  }
3622
3880
  });
3881
+ var getConsentRecords = (options) => (options.client ?? client).get({
3882
+ security: [{ scheme: "bearer", type: "http" }],
3883
+ url: "/consent-records",
3884
+ ...options
3885
+ });
3886
+ var postConsentRecords = (options) => (options.client ?? client).post({
3887
+ security: [{ scheme: "bearer", type: "http" }],
3888
+ url: "/consent-records",
3889
+ ...options,
3890
+ headers: {
3891
+ "Content-Type": "application/vnd.api+json",
3892
+ ...options.headers
3893
+ }
3894
+ });
3623
3895
  var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
3624
3896
  security: [{ scheme: "bearer", type: "http" }],
3625
3897
  url: "/users/auth/resend-confirmation",
@@ -3707,6 +3979,34 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3707
3979
  ...options.headers
3708
3980
  }
3709
3981
  });
3982
+ var patchConfigsByKey = (options) => (options.client ?? client).patch({
3983
+ security: [{ scheme: "bearer", type: "http" }],
3984
+ url: "/configs/{key}",
3985
+ ...options,
3986
+ headers: {
3987
+ "Content-Type": "application/vnd.api+json",
3988
+ ...options.headers
3989
+ }
3990
+ });
3991
+ var deleteLegalDocumentsById = (options) => (options.client ?? client).delete({
3992
+ security: [{ scheme: "bearer", type: "http" }],
3993
+ url: "/legal-documents/{id}",
3994
+ ...options
3995
+ });
3996
+ var getLegalDocumentsById = (options) => (options.client ?? client).get({
3997
+ security: [{ scheme: "bearer", type: "http" }],
3998
+ url: "/legal-documents/{id}",
3999
+ ...options
4000
+ });
4001
+ var patchLegalDocumentsById = (options) => (options.client ?? client).patch({
4002
+ security: [{ scheme: "bearer", type: "http" }],
4003
+ url: "/legal-documents/{id}",
4004
+ ...options,
4005
+ headers: {
4006
+ "Content-Type": "application/vnd.api+json",
4007
+ ...options.headers
4008
+ }
4009
+ });
3710
4010
  var getExtractionResults = (options) => (options.client ?? client).get({
3711
4011
  security: [{ scheme: "bearer", type: "http" }],
3712
4012
  url: "/extraction/results",
@@ -3721,11 +4021,30 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
3721
4021
  ...options.headers
3722
4022
  }
3723
4023
  });
4024
+ var getLegalDocuments = (options) => (options.client ?? client).get({
4025
+ security: [{ scheme: "bearer", type: "http" }],
4026
+ url: "/legal-documents",
4027
+ ...options
4028
+ });
4029
+ var postLegalDocuments = (options) => (options.client ?? client).post({
4030
+ security: [{ scheme: "bearer", type: "http" }],
4031
+ url: "/legal-documents",
4032
+ ...options,
4033
+ headers: {
4034
+ "Content-Type": "application/vnd.api+json",
4035
+ ...options.headers
4036
+ }
4037
+ });
3724
4038
  var getInvitationsMe = (options) => (options.client ?? client).get({
3725
4039
  security: [{ scheme: "bearer", type: "http" }],
3726
4040
  url: "/invitations/me",
3727
4041
  ...options
3728
4042
  });
4043
+ var getLegalDocumentsForApplication = (options) => (options.client ?? client).get({
4044
+ security: [{ scheme: "bearer", type: "http" }],
4045
+ url: "/legal-documents/for-application",
4046
+ ...options
4047
+ });
3729
4048
  var getApiKeys = (options) => (options.client ?? client).get({
3730
4049
  security: [{ scheme: "bearer", type: "http" }],
3731
4050
  url: "/api-keys",
@@ -3801,11 +4120,39 @@ var postCrmDeals = (options) => (options.client ?? client).post({
3801
4120
  ...options.headers
3802
4121
  }
3803
4122
  });
4123
+ var patchDataSubjectRequestsByIdStatus = (options) => (options.client ?? client).patch({
4124
+ security: [{ scheme: "bearer", type: "http" }],
4125
+ url: "/data-subject-requests/{id}/status",
4126
+ ...options,
4127
+ headers: {
4128
+ "Content-Type": "application/vnd.api+json",
4129
+ ...options.headers
4130
+ }
4131
+ });
4132
+ var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
4133
+ security: [{ scheme: "bearer", type: "http" }],
4134
+ url: "/llm_analytics/usage",
4135
+ ...options
4136
+ });
3804
4137
  var getCrmActivitiesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
3805
4138
  security: [{ scheme: "bearer", type: "http" }],
3806
4139
  url: "/crm/activities/workspace/{workspace_id}",
3807
4140
  ...options
3808
4141
  });
4142
+ var getAiGraphNodes = (options) => (options.client ?? client).get({
4143
+ security: [{ scheme: "bearer", type: "http" }],
4144
+ url: "/ai/graph/nodes",
4145
+ ...options
4146
+ });
4147
+ var postAiGraphNodes = (options) => (options.client ?? client).post({
4148
+ security: [{ scheme: "bearer", type: "http" }],
4149
+ url: "/ai/graph/nodes",
4150
+ ...options,
4151
+ headers: {
4152
+ "Content-Type": "application/vnd.api+json",
4153
+ ...options.headers
4154
+ }
4155
+ });
3809
4156
  var getAgents = (options) => (options.client ?? client).get({
3810
4157
  security: [{ scheme: "bearer", type: "http" }],
3811
4158
  url: "/agents",
@@ -3834,31 +4181,64 @@ var postSupportTicketRatings = (options) => (options.client ?? client).post({
3834
4181
  ...options.headers
3835
4182
  }
3836
4183
  });
3837
- var getConnectors = (options) => (options.client ?? client).get({
4184
+ var getBreachNotifications = (options) => (options.client ?? client).get({
3838
4185
  security: [{ scheme: "bearer", type: "http" }],
3839
- url: "/connectors",
4186
+ url: "/breach-notifications",
3840
4187
  ...options
3841
4188
  });
3842
- var postConnectors = (options) => (options.client ?? client).post({
4189
+ var getRetentionPolicies = (options) => (options.client ?? client).get({
3843
4190
  security: [{ scheme: "bearer", type: "http" }],
3844
- url: "/connectors",
4191
+ url: "/retention-policies",
4192
+ ...options
4193
+ });
4194
+ var postRetentionPolicies = (options) => (options.client ?? client).post({
4195
+ security: [{ scheme: "bearer", type: "http" }],
4196
+ url: "/retention-policies",
3845
4197
  ...options,
3846
4198
  headers: {
3847
4199
  "Content-Type": "application/vnd.api+json",
3848
4200
  ...options.headers
3849
4201
  }
3850
4202
  });
3851
- var postAgentsByIdExport = (options) => (options.client ?? client).post({
4203
+ var getProcessingActivities = (options) => (options.client ?? client).get({
3852
4204
  security: [{ scheme: "bearer", type: "http" }],
3853
- url: "/agents/{id}/export",
4205
+ url: "/processing-activities",
3854
4206
  ...options
3855
4207
  });
3856
- var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4208
+ var postProcessingActivities = (options) => (options.client ?? client).post({
3857
4209
  security: [{ scheme: "bearer", type: "http" }],
3858
- url: "/extraction/batches/{id}",
3859
- ...options
4210
+ url: "/processing-activities",
4211
+ ...options,
4212
+ headers: {
4213
+ "Content-Type": "application/vnd.api+json",
4214
+ ...options.headers
4215
+ }
3860
4216
  });
3861
- var getExtractionBatchesById = (options) => (options.client ?? client).get({
4217
+ var getConnectors = (options) => (options.client ?? client).get({
4218
+ security: [{ scheme: "bearer", type: "http" }],
4219
+ url: "/connectors",
4220
+ ...options
4221
+ });
4222
+ var postConnectors = (options) => (options.client ?? client).post({
4223
+ security: [{ scheme: "bearer", type: "http" }],
4224
+ url: "/connectors",
4225
+ ...options,
4226
+ headers: {
4227
+ "Content-Type": "application/vnd.api+json",
4228
+ ...options.headers
4229
+ }
4230
+ });
4231
+ var postAgentsByIdExport = (options) => (options.client ?? client).post({
4232
+ security: [{ scheme: "bearer", type: "http" }],
4233
+ url: "/agents/{id}/export",
4234
+ ...options
4235
+ });
4236
+ var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4237
+ security: [{ scheme: "bearer", type: "http" }],
4238
+ url: "/extraction/batches/{id}",
4239
+ ...options
4240
+ });
4241
+ var getExtractionBatchesById = (options) => (options.client ?? client).get({
3862
4242
  security: [{ scheme: "bearer", type: "http" }],
3863
4243
  url: "/extraction/batches/{id}",
3864
4244
  ...options
@@ -4347,6 +4727,80 @@ function createAiNamespace(rb) {
4347
4727
  options
4348
4728
  );
4349
4729
  }
4730
+ },
4731
+ /**
4732
+ * Analytics — LLM token usage, costs, and workspace metrics
4733
+ */
4734
+ analytics: {
4735
+ /** List LLM analytics records */
4736
+ list: async (options) => {
4737
+ return rb.execute(getLlmAnalytics, {}, options);
4738
+ },
4739
+ /** Get LLM cost breakdown */
4740
+ costs: async (options) => {
4741
+ return rb.execute(
4742
+ getLlmAnalyticsCosts,
4743
+ {},
4744
+ options
4745
+ );
4746
+ },
4747
+ /** Get LLM usage summary */
4748
+ summary: async (options) => {
4749
+ return rb.execute(
4750
+ getLlmAnalyticsSummary,
4751
+ {},
4752
+ options
4753
+ );
4754
+ },
4755
+ /** Get raw LLM usage data */
4756
+ usage: async (options) => {
4757
+ return rb.execute(
4758
+ getLlmAnalyticsUsage,
4759
+ {},
4760
+ options
4761
+ );
4762
+ },
4763
+ /** Get workspace-scoped LLM metrics */
4764
+ workspace: async (options) => {
4765
+ return rb.execute(
4766
+ getLlmAnalyticsWorkspace,
4767
+ {},
4768
+ options
4769
+ );
4770
+ }
4771
+ },
4772
+ /**
4773
+ * Graph — knowledge graph node management
4774
+ */
4775
+ graph: {
4776
+ /** List knowledge graph nodes */
4777
+ listNodes: async (options) => {
4778
+ return rb.execute(
4779
+ getAiGraphNodes,
4780
+ {},
4781
+ options
4782
+ );
4783
+ },
4784
+ /** Create a knowledge graph node */
4785
+ createNode: async (attributes, options) => {
4786
+ return rb.execute(
4787
+ postAiGraphNodes,
4788
+ {
4789
+ body: {
4790
+ data: { type: "graph_node", attributes }
4791
+ }
4792
+ },
4793
+ options
4794
+ );
4795
+ },
4796
+ /** Delete a knowledge graph node */
4797
+ deleteNode: async (id, options) => {
4798
+ return rb.executeDelete(
4799
+ deleteAiGraphNodesById,
4800
+ { path: { id } },
4801
+ options
4802
+ );
4803
+ }
4350
4804
  }
4351
4805
  };
4352
4806
  }
@@ -4437,277 +4891,789 @@ function createBillingNamespace(rb) {
4437
4891
  );
4438
4892
  }
4439
4893
  },
4440
- paymentMethods: {
4441
- delete: async (id, options) => {
4442
- return rb.executeDelete(
4443
- deletePaymentMethodsById,
4444
- { path: { id } },
4445
- options
4446
- );
4447
- },
4894
+ paymentMethods: {
4895
+ delete: async (id, options) => {
4896
+ return rb.executeDelete(
4897
+ deletePaymentMethodsById,
4898
+ { path: { id } },
4899
+ options
4900
+ );
4901
+ },
4902
+ list: async (options) => {
4903
+ return rb.execute(
4904
+ getPaymentMethods,
4905
+ buildPageQuery(options?.page, options?.pageSize),
4906
+ options
4907
+ );
4908
+ },
4909
+ listAll: async (options) => {
4910
+ return paginateToArray(
4911
+ rb.createPaginatedFetcher(
4912
+ getPaymentMethods,
4913
+ (page, pageSize) => ({
4914
+ query: { page: { number: page, size: pageSize } }
4915
+ }),
4916
+ options
4917
+ )
4918
+ );
4919
+ },
4920
+ create: async (attributes, options) => {
4921
+ return rb.execute(
4922
+ postPaymentMethods,
4923
+ { body: { data: { type: "payment_method", attributes } } },
4924
+ options
4925
+ );
4926
+ },
4927
+ update: async (id, attributes, options) => {
4928
+ return rb.execute(
4929
+ patchPaymentMethodsById,
4930
+ {
4931
+ path: { id },
4932
+ body: { data: { id, type: "payment_method", attributes } }
4933
+ },
4934
+ options
4935
+ );
4936
+ },
4937
+ get: async (id, options) => {
4938
+ return rb.execute(
4939
+ getPaymentMethodsById,
4940
+ { path: { id } },
4941
+ options
4942
+ );
4943
+ }
4944
+ }
4945
+ };
4946
+ }
4947
+
4948
+ // src/namespaces/catalog.ts
4949
+ function createCatalogNamespace(rb) {
4950
+ return {
4951
+ /**
4952
+ * Products — product catalog management
4953
+ */
4954
+ products: {
4955
+ /** List products for a workspace */
4956
+ list: async (workspaceId, options) => {
4957
+ return rb.execute(
4958
+ getCatalogProductsWorkspaceByWorkspaceId,
4959
+ {
4960
+ path: { workspace_id: workspaceId },
4961
+ ...buildPageQuery(options?.page, options?.pageSize)
4962
+ },
4963
+ options
4964
+ );
4965
+ },
4966
+ /** Get a product by ID */
4967
+ get: async (id, options) => {
4968
+ return rb.execute(
4969
+ getCatalogProductsById,
4970
+ { path: { id } },
4971
+ options
4972
+ );
4973
+ },
4974
+ /** Create a new product */
4975
+ create: async (attributes, options) => {
4976
+ return rb.execute(
4977
+ postCatalogProducts,
4978
+ {
4979
+ body: {
4980
+ data: { type: "catalog_product", attributes }
4981
+ }
4982
+ },
4983
+ options
4984
+ );
4985
+ },
4986
+ /** Update a product */
4987
+ update: async (id, attributes, options) => {
4988
+ return rb.execute(
4989
+ patchCatalogProductsById,
4990
+ {
4991
+ path: { id },
4992
+ body: {
4993
+ data: { type: "catalog_product", id, attributes }
4994
+ }
4995
+ },
4996
+ options
4997
+ );
4998
+ },
4999
+ /** Delete a product */
5000
+ delete: async (id, options) => {
5001
+ return rb.executeDelete(
5002
+ deleteCatalogProductsById,
5003
+ { path: { id } },
5004
+ options
5005
+ );
5006
+ }
5007
+ },
5008
+ /**
5009
+ * Variants — product variants (SKUs)
5010
+ */
5011
+ variants: {
5012
+ /** Get a variant by ID */
5013
+ get: async (id, options) => {
5014
+ return rb.execute(
5015
+ getCatalogProductVariantsById,
5016
+ { path: { id } },
5017
+ options
5018
+ );
5019
+ },
5020
+ /** List variants for a product */
5021
+ listByProduct: async (productId, options) => {
5022
+ return rb.execute(
5023
+ getCatalogProductVariantsProductByProductId,
5024
+ { path: { product_id: productId } },
5025
+ options
5026
+ );
5027
+ },
5028
+ /** Create a product variant */
5029
+ create: async (attributes, options) => {
5030
+ return rb.execute(
5031
+ postCatalogProductVariants,
5032
+ {
5033
+ body: {
5034
+ data: { type: "catalog_product_variant", attributes }
5035
+ }
5036
+ },
5037
+ options
5038
+ );
5039
+ },
5040
+ /** Update a product variant */
5041
+ update: async (id, attributes, options) => {
5042
+ return rb.execute(
5043
+ patchCatalogProductVariantsById,
5044
+ {
5045
+ path: { id },
5046
+ body: {
5047
+ data: { type: "catalog_product_variant", id, attributes }
5048
+ }
5049
+ },
5050
+ options
5051
+ );
5052
+ },
5053
+ /** Delete a product variant */
5054
+ delete: async (id, options) => {
5055
+ return rb.executeDelete(
5056
+ deleteCatalogProductVariantsById,
5057
+ { path: { id } },
5058
+ options
5059
+ );
5060
+ }
5061
+ },
5062
+ /**
5063
+ * Taxonomies — product classification trees
5064
+ */
5065
+ taxonomies: {
5066
+ /** List taxonomies for an application */
5067
+ listByApplication: async (applicationId, options) => {
5068
+ return rb.execute(
5069
+ getCatalogTaxonomiesApplicationByApplicationId,
5070
+ { path: { application_id: applicationId } },
5071
+ options
5072
+ );
5073
+ },
5074
+ /** Get a taxonomy by ID */
5075
+ get: async (id, options) => {
5076
+ return rb.execute(
5077
+ getCatalogTaxonomiesById,
5078
+ { path: { id } },
5079
+ options
5080
+ );
5081
+ },
5082
+ /** Create a taxonomy */
5083
+ create: async (attributes, options) => {
5084
+ return rb.execute(
5085
+ postCatalogTaxonomies,
5086
+ {
5087
+ body: {
5088
+ data: { type: "catalog_taxonomy", attributes }
5089
+ }
5090
+ },
5091
+ options
5092
+ );
5093
+ },
5094
+ /** Update a taxonomy */
5095
+ update: async (id, attributes, options) => {
5096
+ return rb.execute(
5097
+ patchCatalogTaxonomiesById,
5098
+ {
5099
+ path: { id },
5100
+ body: {
5101
+ data: { type: "catalog_taxonomy", id, attributes }
5102
+ }
5103
+ },
5104
+ options
5105
+ );
5106
+ },
5107
+ /** Delete a taxonomy */
5108
+ delete: async (id, options) => {
5109
+ return rb.executeDelete(
5110
+ deleteCatalogTaxonomiesById,
5111
+ { path: { id } },
5112
+ options
5113
+ );
5114
+ }
5115
+ },
5116
+ /**
5117
+ * Taxonomy nodes — nodes within a taxonomy tree
5118
+ */
5119
+ taxonomyNodes: {
5120
+ /** List nodes for a taxonomy */
5121
+ listByTaxonomy: async (taxonomyId, options) => {
5122
+ return rb.execute(
5123
+ getCatalogTaxonomyNodesTaxonomyByTaxonomyId,
5124
+ { path: { taxonomy_id: taxonomyId } },
5125
+ options
5126
+ );
5127
+ },
5128
+ /** Get a taxonomy node by ID */
5129
+ get: async (id, options) => {
5130
+ return rb.execute(
5131
+ getCatalogTaxonomyNodesById,
5132
+ { path: { id } },
5133
+ options
5134
+ );
5135
+ },
5136
+ /** Create a taxonomy node */
5137
+ create: async (attributes, options) => {
5138
+ return rb.execute(
5139
+ postCatalogTaxonomyNodes,
5140
+ {
5141
+ body: {
5142
+ data: { type: "catalog_taxonomy_node", attributes }
5143
+ }
5144
+ },
5145
+ options
5146
+ );
5147
+ },
5148
+ /** Update a taxonomy node */
5149
+ update: async (id, attributes, options) => {
5150
+ return rb.execute(
5151
+ patchCatalogTaxonomyNodesById,
5152
+ {
5153
+ path: { id },
5154
+ body: {
5155
+ data: { type: "catalog_taxonomy_node", id, attributes }
5156
+ }
5157
+ },
5158
+ options
5159
+ );
5160
+ },
5161
+ /** Delete a taxonomy node */
5162
+ delete: async (id, options) => {
5163
+ return rb.executeDelete(
5164
+ deleteCatalogTaxonomyNodesById,
5165
+ { path: { id } },
5166
+ options
5167
+ );
5168
+ }
5169
+ }
5170
+ };
5171
+ }
5172
+
5173
+ // src/namespaces/compliance.ts
5174
+ function createComplianceNamespace(rb) {
5175
+ return {
5176
+ /**
5177
+ * Audit logs — immutable event trail
5178
+ */
5179
+ auditLogs: {
5180
+ /** List audit log entries */
5181
+ list: async (options) => {
5182
+ return rb.execute(
5183
+ getAuditLogs,
5184
+ buildPageQuery(options?.page, options?.pageSize),
5185
+ options
5186
+ );
5187
+ }
5188
+ },
5189
+ /**
5190
+ * Audit chain entries — tamper-evident audit chain records
5191
+ */
5192
+ auditChain: {
5193
+ /** List audit chain entries */
5194
+ list: async (options) => {
5195
+ return rb.execute(
5196
+ getAuditChainEntries,
5197
+ buildPageQuery(options?.page, options?.pageSize),
5198
+ options
5199
+ );
5200
+ },
5201
+ /** Get an audit chain entry by ID */
5202
+ get: async (id, options) => {
5203
+ return rb.execute(
5204
+ getAuditChainEntriesById,
5205
+ { path: { id } },
5206
+ options
5207
+ );
5208
+ }
5209
+ },
5210
+ /**
5211
+ * Breach incidents — data breach tracking and notifications
5212
+ */
5213
+ breachIncidents: {
5214
+ /** List breach incidents */
5215
+ list: async (options) => {
5216
+ return rb.execute(
5217
+ getBreachIncidents,
5218
+ buildPageQuery(options?.page, options?.pageSize),
5219
+ options
5220
+ );
5221
+ },
5222
+ /** Get a breach incident by ID */
5223
+ get: async (id, options) => {
5224
+ return rb.execute(
5225
+ getBreachIncidentsById,
5226
+ { path: { id } },
5227
+ options
5228
+ );
5229
+ },
5230
+ /** Report a new breach incident */
5231
+ create: async (attributes, options) => {
5232
+ return rb.execute(
5233
+ postBreachIncidents,
5234
+ {
5235
+ body: {
5236
+ data: { type: "breach_incident", attributes }
5237
+ }
5238
+ },
5239
+ options
5240
+ );
5241
+ },
5242
+ /** Update breach incident status */
5243
+ updateStatus: async (id, status, options) => {
5244
+ return rb.execute(
5245
+ patchBreachIncidentsByIdStatus,
5246
+ {
5247
+ path: { id },
5248
+ body: {
5249
+ data: { type: "breach_incident", id, attributes: { status } }
5250
+ }
5251
+ },
5252
+ options
5253
+ );
5254
+ }
5255
+ },
5256
+ /**
5257
+ * Breach notifications — regulatory notifications for breach incidents
5258
+ */
5259
+ breachNotifications: {
5260
+ /** List breach notifications */
5261
+ list: async (options) => {
5262
+ return rb.execute(
5263
+ getBreachNotifications,
5264
+ buildPageQuery(options?.page, options?.pageSize),
5265
+ options
5266
+ );
5267
+ },
5268
+ /** Get a breach notification by ID */
5269
+ get: async (id, options) => {
5270
+ return rb.execute(
5271
+ getBreachNotificationsById,
5272
+ { path: { id } },
5273
+ options
5274
+ );
5275
+ }
5276
+ },
5277
+ /**
5278
+ * Consent records — user consent tracking (GDPR Article 7)
5279
+ */
5280
+ consentRecords: {
5281
+ /** List consent records */
5282
+ list: async (options) => {
5283
+ return rb.execute(
5284
+ getConsentRecords,
5285
+ buildPageQuery(options?.page, options?.pageSize),
5286
+ options
5287
+ );
5288
+ },
5289
+ /** Get a consent record by ID */
5290
+ get: async (id, options) => {
5291
+ return rb.execute(
5292
+ getConsentRecordsById,
5293
+ { path: { id } },
5294
+ options
5295
+ );
5296
+ },
5297
+ /** List active consent records */
5298
+ listActive: async (options) => {
5299
+ return rb.execute(
5300
+ getConsentRecordsActive,
5301
+ {},
5302
+ options
5303
+ );
5304
+ },
5305
+ /** Record new consent */
5306
+ create: async (attributes, options) => {
5307
+ return rb.execute(
5308
+ postConsentRecords,
5309
+ {
5310
+ body: {
5311
+ data: { type: "consent_record", attributes }
5312
+ }
5313
+ },
5314
+ options
5315
+ );
5316
+ },
5317
+ /** Withdraw consent */
5318
+ withdraw: async (id, options) => {
5319
+ return rb.execute(
5320
+ patchConsentRecordsByIdWithdraw,
5321
+ {
5322
+ path: { id },
5323
+ body: {
5324
+ data: { type: "consent_record", id, attributes: {} }
5325
+ }
5326
+ },
5327
+ options
5328
+ );
5329
+ }
5330
+ },
5331
+ /**
5332
+ * Impact assessments — Data Protection Impact Assessments (DPIA)
5333
+ */
5334
+ impactAssessments: {
5335
+ /** List impact assessments */
5336
+ list: async (options) => {
5337
+ return rb.execute(
5338
+ getImpactAssessments,
5339
+ buildPageQuery(options?.page, options?.pageSize),
5340
+ options
5341
+ );
5342
+ },
5343
+ /** Get an impact assessment by ID */
5344
+ get: async (id, options) => {
5345
+ return rb.execute(
5346
+ getImpactAssessmentsById,
5347
+ { path: { id } },
5348
+ options
5349
+ );
5350
+ },
5351
+ /** Create an impact assessment */
5352
+ create: async (attributes, options) => {
5353
+ return rb.execute(
5354
+ postImpactAssessments,
5355
+ {
5356
+ body: {
5357
+ data: {
5358
+ type: "data_protection_impact_assessment",
5359
+ attributes
5360
+ }
5361
+ }
5362
+ },
5363
+ options
5364
+ );
5365
+ },
5366
+ /** Update an impact assessment */
5367
+ update: async (id, attributes, options) => {
5368
+ return rb.execute(
5369
+ patchImpactAssessmentsById,
5370
+ {
5371
+ path: { id },
5372
+ body: {
5373
+ data: {
5374
+ type: "data_protection_impact_assessment",
5375
+ id,
5376
+ attributes
5377
+ }
5378
+ }
5379
+ },
5380
+ options
5381
+ );
5382
+ },
5383
+ /** Approve an impact assessment */
5384
+ approve: async (id, options) => {
5385
+ return rb.execute(
5386
+ patchImpactAssessmentsByIdApprove,
5387
+ {
5388
+ path: { id },
5389
+ body: {
5390
+ data: {
5391
+ type: "data_protection_impact_assessment",
5392
+ id,
5393
+ attributes: {}
5394
+ }
5395
+ }
5396
+ },
5397
+ options
5398
+ );
5399
+ }
5400
+ },
5401
+ /**
5402
+ * Processing activities — GDPR Article 30 records of processing
5403
+ */
5404
+ processingActivities: {
5405
+ /** List processing activities */
4448
5406
  list: async (options) => {
4449
5407
  return rb.execute(
4450
- getPaymentMethods,
5408
+ getProcessingActivities,
4451
5409
  buildPageQuery(options?.page, options?.pageSize),
4452
5410
  options
4453
5411
  );
4454
5412
  },
4455
- listAll: async (options) => {
4456
- return paginateToArray(
4457
- rb.createPaginatedFetcher(
4458
- getPaymentMethods,
4459
- (page, pageSize) => ({
4460
- query: { page: { number: page, size: pageSize } }
4461
- }),
4462
- options
4463
- )
4464
- );
4465
- },
4466
- create: async (attributes, options) => {
5413
+ /** Get a processing activity by ID */
5414
+ get: async (id, options) => {
4467
5415
  return rb.execute(
4468
- postPaymentMethods,
4469
- { body: { data: { type: "payment_method", attributes } } },
5416
+ getProcessingActivitiesById,
5417
+ { path: { id } },
4470
5418
  options
4471
5419
  );
4472
5420
  },
4473
- update: async (id, attributes, options) => {
5421
+ /** Create a processing activity */
5422
+ create: async (attributes, options) => {
4474
5423
  return rb.execute(
4475
- patchPaymentMethodsById,
5424
+ postProcessingActivities,
4476
5425
  {
4477
- path: { id },
4478
- body: { data: { id, type: "payment_method", attributes } }
5426
+ body: {
5427
+ data: { type: "processing_activity", attributes }
5428
+ }
4479
5429
  },
4480
5430
  options
4481
5431
  );
4482
5432
  },
4483
- get: async (id, options) => {
4484
- return rb.execute(
4485
- getPaymentMethodsById,
5433
+ /** Delete a processing activity */
5434
+ delete: async (id, options) => {
5435
+ return rb.executeDelete(
5436
+ deleteProcessingActivitiesById,
4486
5437
  { path: { id } },
4487
5438
  options
4488
5439
  );
4489
5440
  }
4490
- }
4491
- };
4492
- }
4493
-
4494
- // src/namespaces/catalog.ts
4495
- function createCatalogNamespace(rb) {
4496
- return {
5441
+ },
4497
5442
  /**
4498
- * Productsproduct catalog management
5443
+ * Retention policies data lifecycle and deletion rules
4499
5444
  */
4500
- products: {
4501
- /** List products for a workspace */
4502
- list: async (workspaceId, options) => {
5445
+ retentionPolicies: {
5446
+ /** List retention policies */
5447
+ list: async (options) => {
4503
5448
  return rb.execute(
4504
- getCatalogProductsWorkspaceByWorkspaceId,
4505
- {
4506
- path: { workspace_id: workspaceId },
4507
- ...buildPageQuery(options?.page, options?.pageSize)
4508
- },
5449
+ getRetentionPolicies,
5450
+ buildPageQuery(options?.page, options?.pageSize),
4509
5451
  options
4510
5452
  );
4511
5453
  },
4512
- /** Get a product by ID */
5454
+ /** Get a retention policy by ID */
4513
5455
  get: async (id, options) => {
4514
5456
  return rb.execute(
4515
- getCatalogProductsById,
5457
+ getRetentionPoliciesById,
4516
5458
  { path: { id } },
4517
5459
  options
4518
5460
  );
4519
5461
  },
4520
- /** Create a new product */
5462
+ /** Create a retention policy */
4521
5463
  create: async (attributes, options) => {
4522
5464
  return rb.execute(
4523
- postCatalogProducts,
5465
+ postRetentionPolicies,
4524
5466
  {
4525
5467
  body: {
4526
- data: { type: "catalog_product", attributes }
5468
+ data: { type: "retention_policy", attributes }
4527
5469
  }
4528
5470
  },
4529
5471
  options
4530
5472
  );
4531
5473
  },
4532
- /** Update a product */
5474
+ /** Update a retention policy */
4533
5475
  update: async (id, attributes, options) => {
4534
5476
  return rb.execute(
4535
- patchCatalogProductsById,
5477
+ patchRetentionPoliciesById,
4536
5478
  {
4537
5479
  path: { id },
4538
5480
  body: {
4539
- data: { type: "catalog_product", id, attributes }
5481
+ data: { type: "retention_policy", id, attributes }
4540
5482
  }
4541
5483
  },
4542
5484
  options
4543
5485
  );
4544
5486
  },
4545
- /** Delete a product */
5487
+ /** Delete a retention policy */
4546
5488
  delete: async (id, options) => {
4547
5489
  return rb.executeDelete(
4548
- deleteCatalogProductsById,
5490
+ deleteRetentionPoliciesById,
4549
5491
  { path: { id } },
4550
5492
  options
4551
5493
  );
4552
5494
  }
4553
5495
  },
4554
5496
  /**
4555
- * Variantsproduct variants (SKUs)
5497
+ * Data subject requests GDPR rights (access, erasure, portability)
4556
5498
  */
4557
- variants: {
4558
- /** Get a variant by ID */
4559
- get: async (id, options) => {
5499
+ dataSubjectRequests: {
5500
+ /** List data subject requests */
5501
+ list: async (options) => {
4560
5502
  return rb.execute(
4561
- getCatalogProductVariantsById,
4562
- { path: { id } },
5503
+ getDataSubjectRequests,
5504
+ buildPageQuery(options?.page, options?.pageSize),
4563
5505
  options
4564
5506
  );
4565
5507
  },
4566
- /** List variants for a product */
4567
- listByProduct: async (productId, options) => {
5508
+ /** Get a data subject request by ID */
5509
+ get: async (id, options) => {
4568
5510
  return rb.execute(
4569
- getCatalogProductVariantsProductByProductId,
4570
- { path: { product_id: productId } },
5511
+ getDataSubjectRequestsById,
5512
+ { path: { id } },
4571
5513
  options
4572
5514
  );
4573
5515
  },
4574
- /** Create a product variant */
5516
+ /** Submit a data subject request */
4575
5517
  create: async (attributes, options) => {
4576
5518
  return rb.execute(
4577
- postCatalogProductVariants,
5519
+ postDataSubjectRequests,
4578
5520
  {
4579
5521
  body: {
4580
- data: { type: "catalog_product_variant", attributes }
5522
+ data: { type: "data_subject_request", attributes }
4581
5523
  }
4582
5524
  },
4583
5525
  options
4584
5526
  );
4585
5527
  },
4586
- /** Update a product variant */
4587
- update: async (id, attributes, options) => {
5528
+ /** Update data subject request status */
5529
+ updateStatus: async (id, status, options) => {
4588
5530
  return rb.execute(
4589
- patchCatalogProductVariantsById,
5531
+ patchDataSubjectRequestsByIdStatus,
4590
5532
  {
4591
5533
  path: { id },
4592
5534
  body: {
4593
- data: { type: "catalog_product_variant", id, attributes }
5535
+ data: {
5536
+ type: "data_subject_request",
5537
+ id,
5538
+ attributes: { status }
5539
+ }
4594
5540
  }
4595
5541
  },
4596
5542
  options
4597
5543
  );
4598
- },
4599
- /** Delete a product variant */
4600
- delete: async (id, options) => {
4601
- return rb.executeDelete(
4602
- deleteCatalogProductVariantsById,
4603
- { path: { id } },
4604
- options
4605
- );
4606
5544
  }
4607
5545
  },
4608
5546
  /**
4609
- * Taxonomiesproduct classification trees
5547
+ * Legal documents Terms of Service, Privacy Policy, etc.
4610
5548
  */
4611
- taxonomies: {
4612
- /** List taxonomies for an application */
4613
- listByApplication: async (applicationId, options) => {
5549
+ legalDocuments: {
5550
+ /** List legal documents */
5551
+ list: async (options) => {
4614
5552
  return rb.execute(
4615
- getCatalogTaxonomiesApplicationByApplicationId,
4616
- { path: { application_id: applicationId } },
5553
+ getLegalDocuments,
5554
+ buildPageQuery(options?.page, options?.pageSize),
4617
5555
  options
4618
5556
  );
4619
5557
  },
4620
- /** Get a taxonomy by ID */
5558
+ /** Get a legal document by ID */
4621
5559
  get: async (id, options) => {
4622
5560
  return rb.execute(
4623
- getCatalogTaxonomiesById,
5561
+ getLegalDocumentsById,
4624
5562
  { path: { id } },
4625
5563
  options
4626
5564
  );
4627
5565
  },
4628
- /** Create a taxonomy */
5566
+ /** Create a legal document */
4629
5567
  create: async (attributes, options) => {
4630
5568
  return rb.execute(
4631
- postCatalogTaxonomies,
4632
- {
4633
- body: {
4634
- data: { type: "catalog_taxonomy", attributes }
4635
- }
4636
- },
5569
+ postLegalDocuments,
5570
+ { body: { data: { type: "legal_document", attributes } } },
4637
5571
  options
4638
5572
  );
4639
5573
  },
4640
- /** Update a taxonomy */
5574
+ /** Update a legal document */
4641
5575
  update: async (id, attributes, options) => {
4642
5576
  return rb.execute(
4643
- patchCatalogTaxonomiesById,
5577
+ patchLegalDocumentsById,
4644
5578
  {
4645
5579
  path: { id },
4646
- body: {
4647
- data: { type: "catalog_taxonomy", id, attributes }
4648
- }
5580
+ body: { data: { type: "legal_document", id, attributes } }
4649
5581
  },
4650
5582
  options
4651
5583
  );
4652
5584
  },
4653
- /** Delete a taxonomy */
5585
+ /** Delete a legal document */
4654
5586
  delete: async (id, options) => {
4655
5587
  return rb.executeDelete(
4656
- deleteCatalogTaxonomiesById,
5588
+ deleteLegalDocumentsById,
4657
5589
  { path: { id } },
4658
5590
  options
4659
5591
  );
4660
- }
4661
- },
4662
- /**
4663
- * Taxonomy nodes — nodes within a taxonomy tree
4664
- */
4665
- taxonomyNodes: {
4666
- /** List nodes for a taxonomy */
4667
- listByTaxonomy: async (taxonomyId, options) => {
5592
+ },
5593
+ /** Get documents by locale */
5594
+ byLocale: async (locale, options) => {
4668
5595
  return rb.execute(
4669
- getCatalogTaxonomyNodesTaxonomyByTaxonomyId,
4670
- { path: { taxonomy_id: taxonomyId } },
5596
+ getLegalDocumentsByLocale,
5597
+ { query: { locale } },
4671
5598
  options
4672
5599
  );
4673
5600
  },
4674
- /** Get a taxonomy node by ID */
4675
- get: async (id, options) => {
5601
+ /** Get documents for the current application */
5602
+ forApplication: async (options) => {
4676
5603
  return rb.execute(
4677
- getCatalogTaxonomyNodesById,
4678
- { path: { id } },
5604
+ getLegalDocumentsForApplication,
5605
+ {},
4679
5606
  options
4680
5607
  );
4681
5608
  },
4682
- /** Create a taxonomy node */
4683
- create: async (attributes, options) => {
5609
+ /** Publish a legal document */
5610
+ publish: async (id, options) => {
4684
5611
  return rb.execute(
4685
- postCatalogTaxonomyNodes,
5612
+ patchLegalDocumentsByIdPublish,
4686
5613
  {
4687
- body: {
4688
- data: { type: "catalog_taxonomy_node", attributes }
4689
- }
5614
+ path: { id },
5615
+ body: { data: { type: "legal_document", id, attributes: {} } }
4690
5616
  },
4691
5617
  options
4692
5618
  );
4693
5619
  },
4694
- /** Update a taxonomy node */
4695
- update: async (id, attributes, options) => {
5620
+ /** Unpublish a legal document */
5621
+ unpublish: async (id, options) => {
4696
5622
  return rb.execute(
4697
- patchCatalogTaxonomyNodesById,
5623
+ patchLegalDocumentsByIdUnpublish,
4698
5624
  {
4699
5625
  path: { id },
4700
- body: {
4701
- data: { type: "catalog_taxonomy_node", id, attributes }
4702
- }
5626
+ body: { data: { type: "legal_document", id, attributes: {} } }
4703
5627
  },
4704
5628
  options
4705
5629
  );
5630
+ }
5631
+ },
5632
+ /**
5633
+ * Legal acceptances — user acceptance records for legal documents
5634
+ */
5635
+ legalAcceptances: {
5636
+ /** List legal acceptances */
5637
+ list: async (options) => {
5638
+ return rb.execute(
5639
+ getLegalAcceptances,
5640
+ buildPageQuery(options?.page, options?.pageSize),
5641
+ options
5642
+ );
4706
5643
  },
4707
- /** Delete a taxonomy node */
4708
- delete: async (id, options) => {
4709
- return rb.executeDelete(
4710
- deleteCatalogTaxonomyNodesById,
5644
+ /** Get a legal acceptance by ID */
5645
+ get: async (id, options) => {
5646
+ return rb.execute(
5647
+ getLegalAcceptancesById,
5648
+ { path: { id } },
5649
+ options
5650
+ );
5651
+ },
5652
+ /** Get the latest acceptance record for the current user */
5653
+ latest: async (options) => {
5654
+ return rb.execute(
5655
+ getLegalAcceptancesLatest,
5656
+ {},
5657
+ options
5658
+ );
5659
+ }
5660
+ },
5661
+ /**
5662
+ * Scan results — PII and security scan findings
5663
+ */
5664
+ scanResults: {
5665
+ /** List scan results */
5666
+ list: async (options) => {
5667
+ return rb.execute(
5668
+ getScanResults,
5669
+ buildPageQuery(options?.page, options?.pageSize),
5670
+ options
5671
+ );
5672
+ },
5673
+ /** Get a scan result by ID */
5674
+ get: async (id, options) => {
5675
+ return rb.execute(
5676
+ getScanResultsById,
4711
5677
  { path: { id } },
4712
5678
  options
4713
5679
  );
@@ -4906,10 +5872,21 @@ function createConnectorsNamespace(rb) {
4906
5872
  { path: { id } },
4907
5873
  options
4908
5874
  ),
4909
- /** Refresh an OAuth credential */
4910
- refresh: async (id, options) => rb.execute(
5875
+ /**
5876
+ * Refresh an OAuth credential.
5877
+ * @param workspaceId - The workspace that owns the credential.
5878
+ */
5879
+ refresh: async (id, workspaceId, options) => rb.execute(
4911
5880
  postConnectorsCredentialsByIdRefresh,
4912
- { path: { id }, body: { data: {} } },
5881
+ {
5882
+ path: { id },
5883
+ body: {
5884
+ data: {
5885
+ type: "credential",
5886
+ attributes: { workspace_id: workspaceId }
5887
+ }
5888
+ }
5889
+ },
4913
5890
  options
4914
5891
  )
4915
5892
  },
@@ -4939,8 +5916,10 @@ function createConnectorsNamespace(rb) {
4939
5916
  /**
4940
5917
  * Exchange OAuth authorization code for a credential.
4941
5918
  * Called from the redirect handler after the user authorizes in the provider.
5919
+ * Pass `redirectUri` if a custom redirect URI was used in `connect` — it must
5920
+ * match the URI sent during authorization.
4942
5921
  */
4943
- callback: async (connectorType, code, state, workspaceId, options) => rb.execute(
5922
+ callback: async (connectorType, code, state, workspaceId, redirectUri, options) => rb.execute(
4944
5923
  postConnectorsOauthCallback,
4945
5924
  {
4946
5925
  body: {
@@ -4950,7 +5929,10 @@ function createConnectorsNamespace(rb) {
4950
5929
  connector_type: connectorType,
4951
5930
  code,
4952
5931
  state,
4953
- workspace_id: workspaceId
5932
+ workspace_id: workspaceId,
5933
+ ...redirectUri !== void 0 && {
5934
+ redirect_uri: redirectUri
5935
+ }
4954
5936
  }
4955
5937
  }
4956
5938
  }
@@ -5065,8 +6047,12 @@ function createConnectorsNamespace(rb) {
5065
6047
  },
5066
6048
  options
5067
6049
  ),
5068
- /** Exchange OAuth authorization code for Fullscript credential */
5069
- callback: async (code, state, workspaceId, options) => rb.execute(
6050
+ /**
6051
+ * Exchange OAuth authorization code for Fullscript credential.
6052
+ * Pass `redirectUri` if a custom redirect URI was used in `connect` — it must
6053
+ * match the URI sent during authorization.
6054
+ */
6055
+ callback: async (code, state, workspaceId, redirectUri, options) => rb.execute(
5070
6056
  postConnectorsOauthCallback,
5071
6057
  {
5072
6058
  body: {
@@ -5076,7 +6062,10 @@ function createConnectorsNamespace(rb) {
5076
6062
  connector_type: "fullscript",
5077
6063
  code,
5078
6064
  state,
5079
- workspace_id: workspaceId
6065
+ workspace_id: workspaceId,
6066
+ ...redirectUri !== void 0 && {
6067
+ redirect_uri: redirectUri
6068
+ }
5080
6069
  }
5081
6070
  }
5082
6071
  }
@@ -5256,6 +6245,38 @@ function createCrmNamespace(rb) {
5256
6245
  listByWorkspace: async (workspaceId, options) => {
5257
6246
  return rb.execute(
5258
6247
  getCrmContactsWorkspaceByWorkspaceId,
6248
+ {
6249
+ path: { workspace_id: workspaceId },
6250
+ query: {
6251
+ ...options?.status ? { status: options.status } : {},
6252
+ ...options?.filters ? { filters: options.filters } : {},
6253
+ ...options?.tags ? { tags: options.tags } : {},
6254
+ ...buildPageQuery(options?.page, options?.pageSize)?.query
6255
+ }
6256
+ },
6257
+ options
6258
+ );
6259
+ },
6260
+ /** Archive a contact (soft-delete with restore semantics) */
6261
+ archive: async (id, options) => {
6262
+ return rb.execute(
6263
+ patchCrmContactsByIdArchive,
6264
+ { path: { id } },
6265
+ options
6266
+ );
6267
+ },
6268
+ /** Restore an archived contact */
6269
+ unarchive: async (id, options) => {
6270
+ return rb.execute(
6271
+ postCrmContactsByIdUnarchive,
6272
+ { path: { id } },
6273
+ options
6274
+ );
6275
+ },
6276
+ /** List archived (soft-deleted) contacts for a workspace */
6277
+ listArchived: async (workspaceId, options) => {
6278
+ return rb.execute(
6279
+ getCrmContactsWorkspaceByWorkspaceIdArchived,
5259
6280
  {
5260
6281
  path: { workspace_id: workspaceId },
5261
6282
  ...buildPageQuery(options?.page, options?.pageSize)
@@ -6540,7 +7561,8 @@ var LoginSchema = z2.object({
6540
7561
  var RegisterSchema = z2.object({
6541
7562
  email: z2.string().email(),
6542
7563
  password: z2.string().min(8),
6543
- password_confirmation: z2.string().min(8)
7564
+ password_confirmation: z2.string().min(8),
7565
+ tenant_name: z2.string().min(1)
6544
7566
  }).refine((data) => data.password === data.password_confirmation, {
6545
7567
  message: "Passwords do not match",
6546
7568
  path: ["password_confirmation"]
@@ -6583,25 +7605,32 @@ var ChangePasswordSchema = z2.object({
6583
7605
  });
6584
7606
  function createIdentityNamespace(rb, baseUrl) {
6585
7607
  return {
6586
- /** Login with email and password — returns a token object */
7608
+ /**
7609
+ * Login with email and password — returns the authenticated user.
7610
+ * The session token is available as `result.token` (flattened from `data.attributes.token`).
7611
+ */
6587
7612
  login: async (email, password, options) => {
6588
7613
  LoginSchema.parse({ email, password });
6589
7614
  return rb.execute(
6590
7615
  postUsersAuthLogin,
6591
7616
  {
6592
7617
  body: {
6593
- data: { type: "token", attributes: { email, password } }
7618
+ data: { type: "user", attributes: { email, password } }
6594
7619
  }
6595
7620
  },
6596
7621
  options
6597
7622
  );
6598
7623
  },
6599
- /** Register a new user account */
6600
- register: async (email, password, passwordConfirmation, options) => {
7624
+ /**
7625
+ * Register a new user account returns the newly created user.
7626
+ * The session token is available as `result.token` (flattened from `data.attributes.token`).
7627
+ */
7628
+ register: async (email, password, passwordConfirmation, tenantName, options) => {
6601
7629
  RegisterSchema.parse({
6602
7630
  email,
6603
7631
  password,
6604
- password_confirmation: passwordConfirmation
7632
+ password_confirmation: passwordConfirmation,
7633
+ tenant_name: tenantName
6605
7634
  });
6606
7635
  return rb.execute(
6607
7636
  postUsersAuthRegister,
@@ -6612,7 +7641,8 @@ function createIdentityNamespace(rb, baseUrl) {
6612
7641
  attributes: {
6613
7642
  email,
6614
7643
  password,
6615
- password_confirmation: passwordConfirmation
7644
+ password_confirmation: passwordConfirmation,
7645
+ tenant_name: tenantName
6616
7646
  }
6617
7647
  }
6618
7648
  }
@@ -7293,6 +8323,35 @@ function createPlatformNamespace(rb) {
7293
8323
  options
7294
8324
  );
7295
8325
  }
8326
+ },
8327
+ configs: {
8328
+ /** List application configuration entries */
8329
+ list: async (options) => {
8330
+ return rb.execute(
8331
+ getConfigs,
8332
+ buildPageQuery(options?.page, options?.pageSize),
8333
+ options
8334
+ );
8335
+ },
8336
+ /** Create a configuration entry */
8337
+ create: async (attributes, options) => {
8338
+ return rb.execute(
8339
+ postConfigs,
8340
+ { body: { data: { type: "config", attributes } } },
8341
+ options
8342
+ );
8343
+ },
8344
+ /** Update a configuration entry by key */
8345
+ update: async (key, attributes, options) => {
8346
+ return rb.execute(
8347
+ patchConfigsByKey,
8348
+ {
8349
+ path: { key },
8350
+ body: { data: { type: "config", id: key, attributes } }
8351
+ },
8352
+ options
8353
+ );
8354
+ }
7296
8355
  }
7297
8356
  };
7298
8357
  }
@@ -8798,6 +9857,7 @@ var GptClient = class extends BaseClient {
8798
9857
  this.ai = createAiNamespace(rb);
8799
9858
  this.billing = createBillingNamespace(rb);
8800
9859
  this.catalog = createCatalogNamespace(rb);
9860
+ this.compliance = createComplianceNamespace(rb);
8801
9861
  this.communication = createCommunicationNamespace(rb);
8802
9862
  this.connectors = createConnectorsNamespace(rb);
8803
9863
  this.crawler = createCrawlerNamespace(rb);