@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.js CHANGED
@@ -1285,8 +1285,8 @@ function buildUserAgent(sdkVersion, appInfo) {
1285
1285
  }
1286
1286
 
1287
1287
  // src/version.ts
1288
- var SDK_VERSION = "0.3.1";
1289
- var DEFAULT_API_VERSION = "2026-02-25";
1288
+ var SDK_VERSION = "0.3.4";
1289
+ var DEFAULT_API_VERSION = "2026-02-27";
1290
1290
 
1291
1291
  // src/base-client.ts
1292
1292
  function generateUUID() {
@@ -1653,6 +1653,11 @@ var getAgentVersionsById = (options) => (options.client ?? client).get({
1653
1653
  url: "/agent-versions/{id}",
1654
1654
  ...options
1655
1655
  });
1656
+ var getLlmAnalyticsCosts = (options) => (options.client ?? client).get({
1657
+ security: [{ scheme: "bearer", type: "http" }],
1658
+ url: "/llm_analytics/costs",
1659
+ ...options
1660
+ });
1656
1661
  var postCatalogTaxonomyNodes = (options) => (options.client ?? client).post({
1657
1662
  security: [{ scheme: "bearer", type: "http" }],
1658
1663
  url: "/catalog/taxonomy-nodes",
@@ -1691,6 +1696,11 @@ var getCrmCustomEntitiesWorkspaceByWorkspaceId = (options) => (options.client ??
1691
1696
  url: "/crm/custom-entities/workspace/{workspace_id}",
1692
1697
  ...options
1693
1698
  });
1699
+ var getBreachIncidentsById = (options) => (options.client ?? client).get({
1700
+ security: [{ scheme: "bearer", type: "http" }],
1701
+ url: "/breach-incidents/{id}",
1702
+ ...options
1703
+ });
1694
1704
  var getEmailMarketingSequencesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
1695
1705
  security: [{ scheme: "bearer", type: "http" }],
1696
1706
  url: "/email-marketing/sequences/workspace/{workspace_id}",
@@ -1701,6 +1711,20 @@ var getCatalogTaxonomyNodesTaxonomyByTaxonomyId = (options) => (options.client ?
1701
1711
  url: "/catalog/taxonomy-nodes/taxonomy/{taxonomy_id}",
1702
1712
  ...options
1703
1713
  });
1714
+ var getBreachIncidents = (options) => (options.client ?? client).get({
1715
+ security: [{ scheme: "bearer", type: "http" }],
1716
+ url: "/breach-incidents",
1717
+ ...options
1718
+ });
1719
+ var postBreachIncidents = (options) => (options.client ?? client).post({
1720
+ security: [{ scheme: "bearer", type: "http" }],
1721
+ url: "/breach-incidents",
1722
+ ...options,
1723
+ headers: {
1724
+ "Content-Type": "application/vnd.api+json",
1725
+ ...options.headers
1726
+ }
1727
+ });
1704
1728
  var patchApiKeysByIdRotate = (options) => (options.client ?? client).patch({
1705
1729
  security: [{ scheme: "bearer", type: "http" }],
1706
1730
  url: "/api-keys/{id}/rotate",
@@ -1776,6 +1800,11 @@ var getCrmExportsById = (options) => (options.client ?? client).get({
1776
1800
  url: "/crm/exports/{id}",
1777
1801
  ...options
1778
1802
  });
1803
+ var getLlmAnalyticsWorkspace = (options) => (options.client ?? client).get({
1804
+ security: [{ scheme: "bearer", type: "http" }],
1805
+ url: "/llm_analytics/workspace",
1806
+ ...options
1807
+ });
1779
1808
  var deleteCrmDealsById = (options) => (options.client ?? client).delete({
1780
1809
  security: [{ scheme: "bearer", type: "http" }],
1781
1810
  url: "/crm/deals/{id}",
@@ -1814,6 +1843,11 @@ var getSearchIndexes = (options) => (options.client ?? client).get({
1814
1843
  url: "/search/indexes",
1815
1844
  ...options
1816
1845
  });
1846
+ var postCrmContactsByIdUnarchive = (options) => (options.client ?? client).post({
1847
+ security: [{ scheme: "bearer", type: "http" }],
1848
+ url: "/crm/contacts/{id}/unarchive",
1849
+ ...options
1850
+ });
1817
1851
  var deleteTrainingSessionsById = (options) => (options.client ?? client).delete({
1818
1852
  security: [{ scheme: "bearer", type: "http" }],
1819
1853
  url: "/training-sessions/{id}",
@@ -1931,6 +1965,25 @@ var patchCatalogTaxonomyNodesById = (options) => (options.client ?? client).patc
1931
1965
  ...options.headers
1932
1966
  }
1933
1967
  });
1968
+ var deleteRetentionPoliciesById = (options) => (options.client ?? client).delete({
1969
+ security: [{ scheme: "bearer", type: "http" }],
1970
+ url: "/retention-policies/{id}",
1971
+ ...options
1972
+ });
1973
+ var getRetentionPoliciesById = (options) => (options.client ?? client).get({
1974
+ security: [{ scheme: "bearer", type: "http" }],
1975
+ url: "/retention-policies/{id}",
1976
+ ...options
1977
+ });
1978
+ var patchRetentionPoliciesById = (options) => (options.client ?? client).patch({
1979
+ security: [{ scheme: "bearer", type: "http" }],
1980
+ url: "/retention-policies/{id}",
1981
+ ...options,
1982
+ headers: {
1983
+ "Content-Type": "application/vnd.api+json",
1984
+ ...options.headers
1985
+ }
1986
+ });
1934
1987
  var getCatalogTaxonomiesApplicationByApplicationId = (options) => (options.client ?? client).get({
1935
1988
  security: [{ scheme: "bearer", type: "http" }],
1936
1989
  url: "/catalog/taxonomies/application/{application_id}",
@@ -2018,6 +2071,20 @@ var postEmailMarketingCampaigns = (options) => (options.client ?? client).post({
2018
2071
  ...options.headers
2019
2072
  }
2020
2073
  });
2074
+ var getConfigs = (options) => (options.client ?? client).get({
2075
+ security: [{ scheme: "bearer", type: "http" }],
2076
+ url: "/configs",
2077
+ ...options
2078
+ });
2079
+ var postConfigs = (options) => (options.client ?? client).post({
2080
+ security: [{ scheme: "bearer", type: "http" }],
2081
+ url: "/configs",
2082
+ ...options,
2083
+ headers: {
2084
+ "Content-Type": "application/vnd.api+json",
2085
+ ...options.headers
2086
+ }
2087
+ });
2021
2088
  var deleteCrmCustomEntitiesById = (options) => (options.client ?? client).delete({
2022
2089
  security: [{ scheme: "bearer", type: "http" }],
2023
2090
  url: "/crm/custom-entities/{id}",
@@ -2087,6 +2154,15 @@ var postCrmCompanies = (options) => (options.client ?? client).post({
2087
2154
  ...options.headers
2088
2155
  }
2089
2156
  });
2157
+ var patchLegalDocumentsByIdUnpublish = (options) => (options.client ?? client).patch({
2158
+ security: [{ scheme: "bearer", type: "http" }],
2159
+ url: "/legal-documents/{id}/unpublish",
2160
+ ...options,
2161
+ headers: {
2162
+ "Content-Type": "application/vnd.api+json",
2163
+ ...options.headers
2164
+ }
2165
+ });
2090
2166
  var getVoiceSessionsMine = (options) => (options.client ?? client).get({
2091
2167
  security: [{ scheme: "bearer", type: "http" }],
2092
2168
  url: "/voice/sessions/mine",
@@ -2280,6 +2356,11 @@ var getSearchSuggest = (options) => (options.client ?? client).get({
2280
2356
  url: "/search/suggest",
2281
2357
  ...options
2282
2358
  });
2359
+ var getAuditChainEntries = (options) => (options.client ?? client).get({
2360
+ security: [{ scheme: "bearer", type: "http" }],
2361
+ url: "/audit-chain-entries",
2362
+ ...options
2363
+ });
2283
2364
  var deleteCatalogTaxonomiesById = (options) => (options.client ?? client).delete({
2284
2365
  security: [{ scheme: "bearer", type: "http" }],
2285
2366
  url: "/catalog/taxonomies/{id}",
@@ -2299,6 +2380,11 @@ var patchCatalogTaxonomiesById = (options) => (options.client ?? client).patch({
2299
2380
  ...options.headers
2300
2381
  }
2301
2382
  });
2383
+ var getLegalAcceptancesById = (options) => (options.client ?? client).get({
2384
+ security: [{ scheme: "bearer", type: "http" }],
2385
+ url: "/legal-acceptances/{id}",
2386
+ ...options
2387
+ });
2302
2388
  var deleteCrmRelationshipTypesById = (options) => (options.client ?? client).delete({
2303
2389
  security: [{ scheme: "bearer", type: "http" }],
2304
2390
  url: "/crm/relationship-types/{id}",
@@ -2556,6 +2642,11 @@ var patchVoiceSessionsByIdStop = (options) => (options.client ?? client).patch({
2556
2642
  ...options.headers
2557
2643
  }
2558
2644
  });
2645
+ var getLlmAnalyticsSummary = (options) => (options.client ?? client).get({
2646
+ security: [{ scheme: "bearer", type: "http" }],
2647
+ url: "/llm_analytics/summary",
2648
+ ...options
2649
+ });
2559
2650
  var getSchedulingParticipants = (options) => (options.client ?? client).get({
2560
2651
  security: [{ scheme: "bearer", type: "http" }],
2561
2652
  url: "/scheduling/participants",
@@ -2599,6 +2690,11 @@ var getCrawlerJobsById = (options) => (options.client ?? client).get({
2599
2690
  url: "/crawler/jobs/{id}",
2600
2691
  ...options
2601
2692
  });
2693
+ var getConsentRecordsById = (options) => (options.client ?? client).get({
2694
+ security: [{ scheme: "bearer", type: "http" }],
2695
+ url: "/consent-records/{id}",
2696
+ ...options
2697
+ });
2602
2698
  var getCrmExportsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2603
2699
  security: [{ scheme: "bearer", type: "http" }],
2604
2700
  url: "/crm/exports/workspace/{workspace_id}",
@@ -2609,6 +2705,20 @@ var getTrainingSessionsAgentsByAgentIdSessions = (options) => (options.client ??
2609
2705
  url: "/training-sessions/agents/{agent_id}/sessions",
2610
2706
  ...options
2611
2707
  });
2708
+ var patchLegalDocumentsByIdPublish = (options) => (options.client ?? client).patch({
2709
+ security: [{ scheme: "bearer", type: "http" }],
2710
+ url: "/legal-documents/{id}/publish",
2711
+ ...options,
2712
+ headers: {
2713
+ "Content-Type": "application/vnd.api+json",
2714
+ ...options.headers
2715
+ }
2716
+ });
2717
+ var getScanResults = (options) => (options.client ?? client).get({
2718
+ security: [{ scheme: "bearer", type: "http" }],
2719
+ url: "/scan-results",
2720
+ ...options
2721
+ });
2612
2722
  var getSearch = (options) => (options.client ?? client).get({
2613
2723
  security: [{ scheme: "bearer", type: "http" }],
2614
2724
  url: "/search",
@@ -2708,6 +2818,11 @@ var patchCrmPipelineStagesById = (options) => (options.client ?? client).patch({
2708
2818
  ...options.headers
2709
2819
  }
2710
2820
  });
2821
+ var getLegalAcceptances = (options) => (options.client ?? client).get({
2822
+ security: [{ scheme: "bearer", type: "http" }],
2823
+ url: "/legal-acceptances",
2824
+ ...options
2825
+ });
2711
2826
  var getCrmPipelinesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2712
2827
  security: [{ scheme: "bearer", type: "http" }],
2713
2828
  url: "/crm/pipelines/workspace/{workspace_id}",
@@ -2750,6 +2865,15 @@ var patchThreadsById = (options) => (options.client ?? client).patch({
2750
2865
  ...options.headers
2751
2866
  }
2752
2867
  });
2868
+ var patchImpactAssessmentsByIdApprove = (options) => (options.client ?? client).patch({
2869
+ security: [{ scheme: "bearer", type: "http" }],
2870
+ url: "/impact-assessments/{id}/approve",
2871
+ ...options,
2872
+ headers: {
2873
+ "Content-Type": "application/vnd.api+json",
2874
+ ...options.headers
2875
+ }
2876
+ });
2753
2877
  var getSupportTicketsWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
2754
2878
  security: [{ scheme: "bearer", type: "http" }],
2755
2879
  url: "/support/tickets/workspace/{workspace_id}",
@@ -2788,6 +2912,11 @@ var postWatcherClaims = (options) => (options.client ?? client).post({
2788
2912
  ...options.headers
2789
2913
  }
2790
2914
  });
2915
+ var getLlmAnalytics = (options) => (options.client ?? client).get({
2916
+ security: [{ scheme: "bearer", type: "http" }],
2917
+ url: "/llm_analytics",
2918
+ ...options
2919
+ });
2791
2920
  var getCrawlerJobs = (options) => (options.client ?? client).get({
2792
2921
  security: [{ scheme: "bearer", type: "http" }],
2793
2922
  url: "/crawler/jobs",
@@ -2839,6 +2968,16 @@ var patchVoiceSessionsByIdFinalize = (options) => (options.client ?? client).pat
2839
2968
  ...options.headers
2840
2969
  }
2841
2970
  });
2971
+ var deleteProcessingActivitiesById = (options) => (options.client ?? client).delete({
2972
+ security: [{ scheme: "bearer", type: "http" }],
2973
+ url: "/processing-activities/{id}",
2974
+ ...options
2975
+ });
2976
+ var getProcessingActivitiesById = (options) => (options.client ?? client).get({
2977
+ security: [{ scheme: "bearer", type: "http" }],
2978
+ url: "/processing-activities/{id}",
2979
+ ...options
2980
+ });
2842
2981
  var postThreadsByIdExport = (options) => (options.client ?? client).post({
2843
2982
  security: [{ scheme: "bearer", type: "http" }],
2844
2983
  url: "/threads/{id}/export",
@@ -2848,6 +2987,34 @@ var postThreadsByIdExport = (options) => (options.client ?? client).post({
2848
2987
  ...options.headers
2849
2988
  }
2850
2989
  });
2990
+ var getDataSubjectRequests = (options) => (options.client ?? client).get({
2991
+ security: [{ scheme: "bearer", type: "http" }],
2992
+ url: "/data-subject-requests",
2993
+ ...options
2994
+ });
2995
+ var postDataSubjectRequests = (options) => (options.client ?? client).post({
2996
+ security: [{ scheme: "bearer", type: "http" }],
2997
+ url: "/data-subject-requests",
2998
+ ...options,
2999
+ headers: {
3000
+ "Content-Type": "application/vnd.api+json",
3001
+ ...options.headers
3002
+ }
3003
+ });
3004
+ var getImpactAssessmentsById = (options) => (options.client ?? client).get({
3005
+ security: [{ scheme: "bearer", type: "http" }],
3006
+ url: "/impact-assessments/{id}",
3007
+ ...options
3008
+ });
3009
+ var patchImpactAssessmentsById = (options) => (options.client ?? client).patch({
3010
+ security: [{ scheme: "bearer", type: "http" }],
3011
+ url: "/impact-assessments/{id}",
3012
+ ...options,
3013
+ headers: {
3014
+ "Content-Type": "application/vnd.api+json",
3015
+ ...options.headers
3016
+ }
3017
+ });
2851
3018
  var postAgentsByIdTeach = (options) => (options.client ?? client).post({
2852
3019
  security: [{ scheme: "bearer", type: "http" }],
2853
3020
  url: "/agents/{id}/teach",
@@ -2884,6 +3051,11 @@ var postExtractionSchemaDiscoveries = (options) => (options.client ?? client).po
2884
3051
  ...options.headers
2885
3052
  }
2886
3053
  });
3054
+ var getDataSubjectRequestsById = (options) => (options.client ?? client).get({
3055
+ security: [{ scheme: "bearer", type: "http" }],
3056
+ url: "/data-subject-requests/{id}",
3057
+ ...options
3058
+ });
2887
3059
  var postUsersRegisterIsv = (options) => (options.client ?? client).post({
2888
3060
  security: [{ scheme: "bearer", type: "http" }],
2889
3061
  url: "/users/register-isv",
@@ -2996,6 +3168,11 @@ var getExtractionDocumentsByIdView = (options) => (options.client ?? client).get
2996
3168
  url: "/extraction/documents/{id}/view",
2997
3169
  ...options
2998
3170
  });
3171
+ var getAuditLogs = (options) => (options.client ?? client).get({
3172
+ security: [{ scheme: "bearer", type: "http" }],
3173
+ url: "/audit-logs",
3174
+ ...options
3175
+ });
2999
3176
  var getBuckets = (options) => (options.client ?? client).get({
3000
3177
  security: [{ scheme: "bearer", type: "http" }],
3001
3178
  url: "/buckets",
@@ -3019,6 +3196,11 @@ var postDocumentsPresignedUpload = (options) => (options.client ?? client).post(
3019
3196
  ...options.headers
3020
3197
  }
3021
3198
  });
3199
+ var getCrmContactsWorkspaceByWorkspaceIdArchived = (options) => (options.client ?? client).get({
3200
+ security: [{ scheme: "bearer", type: "http" }],
3201
+ url: "/crm/contacts/workspace/{workspace_id}/archived",
3202
+ ...options
3203
+ });
3022
3204
  var postDocumentsBulkDelete = (options) => (options.client ?? client).post({
3023
3205
  security: [{ scheme: "bearer", type: "http" }],
3024
3206
  url: "/documents/bulk-delete",
@@ -3108,6 +3290,15 @@ var patchUserProfilesById = (options) => (options.client ?? client).patch({
3108
3290
  ...options.headers
3109
3291
  }
3110
3292
  });
3293
+ var patchCrmContactsByIdArchive = (options) => (options.client ?? client).patch({
3294
+ security: [{ scheme: "bearer", type: "http" }],
3295
+ url: "/crm/contacts/{id}/archive",
3296
+ ...options,
3297
+ headers: {
3298
+ "Content-Type": "application/vnd.api+json",
3299
+ ...options.headers
3300
+ }
3301
+ });
3111
3302
  var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client).patch({
3112
3303
  security: [{ scheme: "bearer", type: "http" }],
3113
3304
  url: "/webhook-configs/{id}/rotate-secret",
@@ -3117,6 +3308,11 @@ var patchWebhookConfigsByIdRotateSecret = (options) => (options.client ?? client
3117
3308
  ...options.headers
3118
3309
  }
3119
3310
  });
3311
+ var getBreachNotificationsById = (options) => (options.client ?? client).get({
3312
+ security: [{ scheme: "bearer", type: "http" }],
3313
+ url: "/breach-notifications/{id}",
3314
+ ...options
3315
+ });
3120
3316
  var postTenantsByIdSchedulePurge = (options) => (options.client ?? client).post({
3121
3317
  security: [{ scheme: "bearer", type: "http" }],
3122
3318
  url: "/tenants/{id}/schedule-purge",
@@ -3178,6 +3374,11 @@ var patchAgentsById = (options) => (options.client ?? client).patch({
3178
3374
  ...options.headers
3179
3375
  }
3180
3376
  });
3377
+ var getAuditChainEntriesById = (options) => (options.client ?? client).get({
3378
+ security: [{ scheme: "bearer", type: "http" }],
3379
+ url: "/audit-chain-entries/{id}",
3380
+ ...options
3381
+ });
3181
3382
  var patchThreadsByIdUnarchive = (options) => (options.client ?? client).patch({
3182
3383
  security: [{ scheme: "bearer", type: "http" }],
3183
3384
  url: "/threads/{id}/unarchive",
@@ -3210,6 +3411,30 @@ var postAiSearch = (options) => (options.client ?? client).post({
3210
3411
  ...options.headers
3211
3412
  }
3212
3413
  });
3414
+ var deleteAiGraphNodesById = (options) => (options.client ?? client).delete({
3415
+ security: [{ scheme: "bearer", type: "http" }],
3416
+ url: "/ai/graph/nodes/{id}",
3417
+ ...options
3418
+ });
3419
+ var getImpactAssessments = (options) => (options.client ?? client).get({
3420
+ security: [{ scheme: "bearer", type: "http" }],
3421
+ url: "/impact-assessments",
3422
+ ...options
3423
+ });
3424
+ var postImpactAssessments = (options) => (options.client ?? client).post({
3425
+ security: [{ scheme: "bearer", type: "http" }],
3426
+ url: "/impact-assessments",
3427
+ ...options,
3428
+ headers: {
3429
+ "Content-Type": "application/vnd.api+json",
3430
+ ...options.headers
3431
+ }
3432
+ });
3433
+ var getLegalAcceptancesLatest = (options) => (options.client ?? client).get({
3434
+ security: [{ scheme: "bearer", type: "http" }],
3435
+ url: "/legal-acceptances/latest",
3436
+ ...options
3437
+ });
3213
3438
  var getWorkspacesShared = (options) => (options.client ?? client).get({
3214
3439
  security: [{ scheme: "bearer", type: "http" }],
3215
3440
  url: "/workspaces/shared",
@@ -3275,6 +3500,11 @@ var postConnectorsOauthInitiate = (options) => (options.client ?? client).post({
3275
3500
  ...options.headers
3276
3501
  }
3277
3502
  });
3503
+ var getConsentRecordsActive = (options) => (options.client ?? client).get({
3504
+ security: [{ scheme: "bearer", type: "http" }],
3505
+ url: "/consent-records/active",
3506
+ ...options
3507
+ });
3278
3508
  var postSearchSavedByIdRun = (options) => (options.client ?? client).post({
3279
3509
  security: [{ scheme: "bearer", type: "http" }],
3280
3510
  url: "/search/saved/{id}/run",
@@ -3340,6 +3570,15 @@ var patchCatalogProductVariantsById = (options) => (options.client ?? client).pa
3340
3570
  ...options.headers
3341
3571
  }
3342
3572
  });
3573
+ var patchBreachIncidentsByIdStatus = (options) => (options.client ?? client).patch({
3574
+ security: [{ scheme: "bearer", type: "http" }],
3575
+ url: "/breach-incidents/{id}/status",
3576
+ ...options,
3577
+ headers: {
3578
+ "Content-Type": "application/vnd.api+json",
3579
+ ...options.headers
3580
+ }
3581
+ });
3343
3582
  var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).post({
3344
3583
  security: [{ scheme: "bearer", type: "http" }],
3345
3584
  url: "/webhook-deliveries/bulk-retry",
@@ -3349,6 +3588,11 @@ var postWebhookDeliveriesBulkRetry = (options) => (options.client ?? client).pos
3349
3588
  ...options.headers
3350
3589
  }
3351
3590
  });
3591
+ var getLegalDocumentsByLocale = (options) => (options.client ?? client).get({
3592
+ security: [{ scheme: "bearer", type: "http" }],
3593
+ url: "/legal-documents/by-locale",
3594
+ ...options
3595
+ });
3352
3596
  var getWatcherClaimsById = (options) => (options.client ?? client).get({
3353
3597
  security: [{ scheme: "bearer", type: "http" }],
3354
3598
  url: "/watcher/claims/{id}",
@@ -3381,6 +3625,15 @@ var postAiEmbed = (options) => (options.client ?? client).post({
3381
3625
  ...options.headers
3382
3626
  }
3383
3627
  });
3628
+ var patchConsentRecordsByIdWithdraw = (options) => (options.client ?? client).patch({
3629
+ security: [{ scheme: "bearer", type: "http" }],
3630
+ url: "/consent-records/{id}/withdraw",
3631
+ ...options,
3632
+ headers: {
3633
+ "Content-Type": "application/vnd.api+json",
3634
+ ...options.headers
3635
+ }
3636
+ });
3384
3637
  var getSchedulingBookings = (options) => (options.client ?? client).get({
3385
3638
  security: [{ scheme: "bearer", type: "http" }],
3386
3639
  url: "/scheduling/bookings",
@@ -3423,6 +3676,11 @@ var postTenantsIsv = (options) => (options.client ?? client).post({
3423
3676
  ...options.headers
3424
3677
  }
3425
3678
  });
3679
+ var getScanResultsById = (options) => (options.client ?? client).get({
3680
+ security: [{ scheme: "bearer", type: "http" }],
3681
+ url: "/scan-results/{id}",
3682
+ ...options
3683
+ });
3426
3684
  var patchExtractionResultsByIdRegenerate = (options) => (options.client ?? client).patch({
3427
3685
  security: [{ scheme: "bearer", type: "http" }],
3428
3686
  url: "/extraction/results/{id}/regenerate",
@@ -3681,6 +3939,20 @@ var patchExtractionResultsByIdSaveCorrections = (options) => (options.client ??
3681
3939
  ...options.headers
3682
3940
  }
3683
3941
  });
3942
+ var getConsentRecords = (options) => (options.client ?? client).get({
3943
+ security: [{ scheme: "bearer", type: "http" }],
3944
+ url: "/consent-records",
3945
+ ...options
3946
+ });
3947
+ var postConsentRecords = (options) => (options.client ?? client).post({
3948
+ security: [{ scheme: "bearer", type: "http" }],
3949
+ url: "/consent-records",
3950
+ ...options,
3951
+ headers: {
3952
+ "Content-Type": "application/vnd.api+json",
3953
+ ...options.headers
3954
+ }
3955
+ });
3684
3956
  var postUsersAuthResendConfirmation = (options) => (options.client ?? client).post({
3685
3957
  security: [{ scheme: "bearer", type: "http" }],
3686
3958
  url: "/users/auth/resend-confirmation",
@@ -3768,6 +4040,34 @@ var postThreadsByIdSummarize = (options) => (options.client ?? client).post({
3768
4040
  ...options.headers
3769
4041
  }
3770
4042
  });
4043
+ var patchConfigsByKey = (options) => (options.client ?? client).patch({
4044
+ security: [{ scheme: "bearer", type: "http" }],
4045
+ url: "/configs/{key}",
4046
+ ...options,
4047
+ headers: {
4048
+ "Content-Type": "application/vnd.api+json",
4049
+ ...options.headers
4050
+ }
4051
+ });
4052
+ var deleteLegalDocumentsById = (options) => (options.client ?? client).delete({
4053
+ security: [{ scheme: "bearer", type: "http" }],
4054
+ url: "/legal-documents/{id}",
4055
+ ...options
4056
+ });
4057
+ var getLegalDocumentsById = (options) => (options.client ?? client).get({
4058
+ security: [{ scheme: "bearer", type: "http" }],
4059
+ url: "/legal-documents/{id}",
4060
+ ...options
4061
+ });
4062
+ var patchLegalDocumentsById = (options) => (options.client ?? client).patch({
4063
+ security: [{ scheme: "bearer", type: "http" }],
4064
+ url: "/legal-documents/{id}",
4065
+ ...options,
4066
+ headers: {
4067
+ "Content-Type": "application/vnd.api+json",
4068
+ ...options.headers
4069
+ }
4070
+ });
3771
4071
  var getExtractionResults = (options) => (options.client ?? client).get({
3772
4072
  security: [{ scheme: "bearer", type: "http" }],
3773
4073
  url: "/extraction/results",
@@ -3782,11 +4082,30 @@ var postAgentsByIdClone = (options) => (options.client ?? client).post({
3782
4082
  ...options.headers
3783
4083
  }
3784
4084
  });
4085
+ var getLegalDocuments = (options) => (options.client ?? client).get({
4086
+ security: [{ scheme: "bearer", type: "http" }],
4087
+ url: "/legal-documents",
4088
+ ...options
4089
+ });
4090
+ var postLegalDocuments = (options) => (options.client ?? client).post({
4091
+ security: [{ scheme: "bearer", type: "http" }],
4092
+ url: "/legal-documents",
4093
+ ...options,
4094
+ headers: {
4095
+ "Content-Type": "application/vnd.api+json",
4096
+ ...options.headers
4097
+ }
4098
+ });
3785
4099
  var getInvitationsMe = (options) => (options.client ?? client).get({
3786
4100
  security: [{ scheme: "bearer", type: "http" }],
3787
4101
  url: "/invitations/me",
3788
4102
  ...options
3789
4103
  });
4104
+ var getLegalDocumentsForApplication = (options) => (options.client ?? client).get({
4105
+ security: [{ scheme: "bearer", type: "http" }],
4106
+ url: "/legal-documents/for-application",
4107
+ ...options
4108
+ });
3790
4109
  var getApiKeys = (options) => (options.client ?? client).get({
3791
4110
  security: [{ scheme: "bearer", type: "http" }],
3792
4111
  url: "/api-keys",
@@ -3862,11 +4181,39 @@ var postCrmDeals = (options) => (options.client ?? client).post({
3862
4181
  ...options.headers
3863
4182
  }
3864
4183
  });
4184
+ var patchDataSubjectRequestsByIdStatus = (options) => (options.client ?? client).patch({
4185
+ security: [{ scheme: "bearer", type: "http" }],
4186
+ url: "/data-subject-requests/{id}/status",
4187
+ ...options,
4188
+ headers: {
4189
+ "Content-Type": "application/vnd.api+json",
4190
+ ...options.headers
4191
+ }
4192
+ });
4193
+ var getLlmAnalyticsUsage = (options) => (options.client ?? client).get({
4194
+ security: [{ scheme: "bearer", type: "http" }],
4195
+ url: "/llm_analytics/usage",
4196
+ ...options
4197
+ });
3865
4198
  var getCrmActivitiesWorkspaceByWorkspaceId = (options) => (options.client ?? client).get({
3866
4199
  security: [{ scheme: "bearer", type: "http" }],
3867
4200
  url: "/crm/activities/workspace/{workspace_id}",
3868
4201
  ...options
3869
4202
  });
4203
+ var getAiGraphNodes = (options) => (options.client ?? client).get({
4204
+ security: [{ scheme: "bearer", type: "http" }],
4205
+ url: "/ai/graph/nodes",
4206
+ ...options
4207
+ });
4208
+ var postAiGraphNodes = (options) => (options.client ?? client).post({
4209
+ security: [{ scheme: "bearer", type: "http" }],
4210
+ url: "/ai/graph/nodes",
4211
+ ...options,
4212
+ headers: {
4213
+ "Content-Type": "application/vnd.api+json",
4214
+ ...options.headers
4215
+ }
4216
+ });
3870
4217
  var getAgents = (options) => (options.client ?? client).get({
3871
4218
  security: [{ scheme: "bearer", type: "http" }],
3872
4219
  url: "/agents",
@@ -3895,31 +4242,64 @@ var postSupportTicketRatings = (options) => (options.client ?? client).post({
3895
4242
  ...options.headers
3896
4243
  }
3897
4244
  });
3898
- var getConnectors = (options) => (options.client ?? client).get({
4245
+ var getBreachNotifications = (options) => (options.client ?? client).get({
3899
4246
  security: [{ scheme: "bearer", type: "http" }],
3900
- url: "/connectors",
4247
+ url: "/breach-notifications",
3901
4248
  ...options
3902
4249
  });
3903
- var postConnectors = (options) => (options.client ?? client).post({
4250
+ var getRetentionPolicies = (options) => (options.client ?? client).get({
3904
4251
  security: [{ scheme: "bearer", type: "http" }],
3905
- url: "/connectors",
4252
+ url: "/retention-policies",
4253
+ ...options
4254
+ });
4255
+ var postRetentionPolicies = (options) => (options.client ?? client).post({
4256
+ security: [{ scheme: "bearer", type: "http" }],
4257
+ url: "/retention-policies",
3906
4258
  ...options,
3907
4259
  headers: {
3908
4260
  "Content-Type": "application/vnd.api+json",
3909
4261
  ...options.headers
3910
4262
  }
3911
4263
  });
3912
- var postAgentsByIdExport = (options) => (options.client ?? client).post({
4264
+ var getProcessingActivities = (options) => (options.client ?? client).get({
3913
4265
  security: [{ scheme: "bearer", type: "http" }],
3914
- url: "/agents/{id}/export",
4266
+ url: "/processing-activities",
3915
4267
  ...options
3916
4268
  });
3917
- var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4269
+ var postProcessingActivities = (options) => (options.client ?? client).post({
3918
4270
  security: [{ scheme: "bearer", type: "http" }],
3919
- url: "/extraction/batches/{id}",
3920
- ...options
4271
+ url: "/processing-activities",
4272
+ ...options,
4273
+ headers: {
4274
+ "Content-Type": "application/vnd.api+json",
4275
+ ...options.headers
4276
+ }
3921
4277
  });
3922
- var getExtractionBatchesById = (options) => (options.client ?? client).get({
4278
+ var getConnectors = (options) => (options.client ?? client).get({
4279
+ security: [{ scheme: "bearer", type: "http" }],
4280
+ url: "/connectors",
4281
+ ...options
4282
+ });
4283
+ var postConnectors = (options) => (options.client ?? client).post({
4284
+ security: [{ scheme: "bearer", type: "http" }],
4285
+ url: "/connectors",
4286
+ ...options,
4287
+ headers: {
4288
+ "Content-Type": "application/vnd.api+json",
4289
+ ...options.headers
4290
+ }
4291
+ });
4292
+ var postAgentsByIdExport = (options) => (options.client ?? client).post({
4293
+ security: [{ scheme: "bearer", type: "http" }],
4294
+ url: "/agents/{id}/export",
4295
+ ...options
4296
+ });
4297
+ var deleteExtractionBatchesById = (options) => (options.client ?? client).delete({
4298
+ security: [{ scheme: "bearer", type: "http" }],
4299
+ url: "/extraction/batches/{id}",
4300
+ ...options
4301
+ });
4302
+ var getExtractionBatchesById = (options) => (options.client ?? client).get({
3923
4303
  security: [{ scheme: "bearer", type: "http" }],
3924
4304
  url: "/extraction/batches/{id}",
3925
4305
  ...options
@@ -4408,6 +4788,80 @@ function createAiNamespace(rb) {
4408
4788
  options
4409
4789
  );
4410
4790
  }
4791
+ },
4792
+ /**
4793
+ * Analytics — LLM token usage, costs, and workspace metrics
4794
+ */
4795
+ analytics: {
4796
+ /** List LLM analytics records */
4797
+ list: async (options) => {
4798
+ return rb.execute(getLlmAnalytics, {}, options);
4799
+ },
4800
+ /** Get LLM cost breakdown */
4801
+ costs: async (options) => {
4802
+ return rb.execute(
4803
+ getLlmAnalyticsCosts,
4804
+ {},
4805
+ options
4806
+ );
4807
+ },
4808
+ /** Get LLM usage summary */
4809
+ summary: async (options) => {
4810
+ return rb.execute(
4811
+ getLlmAnalyticsSummary,
4812
+ {},
4813
+ options
4814
+ );
4815
+ },
4816
+ /** Get raw LLM usage data */
4817
+ usage: async (options) => {
4818
+ return rb.execute(
4819
+ getLlmAnalyticsUsage,
4820
+ {},
4821
+ options
4822
+ );
4823
+ },
4824
+ /** Get workspace-scoped LLM metrics */
4825
+ workspace: async (options) => {
4826
+ return rb.execute(
4827
+ getLlmAnalyticsWorkspace,
4828
+ {},
4829
+ options
4830
+ );
4831
+ }
4832
+ },
4833
+ /**
4834
+ * Graph — knowledge graph node management
4835
+ */
4836
+ graph: {
4837
+ /** List knowledge graph nodes */
4838
+ listNodes: async (options) => {
4839
+ return rb.execute(
4840
+ getAiGraphNodes,
4841
+ {},
4842
+ options
4843
+ );
4844
+ },
4845
+ /** Create a knowledge graph node */
4846
+ createNode: async (attributes, options) => {
4847
+ return rb.execute(
4848
+ postAiGraphNodes,
4849
+ {
4850
+ body: {
4851
+ data: { type: "graph_node", attributes }
4852
+ }
4853
+ },
4854
+ options
4855
+ );
4856
+ },
4857
+ /** Delete a knowledge graph node */
4858
+ deleteNode: async (id, options) => {
4859
+ return rb.executeDelete(
4860
+ deleteAiGraphNodesById,
4861
+ { path: { id } },
4862
+ options
4863
+ );
4864
+ }
4411
4865
  }
4412
4866
  };
4413
4867
  }
@@ -4498,277 +4952,789 @@ function createBillingNamespace(rb) {
4498
4952
  );
4499
4953
  }
4500
4954
  },
4501
- paymentMethods: {
4502
- delete: async (id, options) => {
4503
- return rb.executeDelete(
4504
- deletePaymentMethodsById,
4505
- { path: { id } },
4506
- options
4507
- );
4508
- },
4955
+ paymentMethods: {
4956
+ delete: async (id, options) => {
4957
+ return rb.executeDelete(
4958
+ deletePaymentMethodsById,
4959
+ { path: { id } },
4960
+ options
4961
+ );
4962
+ },
4963
+ list: async (options) => {
4964
+ return rb.execute(
4965
+ getPaymentMethods,
4966
+ buildPageQuery(options?.page, options?.pageSize),
4967
+ options
4968
+ );
4969
+ },
4970
+ listAll: async (options) => {
4971
+ return paginateToArray(
4972
+ rb.createPaginatedFetcher(
4973
+ getPaymentMethods,
4974
+ (page, pageSize) => ({
4975
+ query: { page: { number: page, size: pageSize } }
4976
+ }),
4977
+ options
4978
+ )
4979
+ );
4980
+ },
4981
+ create: async (attributes, options) => {
4982
+ return rb.execute(
4983
+ postPaymentMethods,
4984
+ { body: { data: { type: "payment_method", attributes } } },
4985
+ options
4986
+ );
4987
+ },
4988
+ update: async (id, attributes, options) => {
4989
+ return rb.execute(
4990
+ patchPaymentMethodsById,
4991
+ {
4992
+ path: { id },
4993
+ body: { data: { id, type: "payment_method", attributes } }
4994
+ },
4995
+ options
4996
+ );
4997
+ },
4998
+ get: async (id, options) => {
4999
+ return rb.execute(
5000
+ getPaymentMethodsById,
5001
+ { path: { id } },
5002
+ options
5003
+ );
5004
+ }
5005
+ }
5006
+ };
5007
+ }
5008
+
5009
+ // src/namespaces/catalog.ts
5010
+ function createCatalogNamespace(rb) {
5011
+ return {
5012
+ /**
5013
+ * Products — product catalog management
5014
+ */
5015
+ products: {
5016
+ /** List products for a workspace */
5017
+ list: async (workspaceId, options) => {
5018
+ return rb.execute(
5019
+ getCatalogProductsWorkspaceByWorkspaceId,
5020
+ {
5021
+ path: { workspace_id: workspaceId },
5022
+ ...buildPageQuery(options?.page, options?.pageSize)
5023
+ },
5024
+ options
5025
+ );
5026
+ },
5027
+ /** Get a product by ID */
5028
+ get: async (id, options) => {
5029
+ return rb.execute(
5030
+ getCatalogProductsById,
5031
+ { path: { id } },
5032
+ options
5033
+ );
5034
+ },
5035
+ /** Create a new product */
5036
+ create: async (attributes, options) => {
5037
+ return rb.execute(
5038
+ postCatalogProducts,
5039
+ {
5040
+ body: {
5041
+ data: { type: "catalog_product", attributes }
5042
+ }
5043
+ },
5044
+ options
5045
+ );
5046
+ },
5047
+ /** Update a product */
5048
+ update: async (id, attributes, options) => {
5049
+ return rb.execute(
5050
+ patchCatalogProductsById,
5051
+ {
5052
+ path: { id },
5053
+ body: {
5054
+ data: { type: "catalog_product", id, attributes }
5055
+ }
5056
+ },
5057
+ options
5058
+ );
5059
+ },
5060
+ /** Delete a product */
5061
+ delete: async (id, options) => {
5062
+ return rb.executeDelete(
5063
+ deleteCatalogProductsById,
5064
+ { path: { id } },
5065
+ options
5066
+ );
5067
+ }
5068
+ },
5069
+ /**
5070
+ * Variants — product variants (SKUs)
5071
+ */
5072
+ variants: {
5073
+ /** Get a variant by ID */
5074
+ get: async (id, options) => {
5075
+ return rb.execute(
5076
+ getCatalogProductVariantsById,
5077
+ { path: { id } },
5078
+ options
5079
+ );
5080
+ },
5081
+ /** List variants for a product */
5082
+ listByProduct: async (productId, options) => {
5083
+ return rb.execute(
5084
+ getCatalogProductVariantsProductByProductId,
5085
+ { path: { product_id: productId } },
5086
+ options
5087
+ );
5088
+ },
5089
+ /** Create a product variant */
5090
+ create: async (attributes, options) => {
5091
+ return rb.execute(
5092
+ postCatalogProductVariants,
5093
+ {
5094
+ body: {
5095
+ data: { type: "catalog_product_variant", attributes }
5096
+ }
5097
+ },
5098
+ options
5099
+ );
5100
+ },
5101
+ /** Update a product variant */
5102
+ update: async (id, attributes, options) => {
5103
+ return rb.execute(
5104
+ patchCatalogProductVariantsById,
5105
+ {
5106
+ path: { id },
5107
+ body: {
5108
+ data: { type: "catalog_product_variant", id, attributes }
5109
+ }
5110
+ },
5111
+ options
5112
+ );
5113
+ },
5114
+ /** Delete a product variant */
5115
+ delete: async (id, options) => {
5116
+ return rb.executeDelete(
5117
+ deleteCatalogProductVariantsById,
5118
+ { path: { id } },
5119
+ options
5120
+ );
5121
+ }
5122
+ },
5123
+ /**
5124
+ * Taxonomies — product classification trees
5125
+ */
5126
+ taxonomies: {
5127
+ /** List taxonomies for an application */
5128
+ listByApplication: async (applicationId, options) => {
5129
+ return rb.execute(
5130
+ getCatalogTaxonomiesApplicationByApplicationId,
5131
+ { path: { application_id: applicationId } },
5132
+ options
5133
+ );
5134
+ },
5135
+ /** Get a taxonomy by ID */
5136
+ get: async (id, options) => {
5137
+ return rb.execute(
5138
+ getCatalogTaxonomiesById,
5139
+ { path: { id } },
5140
+ options
5141
+ );
5142
+ },
5143
+ /** Create a taxonomy */
5144
+ create: async (attributes, options) => {
5145
+ return rb.execute(
5146
+ postCatalogTaxonomies,
5147
+ {
5148
+ body: {
5149
+ data: { type: "catalog_taxonomy", attributes }
5150
+ }
5151
+ },
5152
+ options
5153
+ );
5154
+ },
5155
+ /** Update a taxonomy */
5156
+ update: async (id, attributes, options) => {
5157
+ return rb.execute(
5158
+ patchCatalogTaxonomiesById,
5159
+ {
5160
+ path: { id },
5161
+ body: {
5162
+ data: { type: "catalog_taxonomy", id, attributes }
5163
+ }
5164
+ },
5165
+ options
5166
+ );
5167
+ },
5168
+ /** Delete a taxonomy */
5169
+ delete: async (id, options) => {
5170
+ return rb.executeDelete(
5171
+ deleteCatalogTaxonomiesById,
5172
+ { path: { id } },
5173
+ options
5174
+ );
5175
+ }
5176
+ },
5177
+ /**
5178
+ * Taxonomy nodes — nodes within a taxonomy tree
5179
+ */
5180
+ taxonomyNodes: {
5181
+ /** List nodes for a taxonomy */
5182
+ listByTaxonomy: async (taxonomyId, options) => {
5183
+ return rb.execute(
5184
+ getCatalogTaxonomyNodesTaxonomyByTaxonomyId,
5185
+ { path: { taxonomy_id: taxonomyId } },
5186
+ options
5187
+ );
5188
+ },
5189
+ /** Get a taxonomy node by ID */
5190
+ get: async (id, options) => {
5191
+ return rb.execute(
5192
+ getCatalogTaxonomyNodesById,
5193
+ { path: { id } },
5194
+ options
5195
+ );
5196
+ },
5197
+ /** Create a taxonomy node */
5198
+ create: async (attributes, options) => {
5199
+ return rb.execute(
5200
+ postCatalogTaxonomyNodes,
5201
+ {
5202
+ body: {
5203
+ data: { type: "catalog_taxonomy_node", attributes }
5204
+ }
5205
+ },
5206
+ options
5207
+ );
5208
+ },
5209
+ /** Update a taxonomy node */
5210
+ update: async (id, attributes, options) => {
5211
+ return rb.execute(
5212
+ patchCatalogTaxonomyNodesById,
5213
+ {
5214
+ path: { id },
5215
+ body: {
5216
+ data: { type: "catalog_taxonomy_node", id, attributes }
5217
+ }
5218
+ },
5219
+ options
5220
+ );
5221
+ },
5222
+ /** Delete a taxonomy node */
5223
+ delete: async (id, options) => {
5224
+ return rb.executeDelete(
5225
+ deleteCatalogTaxonomyNodesById,
5226
+ { path: { id } },
5227
+ options
5228
+ );
5229
+ }
5230
+ }
5231
+ };
5232
+ }
5233
+
5234
+ // src/namespaces/compliance.ts
5235
+ function createComplianceNamespace(rb) {
5236
+ return {
5237
+ /**
5238
+ * Audit logs — immutable event trail
5239
+ */
5240
+ auditLogs: {
5241
+ /** List audit log entries */
5242
+ list: async (options) => {
5243
+ return rb.execute(
5244
+ getAuditLogs,
5245
+ buildPageQuery(options?.page, options?.pageSize),
5246
+ options
5247
+ );
5248
+ }
5249
+ },
5250
+ /**
5251
+ * Audit chain entries — tamper-evident audit chain records
5252
+ */
5253
+ auditChain: {
5254
+ /** List audit chain entries */
5255
+ list: async (options) => {
5256
+ return rb.execute(
5257
+ getAuditChainEntries,
5258
+ buildPageQuery(options?.page, options?.pageSize),
5259
+ options
5260
+ );
5261
+ },
5262
+ /** Get an audit chain entry by ID */
5263
+ get: async (id, options) => {
5264
+ return rb.execute(
5265
+ getAuditChainEntriesById,
5266
+ { path: { id } },
5267
+ options
5268
+ );
5269
+ }
5270
+ },
5271
+ /**
5272
+ * Breach incidents — data breach tracking and notifications
5273
+ */
5274
+ breachIncidents: {
5275
+ /** List breach incidents */
5276
+ list: async (options) => {
5277
+ return rb.execute(
5278
+ getBreachIncidents,
5279
+ buildPageQuery(options?.page, options?.pageSize),
5280
+ options
5281
+ );
5282
+ },
5283
+ /** Get a breach incident by ID */
5284
+ get: async (id, options) => {
5285
+ return rb.execute(
5286
+ getBreachIncidentsById,
5287
+ { path: { id } },
5288
+ options
5289
+ );
5290
+ },
5291
+ /** Report a new breach incident */
5292
+ create: async (attributes, options) => {
5293
+ return rb.execute(
5294
+ postBreachIncidents,
5295
+ {
5296
+ body: {
5297
+ data: { type: "breach_incident", attributes }
5298
+ }
5299
+ },
5300
+ options
5301
+ );
5302
+ },
5303
+ /** Update breach incident status */
5304
+ updateStatus: async (id, status, options) => {
5305
+ return rb.execute(
5306
+ patchBreachIncidentsByIdStatus,
5307
+ {
5308
+ path: { id },
5309
+ body: {
5310
+ data: { type: "breach_incident", id, attributes: { status } }
5311
+ }
5312
+ },
5313
+ options
5314
+ );
5315
+ }
5316
+ },
5317
+ /**
5318
+ * Breach notifications — regulatory notifications for breach incidents
5319
+ */
5320
+ breachNotifications: {
5321
+ /** List breach notifications */
5322
+ list: async (options) => {
5323
+ return rb.execute(
5324
+ getBreachNotifications,
5325
+ buildPageQuery(options?.page, options?.pageSize),
5326
+ options
5327
+ );
5328
+ },
5329
+ /** Get a breach notification by ID */
5330
+ get: async (id, options) => {
5331
+ return rb.execute(
5332
+ getBreachNotificationsById,
5333
+ { path: { id } },
5334
+ options
5335
+ );
5336
+ }
5337
+ },
5338
+ /**
5339
+ * Consent records — user consent tracking (GDPR Article 7)
5340
+ */
5341
+ consentRecords: {
5342
+ /** List consent records */
5343
+ list: async (options) => {
5344
+ return rb.execute(
5345
+ getConsentRecords,
5346
+ buildPageQuery(options?.page, options?.pageSize),
5347
+ options
5348
+ );
5349
+ },
5350
+ /** Get a consent record by ID */
5351
+ get: async (id, options) => {
5352
+ return rb.execute(
5353
+ getConsentRecordsById,
5354
+ { path: { id } },
5355
+ options
5356
+ );
5357
+ },
5358
+ /** List active consent records */
5359
+ listActive: async (options) => {
5360
+ return rb.execute(
5361
+ getConsentRecordsActive,
5362
+ {},
5363
+ options
5364
+ );
5365
+ },
5366
+ /** Record new consent */
5367
+ create: async (attributes, options) => {
5368
+ return rb.execute(
5369
+ postConsentRecords,
5370
+ {
5371
+ body: {
5372
+ data: { type: "consent_record", attributes }
5373
+ }
5374
+ },
5375
+ options
5376
+ );
5377
+ },
5378
+ /** Withdraw consent */
5379
+ withdraw: async (id, options) => {
5380
+ return rb.execute(
5381
+ patchConsentRecordsByIdWithdraw,
5382
+ {
5383
+ path: { id },
5384
+ body: {
5385
+ data: { type: "consent_record", id, attributes: {} }
5386
+ }
5387
+ },
5388
+ options
5389
+ );
5390
+ }
5391
+ },
5392
+ /**
5393
+ * Impact assessments — Data Protection Impact Assessments (DPIA)
5394
+ */
5395
+ impactAssessments: {
5396
+ /** List impact assessments */
5397
+ list: async (options) => {
5398
+ return rb.execute(
5399
+ getImpactAssessments,
5400
+ buildPageQuery(options?.page, options?.pageSize),
5401
+ options
5402
+ );
5403
+ },
5404
+ /** Get an impact assessment by ID */
5405
+ get: async (id, options) => {
5406
+ return rb.execute(
5407
+ getImpactAssessmentsById,
5408
+ { path: { id } },
5409
+ options
5410
+ );
5411
+ },
5412
+ /** Create an impact assessment */
5413
+ create: async (attributes, options) => {
5414
+ return rb.execute(
5415
+ postImpactAssessments,
5416
+ {
5417
+ body: {
5418
+ data: {
5419
+ type: "data_protection_impact_assessment",
5420
+ attributes
5421
+ }
5422
+ }
5423
+ },
5424
+ options
5425
+ );
5426
+ },
5427
+ /** Update an impact assessment */
5428
+ update: async (id, attributes, options) => {
5429
+ return rb.execute(
5430
+ patchImpactAssessmentsById,
5431
+ {
5432
+ path: { id },
5433
+ body: {
5434
+ data: {
5435
+ type: "data_protection_impact_assessment",
5436
+ id,
5437
+ attributes
5438
+ }
5439
+ }
5440
+ },
5441
+ options
5442
+ );
5443
+ },
5444
+ /** Approve an impact assessment */
5445
+ approve: async (id, options) => {
5446
+ return rb.execute(
5447
+ patchImpactAssessmentsByIdApprove,
5448
+ {
5449
+ path: { id },
5450
+ body: {
5451
+ data: {
5452
+ type: "data_protection_impact_assessment",
5453
+ id,
5454
+ attributes: {}
5455
+ }
5456
+ }
5457
+ },
5458
+ options
5459
+ );
5460
+ }
5461
+ },
5462
+ /**
5463
+ * Processing activities — GDPR Article 30 records of processing
5464
+ */
5465
+ processingActivities: {
5466
+ /** List processing activities */
4509
5467
  list: async (options) => {
4510
5468
  return rb.execute(
4511
- getPaymentMethods,
5469
+ getProcessingActivities,
4512
5470
  buildPageQuery(options?.page, options?.pageSize),
4513
5471
  options
4514
5472
  );
4515
5473
  },
4516
- listAll: async (options) => {
4517
- return paginateToArray(
4518
- rb.createPaginatedFetcher(
4519
- getPaymentMethods,
4520
- (page, pageSize) => ({
4521
- query: { page: { number: page, size: pageSize } }
4522
- }),
4523
- options
4524
- )
4525
- );
4526
- },
4527
- create: async (attributes, options) => {
5474
+ /** Get a processing activity by ID */
5475
+ get: async (id, options) => {
4528
5476
  return rb.execute(
4529
- postPaymentMethods,
4530
- { body: { data: { type: "payment_method", attributes } } },
5477
+ getProcessingActivitiesById,
5478
+ { path: { id } },
4531
5479
  options
4532
5480
  );
4533
5481
  },
4534
- update: async (id, attributes, options) => {
5482
+ /** Create a processing activity */
5483
+ create: async (attributes, options) => {
4535
5484
  return rb.execute(
4536
- patchPaymentMethodsById,
5485
+ postProcessingActivities,
4537
5486
  {
4538
- path: { id },
4539
- body: { data: { id, type: "payment_method", attributes } }
5487
+ body: {
5488
+ data: { type: "processing_activity", attributes }
5489
+ }
4540
5490
  },
4541
5491
  options
4542
5492
  );
4543
5493
  },
4544
- get: async (id, options) => {
4545
- return rb.execute(
4546
- getPaymentMethodsById,
5494
+ /** Delete a processing activity */
5495
+ delete: async (id, options) => {
5496
+ return rb.executeDelete(
5497
+ deleteProcessingActivitiesById,
4547
5498
  { path: { id } },
4548
5499
  options
4549
5500
  );
4550
5501
  }
4551
- }
4552
- };
4553
- }
4554
-
4555
- // src/namespaces/catalog.ts
4556
- function createCatalogNamespace(rb) {
4557
- return {
5502
+ },
4558
5503
  /**
4559
- * Productsproduct catalog management
5504
+ * Retention policies data lifecycle and deletion rules
4560
5505
  */
4561
- products: {
4562
- /** List products for a workspace */
4563
- list: async (workspaceId, options) => {
5506
+ retentionPolicies: {
5507
+ /** List retention policies */
5508
+ list: async (options) => {
4564
5509
  return rb.execute(
4565
- getCatalogProductsWorkspaceByWorkspaceId,
4566
- {
4567
- path: { workspace_id: workspaceId },
4568
- ...buildPageQuery(options?.page, options?.pageSize)
4569
- },
5510
+ getRetentionPolicies,
5511
+ buildPageQuery(options?.page, options?.pageSize),
4570
5512
  options
4571
5513
  );
4572
5514
  },
4573
- /** Get a product by ID */
5515
+ /** Get a retention policy by ID */
4574
5516
  get: async (id, options) => {
4575
5517
  return rb.execute(
4576
- getCatalogProductsById,
5518
+ getRetentionPoliciesById,
4577
5519
  { path: { id } },
4578
5520
  options
4579
5521
  );
4580
5522
  },
4581
- /** Create a new product */
5523
+ /** Create a retention policy */
4582
5524
  create: async (attributes, options) => {
4583
5525
  return rb.execute(
4584
- postCatalogProducts,
5526
+ postRetentionPolicies,
4585
5527
  {
4586
5528
  body: {
4587
- data: { type: "catalog_product", attributes }
5529
+ data: { type: "retention_policy", attributes }
4588
5530
  }
4589
5531
  },
4590
5532
  options
4591
5533
  );
4592
5534
  },
4593
- /** Update a product */
5535
+ /** Update a retention policy */
4594
5536
  update: async (id, attributes, options) => {
4595
5537
  return rb.execute(
4596
- patchCatalogProductsById,
5538
+ patchRetentionPoliciesById,
4597
5539
  {
4598
5540
  path: { id },
4599
5541
  body: {
4600
- data: { type: "catalog_product", id, attributes }
5542
+ data: { type: "retention_policy", id, attributes }
4601
5543
  }
4602
5544
  },
4603
5545
  options
4604
5546
  );
4605
5547
  },
4606
- /** Delete a product */
5548
+ /** Delete a retention policy */
4607
5549
  delete: async (id, options) => {
4608
5550
  return rb.executeDelete(
4609
- deleteCatalogProductsById,
5551
+ deleteRetentionPoliciesById,
4610
5552
  { path: { id } },
4611
5553
  options
4612
5554
  );
4613
5555
  }
4614
5556
  },
4615
5557
  /**
4616
- * Variantsproduct variants (SKUs)
5558
+ * Data subject requests GDPR rights (access, erasure, portability)
4617
5559
  */
4618
- variants: {
4619
- /** Get a variant by ID */
4620
- get: async (id, options) => {
5560
+ dataSubjectRequests: {
5561
+ /** List data subject requests */
5562
+ list: async (options) => {
4621
5563
  return rb.execute(
4622
- getCatalogProductVariantsById,
4623
- { path: { id } },
5564
+ getDataSubjectRequests,
5565
+ buildPageQuery(options?.page, options?.pageSize),
4624
5566
  options
4625
5567
  );
4626
5568
  },
4627
- /** List variants for a product */
4628
- listByProduct: async (productId, options) => {
5569
+ /** Get a data subject request by ID */
5570
+ get: async (id, options) => {
4629
5571
  return rb.execute(
4630
- getCatalogProductVariantsProductByProductId,
4631
- { path: { product_id: productId } },
5572
+ getDataSubjectRequestsById,
5573
+ { path: { id } },
4632
5574
  options
4633
5575
  );
4634
5576
  },
4635
- /** Create a product variant */
5577
+ /** Submit a data subject request */
4636
5578
  create: async (attributes, options) => {
4637
5579
  return rb.execute(
4638
- postCatalogProductVariants,
5580
+ postDataSubjectRequests,
4639
5581
  {
4640
5582
  body: {
4641
- data: { type: "catalog_product_variant", attributes }
5583
+ data: { type: "data_subject_request", attributes }
4642
5584
  }
4643
5585
  },
4644
5586
  options
4645
5587
  );
4646
5588
  },
4647
- /** Update a product variant */
4648
- update: async (id, attributes, options) => {
5589
+ /** Update data subject request status */
5590
+ updateStatus: async (id, status, options) => {
4649
5591
  return rb.execute(
4650
- patchCatalogProductVariantsById,
5592
+ patchDataSubjectRequestsByIdStatus,
4651
5593
  {
4652
5594
  path: { id },
4653
5595
  body: {
4654
- data: { type: "catalog_product_variant", id, attributes }
5596
+ data: {
5597
+ type: "data_subject_request",
5598
+ id,
5599
+ attributes: { status }
5600
+ }
4655
5601
  }
4656
5602
  },
4657
5603
  options
4658
5604
  );
4659
- },
4660
- /** Delete a product variant */
4661
- delete: async (id, options) => {
4662
- return rb.executeDelete(
4663
- deleteCatalogProductVariantsById,
4664
- { path: { id } },
4665
- options
4666
- );
4667
5605
  }
4668
5606
  },
4669
5607
  /**
4670
- * Taxonomiesproduct classification trees
5608
+ * Legal documents Terms of Service, Privacy Policy, etc.
4671
5609
  */
4672
- taxonomies: {
4673
- /** List taxonomies for an application */
4674
- listByApplication: async (applicationId, options) => {
5610
+ legalDocuments: {
5611
+ /** List legal documents */
5612
+ list: async (options) => {
4675
5613
  return rb.execute(
4676
- getCatalogTaxonomiesApplicationByApplicationId,
4677
- { path: { application_id: applicationId } },
5614
+ getLegalDocuments,
5615
+ buildPageQuery(options?.page, options?.pageSize),
4678
5616
  options
4679
5617
  );
4680
5618
  },
4681
- /** Get a taxonomy by ID */
5619
+ /** Get a legal document by ID */
4682
5620
  get: async (id, options) => {
4683
5621
  return rb.execute(
4684
- getCatalogTaxonomiesById,
5622
+ getLegalDocumentsById,
4685
5623
  { path: { id } },
4686
5624
  options
4687
5625
  );
4688
5626
  },
4689
- /** Create a taxonomy */
5627
+ /** Create a legal document */
4690
5628
  create: async (attributes, options) => {
4691
5629
  return rb.execute(
4692
- postCatalogTaxonomies,
4693
- {
4694
- body: {
4695
- data: { type: "catalog_taxonomy", attributes }
4696
- }
4697
- },
5630
+ postLegalDocuments,
5631
+ { body: { data: { type: "legal_document", attributes } } },
4698
5632
  options
4699
5633
  );
4700
5634
  },
4701
- /** Update a taxonomy */
5635
+ /** Update a legal document */
4702
5636
  update: async (id, attributes, options) => {
4703
5637
  return rb.execute(
4704
- patchCatalogTaxonomiesById,
5638
+ patchLegalDocumentsById,
4705
5639
  {
4706
5640
  path: { id },
4707
- body: {
4708
- data: { type: "catalog_taxonomy", id, attributes }
4709
- }
5641
+ body: { data: { type: "legal_document", id, attributes } }
4710
5642
  },
4711
5643
  options
4712
5644
  );
4713
5645
  },
4714
- /** Delete a taxonomy */
5646
+ /** Delete a legal document */
4715
5647
  delete: async (id, options) => {
4716
5648
  return rb.executeDelete(
4717
- deleteCatalogTaxonomiesById,
5649
+ deleteLegalDocumentsById,
4718
5650
  { path: { id } },
4719
5651
  options
4720
5652
  );
4721
- }
4722
- },
4723
- /**
4724
- * Taxonomy nodes — nodes within a taxonomy tree
4725
- */
4726
- taxonomyNodes: {
4727
- /** List nodes for a taxonomy */
4728
- listByTaxonomy: async (taxonomyId, options) => {
5653
+ },
5654
+ /** Get documents by locale */
5655
+ byLocale: async (locale, options) => {
4729
5656
  return rb.execute(
4730
- getCatalogTaxonomyNodesTaxonomyByTaxonomyId,
4731
- { path: { taxonomy_id: taxonomyId } },
5657
+ getLegalDocumentsByLocale,
5658
+ { query: { locale } },
4732
5659
  options
4733
5660
  );
4734
5661
  },
4735
- /** Get a taxonomy node by ID */
4736
- get: async (id, options) => {
5662
+ /** Get documents for the current application */
5663
+ forApplication: async (options) => {
4737
5664
  return rb.execute(
4738
- getCatalogTaxonomyNodesById,
4739
- { path: { id } },
5665
+ getLegalDocumentsForApplication,
5666
+ {},
4740
5667
  options
4741
5668
  );
4742
5669
  },
4743
- /** Create a taxonomy node */
4744
- create: async (attributes, options) => {
5670
+ /** Publish a legal document */
5671
+ publish: async (id, options) => {
4745
5672
  return rb.execute(
4746
- postCatalogTaxonomyNodes,
5673
+ patchLegalDocumentsByIdPublish,
4747
5674
  {
4748
- body: {
4749
- data: { type: "catalog_taxonomy_node", attributes }
4750
- }
5675
+ path: { id },
5676
+ body: { data: { type: "legal_document", id, attributes: {} } }
4751
5677
  },
4752
5678
  options
4753
5679
  );
4754
5680
  },
4755
- /** Update a taxonomy node */
4756
- update: async (id, attributes, options) => {
5681
+ /** Unpublish a legal document */
5682
+ unpublish: async (id, options) => {
4757
5683
  return rb.execute(
4758
- patchCatalogTaxonomyNodesById,
5684
+ patchLegalDocumentsByIdUnpublish,
4759
5685
  {
4760
5686
  path: { id },
4761
- body: {
4762
- data: { type: "catalog_taxonomy_node", id, attributes }
4763
- }
5687
+ body: { data: { type: "legal_document", id, attributes: {} } }
4764
5688
  },
4765
5689
  options
4766
5690
  );
5691
+ }
5692
+ },
5693
+ /**
5694
+ * Legal acceptances — user acceptance records for legal documents
5695
+ */
5696
+ legalAcceptances: {
5697
+ /** List legal acceptances */
5698
+ list: async (options) => {
5699
+ return rb.execute(
5700
+ getLegalAcceptances,
5701
+ buildPageQuery(options?.page, options?.pageSize),
5702
+ options
5703
+ );
4767
5704
  },
4768
- /** Delete a taxonomy node */
4769
- delete: async (id, options) => {
4770
- return rb.executeDelete(
4771
- deleteCatalogTaxonomyNodesById,
5705
+ /** Get a legal acceptance by ID */
5706
+ get: async (id, options) => {
5707
+ return rb.execute(
5708
+ getLegalAcceptancesById,
5709
+ { path: { id } },
5710
+ options
5711
+ );
5712
+ },
5713
+ /** Get the latest acceptance record for the current user */
5714
+ latest: async (options) => {
5715
+ return rb.execute(
5716
+ getLegalAcceptancesLatest,
5717
+ {},
5718
+ options
5719
+ );
5720
+ }
5721
+ },
5722
+ /**
5723
+ * Scan results — PII and security scan findings
5724
+ */
5725
+ scanResults: {
5726
+ /** List scan results */
5727
+ list: async (options) => {
5728
+ return rb.execute(
5729
+ getScanResults,
5730
+ buildPageQuery(options?.page, options?.pageSize),
5731
+ options
5732
+ );
5733
+ },
5734
+ /** Get a scan result by ID */
5735
+ get: async (id, options) => {
5736
+ return rb.execute(
5737
+ getScanResultsById,
4772
5738
  { path: { id } },
4773
5739
  options
4774
5740
  );
@@ -4967,10 +5933,21 @@ function createConnectorsNamespace(rb) {
4967
5933
  { path: { id } },
4968
5934
  options
4969
5935
  ),
4970
- /** Refresh an OAuth credential */
4971
- refresh: async (id, options) => rb.execute(
5936
+ /**
5937
+ * Refresh an OAuth credential.
5938
+ * @param workspaceId - The workspace that owns the credential.
5939
+ */
5940
+ refresh: async (id, workspaceId, options) => rb.execute(
4972
5941
  postConnectorsCredentialsByIdRefresh,
4973
- { path: { id }, body: { data: {} } },
5942
+ {
5943
+ path: { id },
5944
+ body: {
5945
+ data: {
5946
+ type: "credential",
5947
+ attributes: { workspace_id: workspaceId }
5948
+ }
5949
+ }
5950
+ },
4974
5951
  options
4975
5952
  )
4976
5953
  },
@@ -5000,8 +5977,10 @@ function createConnectorsNamespace(rb) {
5000
5977
  /**
5001
5978
  * Exchange OAuth authorization code for a credential.
5002
5979
  * Called from the redirect handler after the user authorizes in the provider.
5980
+ * Pass `redirectUri` if a custom redirect URI was used in `connect` — it must
5981
+ * match the URI sent during authorization.
5003
5982
  */
5004
- callback: async (connectorType, code, state, workspaceId, options) => rb.execute(
5983
+ callback: async (connectorType, code, state, workspaceId, redirectUri, options) => rb.execute(
5005
5984
  postConnectorsOauthCallback,
5006
5985
  {
5007
5986
  body: {
@@ -5011,7 +5990,10 @@ function createConnectorsNamespace(rb) {
5011
5990
  connector_type: connectorType,
5012
5991
  code,
5013
5992
  state,
5014
- workspace_id: workspaceId
5993
+ workspace_id: workspaceId,
5994
+ ...redirectUri !== void 0 && {
5995
+ redirect_uri: redirectUri
5996
+ }
5015
5997
  }
5016
5998
  }
5017
5999
  }
@@ -5126,8 +6108,12 @@ function createConnectorsNamespace(rb) {
5126
6108
  },
5127
6109
  options
5128
6110
  ),
5129
- /** Exchange OAuth authorization code for Fullscript credential */
5130
- callback: async (code, state, workspaceId, options) => rb.execute(
6111
+ /**
6112
+ * Exchange OAuth authorization code for Fullscript credential.
6113
+ * Pass `redirectUri` if a custom redirect URI was used in `connect` — it must
6114
+ * match the URI sent during authorization.
6115
+ */
6116
+ callback: async (code, state, workspaceId, redirectUri, options) => rb.execute(
5131
6117
  postConnectorsOauthCallback,
5132
6118
  {
5133
6119
  body: {
@@ -5137,7 +6123,10 @@ function createConnectorsNamespace(rb) {
5137
6123
  connector_type: "fullscript",
5138
6124
  code,
5139
6125
  state,
5140
- workspace_id: workspaceId
6126
+ workspace_id: workspaceId,
6127
+ ...redirectUri !== void 0 && {
6128
+ redirect_uri: redirectUri
6129
+ }
5141
6130
  }
5142
6131
  }
5143
6132
  }
@@ -5317,6 +6306,38 @@ function createCrmNamespace(rb) {
5317
6306
  listByWorkspace: async (workspaceId, options) => {
5318
6307
  return rb.execute(
5319
6308
  getCrmContactsWorkspaceByWorkspaceId,
6309
+ {
6310
+ path: { workspace_id: workspaceId },
6311
+ query: {
6312
+ ...options?.status ? { status: options.status } : {},
6313
+ ...options?.filters ? { filters: options.filters } : {},
6314
+ ...options?.tags ? { tags: options.tags } : {},
6315
+ ...buildPageQuery(options?.page, options?.pageSize)?.query
6316
+ }
6317
+ },
6318
+ options
6319
+ );
6320
+ },
6321
+ /** Archive a contact (soft-delete with restore semantics) */
6322
+ archive: async (id, options) => {
6323
+ return rb.execute(
6324
+ patchCrmContactsByIdArchive,
6325
+ { path: { id } },
6326
+ options
6327
+ );
6328
+ },
6329
+ /** Restore an archived contact */
6330
+ unarchive: async (id, options) => {
6331
+ return rb.execute(
6332
+ postCrmContactsByIdUnarchive,
6333
+ { path: { id } },
6334
+ options
6335
+ );
6336
+ },
6337
+ /** List archived (soft-deleted) contacts for a workspace */
6338
+ listArchived: async (workspaceId, options) => {
6339
+ return rb.execute(
6340
+ getCrmContactsWorkspaceByWorkspaceIdArchived,
5320
6341
  {
5321
6342
  path: { workspace_id: workspaceId },
5322
6343
  ...buildPageQuery(options?.page, options?.pageSize)
@@ -6601,7 +7622,8 @@ var LoginSchema = import_zod2.z.object({
6601
7622
  var RegisterSchema = import_zod2.z.object({
6602
7623
  email: import_zod2.z.string().email(),
6603
7624
  password: import_zod2.z.string().min(8),
6604
- password_confirmation: import_zod2.z.string().min(8)
7625
+ password_confirmation: import_zod2.z.string().min(8),
7626
+ tenant_name: import_zod2.z.string().min(1)
6605
7627
  }).refine((data) => data.password === data.password_confirmation, {
6606
7628
  message: "Passwords do not match",
6607
7629
  path: ["password_confirmation"]
@@ -6644,25 +7666,32 @@ var ChangePasswordSchema = import_zod2.z.object({
6644
7666
  });
6645
7667
  function createIdentityNamespace(rb, baseUrl) {
6646
7668
  return {
6647
- /** Login with email and password — returns a token object */
7669
+ /**
7670
+ * Login with email and password — returns the authenticated user.
7671
+ * The session token is available as `result.token` (flattened from `data.attributes.token`).
7672
+ */
6648
7673
  login: async (email, password, options) => {
6649
7674
  LoginSchema.parse({ email, password });
6650
7675
  return rb.execute(
6651
7676
  postUsersAuthLogin,
6652
7677
  {
6653
7678
  body: {
6654
- data: { type: "token", attributes: { email, password } }
7679
+ data: { type: "user", attributes: { email, password } }
6655
7680
  }
6656
7681
  },
6657
7682
  options
6658
7683
  );
6659
7684
  },
6660
- /** Register a new user account */
6661
- register: async (email, password, passwordConfirmation, options) => {
7685
+ /**
7686
+ * Register a new user account returns the newly created user.
7687
+ * The session token is available as `result.token` (flattened from `data.attributes.token`).
7688
+ */
7689
+ register: async (email, password, passwordConfirmation, tenantName, options) => {
6662
7690
  RegisterSchema.parse({
6663
7691
  email,
6664
7692
  password,
6665
- password_confirmation: passwordConfirmation
7693
+ password_confirmation: passwordConfirmation,
7694
+ tenant_name: tenantName
6666
7695
  });
6667
7696
  return rb.execute(
6668
7697
  postUsersAuthRegister,
@@ -6673,7 +7702,8 @@ function createIdentityNamespace(rb, baseUrl) {
6673
7702
  attributes: {
6674
7703
  email,
6675
7704
  password,
6676
- password_confirmation: passwordConfirmation
7705
+ password_confirmation: passwordConfirmation,
7706
+ tenant_name: tenantName
6677
7707
  }
6678
7708
  }
6679
7709
  }
@@ -7354,6 +8384,35 @@ function createPlatformNamespace(rb) {
7354
8384
  options
7355
8385
  );
7356
8386
  }
8387
+ },
8388
+ configs: {
8389
+ /** List application configuration entries */
8390
+ list: async (options) => {
8391
+ return rb.execute(
8392
+ getConfigs,
8393
+ buildPageQuery(options?.page, options?.pageSize),
8394
+ options
8395
+ );
8396
+ },
8397
+ /** Create a configuration entry */
8398
+ create: async (attributes, options) => {
8399
+ return rb.execute(
8400
+ postConfigs,
8401
+ { body: { data: { type: "config", attributes } } },
8402
+ options
8403
+ );
8404
+ },
8405
+ /** Update a configuration entry by key */
8406
+ update: async (key, attributes, options) => {
8407
+ return rb.execute(
8408
+ patchConfigsByKey,
8409
+ {
8410
+ path: { key },
8411
+ body: { data: { type: "config", id: key, attributes } }
8412
+ },
8413
+ options
8414
+ );
8415
+ }
7357
8416
  }
7358
8417
  };
7359
8418
  }
@@ -8859,6 +9918,7 @@ var GptClient = class extends BaseClient {
8859
9918
  this.ai = createAiNamespace(rb);
8860
9919
  this.billing = createBillingNamespace(rb);
8861
9920
  this.catalog = createCatalogNamespace(rb);
9921
+ this.compliance = createComplianceNamespace(rb);
8862
9922
  this.communication = createCommunicationNamespace(rb);
8863
9923
  this.connectors = createConnectorsNamespace(rb);
8864
9924
  this.crawler = createCrawlerNamespace(rb);