@hol-org/rb-client 0.1.177 → 0.1.179

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
@@ -887,6 +887,339 @@ var creditPurchaseResponseSchema = z2.object({
887
887
  transactionId: z2.string(),
888
888
  consensusTimestamp: z2.string().nullable().optional()
889
889
  });
890
+ var creditProviderSummarySchema = z2.object({
891
+ name: z2.string(),
892
+ publishableKey: z2.string().optional(),
893
+ currency: z2.string().optional(),
894
+ centsPerHbar: z2.number().nullable().optional()
895
+ });
896
+ var creditProvidersResponseSchema = z2.object({
897
+ providers: z2.array(creditProviderSummarySchema)
898
+ });
899
+ var creditBalanceResponseSchema = z2.object({
900
+ accountId: z2.string(),
901
+ balance: z2.number(),
902
+ balanceRecord: jsonValueSchema.optional(),
903
+ timestamp: z2.string().optional()
904
+ });
905
+ var guardPlanIdSchema = z2.enum(["free", "pro", "team", "enterprise"]);
906
+ var guardBucketBalanceSchema = z2.object({
907
+ bucketId: z2.enum([
908
+ "registry_credits",
909
+ "chat_credits",
910
+ "guard_credits",
911
+ "org_policy_credits"
912
+ ]),
913
+ label: z2.string(),
914
+ availableCredits: z2.number(),
915
+ includedMonthlyCredits: z2.number().nullable().optional()
916
+ });
917
+ var guardPrincipalSchema = z2.object({
918
+ signedIn: z2.boolean(),
919
+ userId: z2.string().optional(),
920
+ email: z2.string().optional(),
921
+ accountId: z2.string().optional(),
922
+ stripeCustomerId: z2.string().optional(),
923
+ roles: z2.array(z2.string())
924
+ });
925
+ var guardEntitlementsSchema = z2.object({
926
+ planId: guardPlanIdSchema,
927
+ includedMonthlyCredits: z2.number(),
928
+ deviceLimit: z2.number(),
929
+ retentionDays: z2.number(),
930
+ syncEnabled: z2.boolean(),
931
+ premiumFeedsEnabled: z2.boolean(),
932
+ teamPolicyEnabled: z2.boolean()
933
+ });
934
+ var guardSessionResponseSchema = z2.object({
935
+ principal: guardPrincipalSchema,
936
+ entitlements: guardEntitlementsSchema,
937
+ balance: z2.object({
938
+ accountId: z2.string(),
939
+ availableCredits: z2.number()
940
+ }).nullable(),
941
+ bucketingMode: z2.enum(["shared-ledger", "product-bucketed"]),
942
+ buckets: z2.array(guardBucketBalanceSchema)
943
+ });
944
+ var guardBalanceResponseSchema = z2.object({
945
+ generatedAt: z2.string(),
946
+ bucketingMode: z2.enum(["shared-ledger", "product-bucketed"]),
947
+ buckets: z2.array(guardBucketBalanceSchema)
948
+ });
949
+ var guardTrustMatchSchema = z2.object({
950
+ artifactId: z2.string(),
951
+ artifactName: z2.string(),
952
+ artifactType: z2.enum(["skill", "plugin"]),
953
+ artifactSlug: z2.string(),
954
+ recommendation: z2.enum(["monitor", "review", "block"]),
955
+ verified: z2.boolean(),
956
+ safetyScore: z2.number().nullable().optional(),
957
+ trustScore: z2.number().nullable().optional(),
958
+ href: z2.string().optional(),
959
+ ecosystem: z2.string().optional()
960
+ });
961
+ var guardTrustByHashResponseSchema = z2.object({
962
+ generatedAt: z2.string(),
963
+ query: z2.object({
964
+ sha256: z2.string()
965
+ }),
966
+ match: guardTrustMatchSchema.nullable(),
967
+ evidence: z2.array(z2.string())
968
+ });
969
+ var guardTrustResolveResponseSchema = z2.object({
970
+ generatedAt: z2.string(),
971
+ query: z2.object({
972
+ ecosystem: z2.string().optional(),
973
+ name: z2.string().optional(),
974
+ version: z2.string().optional()
975
+ }),
976
+ items: z2.array(guardTrustMatchSchema)
977
+ });
978
+ var guardRevocationSchema = z2.object({
979
+ id: z2.string(),
980
+ artifactId: z2.string(),
981
+ artifactName: z2.string(),
982
+ reason: z2.string(),
983
+ severity: z2.enum(["low", "medium", "high"]),
984
+ publishedAt: z2.string()
985
+ });
986
+ var guardRevocationResponseSchema = z2.object({
987
+ generatedAt: z2.string(),
988
+ items: z2.array(guardRevocationSchema)
989
+ });
990
+ var guardReceiptSchema = z2.object({
991
+ receiptId: z2.string(),
992
+ capturedAt: z2.string(),
993
+ harness: z2.string(),
994
+ deviceId: z2.string(),
995
+ deviceName: z2.string(),
996
+ artifactId: z2.string(),
997
+ artifactName: z2.string(),
998
+ artifactType: z2.enum(["skill", "plugin"]),
999
+ artifactSlug: z2.string(),
1000
+ artifactHash: z2.string(),
1001
+ policyDecision: z2.enum([
1002
+ "allow",
1003
+ "warn",
1004
+ "block",
1005
+ "review",
1006
+ "require-reapproval",
1007
+ "sandbox-required"
1008
+ ]),
1009
+ recommendation: z2.enum(["monitor", "review", "block"]),
1010
+ changedSinceLastApproval: z2.boolean(),
1011
+ publisher: z2.string().optional(),
1012
+ capabilities: z2.array(z2.string()),
1013
+ summary: z2.string()
1014
+ });
1015
+ var guardHistoryArtifactSchema = z2.object({
1016
+ artifactId: z2.string(),
1017
+ artifactName: z2.string(),
1018
+ artifactType: z2.enum(["skill", "plugin"]),
1019
+ artifactSlug: z2.string(),
1020
+ publisher: z2.string().optional(),
1021
+ harnesses: z2.array(z2.string()),
1022
+ eventCount: z2.number(),
1023
+ firstSeenAt: z2.string(),
1024
+ lastSeenAt: z2.string(),
1025
+ latestDecision: z2.enum([
1026
+ "allow",
1027
+ "warn",
1028
+ "block",
1029
+ "review",
1030
+ "require-reapproval",
1031
+ "sandbox-required"
1032
+ ]),
1033
+ latestRecommendation: z2.enum(["monitor", "review", "block"])
1034
+ });
1035
+ var guardReceiptHistoryResponseSchema = z2.object({
1036
+ generatedAt: z2.string(),
1037
+ artifacts: z2.array(guardHistoryArtifactSchema)
1038
+ });
1039
+ var guardInventoryArtifactSchema = z2.object({
1040
+ artifactId: z2.string(),
1041
+ artifactName: z2.string(),
1042
+ artifactType: z2.enum(["skill", "plugin"]),
1043
+ artifactSlug: z2.string(),
1044
+ publisher: z2.string().optional(),
1045
+ harnesses: z2.array(z2.string()),
1046
+ devices: z2.array(z2.string()),
1047
+ eventCount: z2.number(),
1048
+ firstSeenAt: z2.string(),
1049
+ lastSeenAt: z2.string(),
1050
+ latestDecision: z2.enum([
1051
+ "allow",
1052
+ "warn",
1053
+ "block",
1054
+ "review",
1055
+ "require-reapproval",
1056
+ "sandbox-required"
1057
+ ]),
1058
+ latestRecommendation: z2.enum(["monitor", "review", "block"]),
1059
+ latestHash: z2.string(),
1060
+ latestSummary: z2.string()
1061
+ });
1062
+ var guardInventoryDiffEntrySchema = z2.object({
1063
+ artifactId: z2.string(),
1064
+ artifactName: z2.string(),
1065
+ artifactType: z2.enum(["skill", "plugin"]),
1066
+ changeType: z2.enum(["new", "changed", "removed"]),
1067
+ previousHash: z2.string().nullable(),
1068
+ currentHash: z2.string().nullable()
1069
+ });
1070
+ var guardInventoryDiffResponseSchema = z2.object({
1071
+ generatedAt: z2.string(),
1072
+ items: z2.array(guardInventoryDiffEntrySchema)
1073
+ });
1074
+ var guardReceiptSyncResponseSchema = z2.object({
1075
+ syncedAt: z2.string(),
1076
+ receiptsStored: z2.number(),
1077
+ inventoryStored: z2.number().optional(),
1078
+ inventoryDiff: guardInventoryDiffResponseSchema.optional()
1079
+ });
1080
+ var guardInventoryResponseSchema = z2.object({
1081
+ generatedAt: z2.string(),
1082
+ items: z2.array(guardInventoryArtifactSchema)
1083
+ });
1084
+ var guardAbomSummarySchema = z2.object({
1085
+ totalArtifacts: z2.number(),
1086
+ totalDevices: z2.number(),
1087
+ totalHarnesses: z2.number(),
1088
+ blockedArtifacts: z2.number(),
1089
+ reviewArtifacts: z2.number()
1090
+ });
1091
+ var guardAbomResponseSchema = z2.object({
1092
+ generatedAt: z2.string(),
1093
+ summary: guardAbomSummarySchema,
1094
+ items: z2.array(guardInventoryArtifactSchema)
1095
+ });
1096
+ var guardTimelineEventSchema = z2.object({
1097
+ receiptId: z2.string(),
1098
+ capturedAt: z2.string(),
1099
+ harness: z2.string(),
1100
+ deviceId: z2.string(),
1101
+ deviceName: z2.string(),
1102
+ artifactHash: z2.string(),
1103
+ policyDecision: z2.enum([
1104
+ "allow",
1105
+ "warn",
1106
+ "block",
1107
+ "review",
1108
+ "require-reapproval",
1109
+ "sandbox-required"
1110
+ ]),
1111
+ recommendation: z2.enum(["monitor", "review", "block"]),
1112
+ changedSinceLastApproval: z2.boolean(),
1113
+ summary: z2.string(),
1114
+ capabilities: z2.array(z2.string()),
1115
+ publisher: z2.string().optional()
1116
+ });
1117
+ var guardArtifactTimelineResponseSchema = z2.object({
1118
+ generatedAt: z2.string(),
1119
+ artifactId: z2.string(),
1120
+ artifactName: z2.string(),
1121
+ artifactType: z2.enum(["skill", "plugin"]),
1122
+ artifactSlug: z2.string(),
1123
+ events: z2.array(guardTimelineEventSchema)
1124
+ });
1125
+ var guardReceiptExportSummarySchema = z2.object({
1126
+ totalReceipts: z2.number(),
1127
+ blockedCount: z2.number(),
1128
+ reviewCount: z2.number(),
1129
+ approvedCount: z2.number()
1130
+ });
1131
+ var guardExportSignatureSchema = z2.object({
1132
+ algorithm: z2.enum(["hmac-sha256", "none"]),
1133
+ digest: z2.string()
1134
+ });
1135
+ var guardReceiptExportResponseSchema = z2.object({
1136
+ generatedAt: z2.string(),
1137
+ summary: guardReceiptExportSummarySchema,
1138
+ provenanceSummary: z2.array(z2.string()),
1139
+ items: z2.array(guardReceiptSchema),
1140
+ signature: guardExportSignatureSchema
1141
+ });
1142
+ var guardAlertPreferencesSchema = z2.object({
1143
+ emailEnabled: z2.boolean(),
1144
+ digestMode: z2.enum(["immediate", "daily", "weekly"]),
1145
+ watchlistEnabled: z2.boolean(),
1146
+ advisoriesEnabled: z2.boolean(),
1147
+ repeatedWarningsEnabled: z2.boolean(),
1148
+ teamAlertsEnabled: z2.boolean(),
1149
+ updatedAt: z2.string()
1150
+ });
1151
+ var guardWatchlistItemSchema = z2.object({
1152
+ artifactId: z2.string(),
1153
+ artifactName: z2.string(),
1154
+ artifactType: z2.enum(["skill", "plugin"]),
1155
+ artifactSlug: z2.string(),
1156
+ reason: z2.string(),
1157
+ source: z2.enum(["manual", "synced", "team-policy"]),
1158
+ createdAt: z2.string()
1159
+ });
1160
+ var guardWatchlistResponseSchema = z2.object({
1161
+ generatedAt: z2.string(),
1162
+ items: z2.array(guardWatchlistItemSchema)
1163
+ });
1164
+ var guardExceptionItemSchema = z2.object({
1165
+ exceptionId: z2.string(),
1166
+ scope: z2.enum(["artifact", "publisher", "harness", "global"]),
1167
+ harness: z2.string().nullable(),
1168
+ artifactId: z2.string().nullable(),
1169
+ publisher: z2.string().nullable(),
1170
+ reason: z2.string(),
1171
+ owner: z2.string(),
1172
+ source: z2.enum(["manual", "team-policy"]),
1173
+ expiresAt: z2.string(),
1174
+ createdAt: z2.string(),
1175
+ updatedAt: z2.string()
1176
+ });
1177
+ var guardExceptionListResponseSchema = z2.object({
1178
+ generatedAt: z2.string(),
1179
+ items: z2.array(guardExceptionItemSchema)
1180
+ });
1181
+ var guardTeamPolicyAuditItemSchema = z2.object({
1182
+ changedAt: z2.string(),
1183
+ actor: z2.string(),
1184
+ change: z2.enum(["created", "updated"]),
1185
+ summary: z2.string()
1186
+ });
1187
+ var guardTeamPolicyPackSchema = z2.object({
1188
+ name: z2.string(),
1189
+ sharedHarnessDefaults: z2.record(z2.string(), z2.enum(["observe", "prompt", "enforce"])),
1190
+ allowedPublishers: z2.array(z2.string()),
1191
+ blockedArtifacts: z2.array(z2.string()),
1192
+ alertChannel: z2.enum(["email", "slack", "teams", "webhook"]),
1193
+ updatedAt: z2.string(),
1194
+ auditTrail: z2.array(guardTeamPolicyAuditItemSchema)
1195
+ });
1196
+ var guardDeviceSchema = z2.object({
1197
+ deviceId: z2.string(),
1198
+ deviceName: z2.string(),
1199
+ harnesses: z2.array(z2.string()),
1200
+ receiptCount: z2.number(),
1201
+ lastSeenAt: z2.string()
1202
+ });
1203
+ var guardDeviceListResponseSchema = z2.object({
1204
+ generatedAt: z2.string(),
1205
+ items: z2.array(guardDeviceSchema)
1206
+ });
1207
+ var hbarPurchaseIntentResponseSchema = z2.object({
1208
+ transaction: z2.string(),
1209
+ transactionId: z2.string(),
1210
+ network: z2.enum(["mainnet", "testnet"]),
1211
+ accountId: z2.string(),
1212
+ treasuryAccountId: z2.string(),
1213
+ hbarAmount: z2.number(),
1214
+ credits: z2.number(),
1215
+ tinybarAmount: z2.number(),
1216
+ memo: z2.string(),
1217
+ centsPerHbar: z2.number(),
1218
+ validStart: z2.string(),
1219
+ validDurationSeconds: z2.number(),
1220
+ requiresManualSubmit: z2.literal(true),
1221
+ purchaseId: z2.string()
1222
+ });
890
1223
  var x402SettlementSchema = z2.object({
891
1224
  success: z2.boolean().optional(),
892
1225
  transaction: z2.string().optional(),
@@ -1269,11 +1602,13 @@ var skillDeprecationsResponseSchema = z2.object({
1269
1602
  name: z2.string(),
1270
1603
  items: z2.array(skillDeprecationRecordSchema)
1271
1604
  }).passthrough();
1605
+ var skillSecurityBreakdownFindingSchema = z2.record(jsonValueSchema);
1606
+ var skillSecurityBreakdownSummarySchema = z2.record(jsonValueSchema);
1272
1607
  var skillSecurityBreakdownResponseSchema = z2.object({
1273
1608
  jobId: z2.string(),
1274
1609
  score: z2.number().nullable().optional(),
1275
- findings: z2.array(z2.unknown()).optional(),
1276
- summary: z2.unknown().optional(),
1610
+ findings: z2.array(skillSecurityBreakdownFindingSchema).optional(),
1611
+ summary: skillSecurityBreakdownSummarySchema.optional(),
1277
1612
  generatedAt: z2.string().nullable().optional(),
1278
1613
  scannerVersion: z2.string().nullable().optional()
1279
1614
  }).passthrough();
@@ -2737,9 +3072,16 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
2737
3072
  // ../../src/utils/dynamic-import.ts
2738
3073
  var nodeRequire;
2739
3074
  var isNodeRuntime = () => typeof process !== "undefined" && Boolean(process.versions?.node);
3075
+ function resolveBuiltinModuleLoader() {
3076
+ if (typeof process === "undefined") {
3077
+ return void 0;
3078
+ }
3079
+ return process.getBuiltinModule;
3080
+ }
2740
3081
  function getNodeRequireSync() {
2741
3082
  try {
2742
- const moduleNamespace = process.getBuiltinModule?.("module");
3083
+ const builtinModuleLoader = resolveBuiltinModuleLoader();
3084
+ const moduleNamespace = builtinModuleLoader?.("module");
2743
3085
  if (typeof moduleNamespace?.createRequire === "function") {
2744
3086
  const requireFromModule = moduleNamespace.createRequire(import.meta.url);
2745
3087
  if (typeof requireFromModule.resolve === "function") {
@@ -3139,6 +3481,61 @@ async function adapterRegistrySubmissionStatus(client, submissionId) {
3139
3481
  }
3140
3482
 
3141
3483
  // ../../src/services/registry-broker/client/credits.ts
3484
+ async function getCreditsBalance(client, params = {}) {
3485
+ const query = new URLSearchParams();
3486
+ const normalizedAccountId = params.accountId?.trim();
3487
+ if (normalizedAccountId) {
3488
+ query.set("accountId", normalizedAccountId);
3489
+ }
3490
+ const suffix = query.size > 0 ? `?${query.toString()}` : "";
3491
+ const raw = await client.requestJson(`/credits/balance${suffix}`, {
3492
+ method: "GET"
3493
+ });
3494
+ return client.parseWithSchema(
3495
+ raw,
3496
+ creditBalanceResponseSchema,
3497
+ "credit balance response"
3498
+ );
3499
+ }
3500
+ async function getCreditProviders(client) {
3501
+ const raw = await client.requestJson("/credits/providers", {
3502
+ method: "GET"
3503
+ });
3504
+ return client.parseWithSchema(
3505
+ raw,
3506
+ creditProvidersResponseSchema,
3507
+ "credit providers response"
3508
+ );
3509
+ }
3510
+ async function createHbarPurchaseIntent(client, payload) {
3511
+ const body = {};
3512
+ const normalizedAccountId = payload.accountId?.trim();
3513
+ if (normalizedAccountId) {
3514
+ body.accountId = normalizedAccountId;
3515
+ }
3516
+ if (payload.credits !== void 0) {
3517
+ body.credits = payload.credits;
3518
+ }
3519
+ if (payload.hbarAmount !== void 0) {
3520
+ body.hbarAmount = payload.hbarAmount;
3521
+ }
3522
+ if (payload.memo?.trim()) {
3523
+ body.memo = payload.memo.trim();
3524
+ }
3525
+ const raw = await client.requestJson(
3526
+ "/credits/payments/hbar/intent",
3527
+ {
3528
+ method: "POST",
3529
+ headers: { "content-type": "application/json" },
3530
+ body
3531
+ }
3532
+ );
3533
+ return client.parseWithSchema(
3534
+ raw,
3535
+ hbarPurchaseIntentResponseSchema,
3536
+ "hbar purchase intent response"
3537
+ );
3538
+ }
3142
3539
  async function loadX402Dependencies(client) {
3143
3540
  const [{ default: axios }, x402Axios, x402Types] = await Promise.all([
3144
3541
  import("axios"),
@@ -3666,6 +4063,285 @@ async function registerOwnedMoltbookAgent(client, uaid, request) {
3666
4063
  );
3667
4064
  }
3668
4065
 
4066
+ // ../../src/services/registry-broker/client/guard.ts
4067
+ async function getGuardSession(client) {
4068
+ const raw = await client.requestJson("/guard/auth/session", {
4069
+ method: "GET"
4070
+ });
4071
+ return client.parseWithSchema(
4072
+ raw,
4073
+ guardSessionResponseSchema,
4074
+ "guard session response"
4075
+ );
4076
+ }
4077
+ async function getGuardEntitlements(client) {
4078
+ const raw = await client.requestJson("/guard/entitlements", {
4079
+ method: "GET"
4080
+ });
4081
+ return client.parseWithSchema(
4082
+ raw,
4083
+ guardSessionResponseSchema,
4084
+ "guard entitlements response"
4085
+ );
4086
+ }
4087
+ async function getGuardBillingBalance(client) {
4088
+ const raw = await client.requestJson("/guard/billing/balance", {
4089
+ method: "GET"
4090
+ });
4091
+ return client.parseWithSchema(
4092
+ raw,
4093
+ guardBalanceResponseSchema,
4094
+ "guard billing balance response"
4095
+ );
4096
+ }
4097
+ async function getGuardTrustByHash(client, sha256) {
4098
+ const normalizedHash = sha256.trim();
4099
+ if (!normalizedHash) {
4100
+ throw new Error("sha256 is required");
4101
+ }
4102
+ const raw = await client.requestJson(
4103
+ `/guard/trust/by-hash/${encodeURIComponent(normalizedHash)}`,
4104
+ { method: "GET" }
4105
+ );
4106
+ return client.parseWithSchema(
4107
+ raw,
4108
+ guardTrustByHashResponseSchema,
4109
+ "guard trust by hash response"
4110
+ );
4111
+ }
4112
+ async function resolveGuardTrust(client, query) {
4113
+ const params = new URLSearchParams();
4114
+ if (query.ecosystem?.trim()) {
4115
+ params.set("ecosystem", query.ecosystem.trim());
4116
+ }
4117
+ if (query.name?.trim()) {
4118
+ params.set("name", query.name.trim());
4119
+ }
4120
+ if (query.version?.trim()) {
4121
+ params.set("version", query.version.trim());
4122
+ }
4123
+ const suffix = params.size > 0 ? `?${params.toString()}` : "";
4124
+ const raw = await client.requestJson(
4125
+ `/guard/trust/resolve${suffix}`,
4126
+ { method: "GET" }
4127
+ );
4128
+ return client.parseWithSchema(
4129
+ raw,
4130
+ guardTrustResolveResponseSchema,
4131
+ "guard trust resolve response"
4132
+ );
4133
+ }
4134
+ async function getGuardRevocations(client) {
4135
+ const raw = await client.requestJson("/guard/revocations", {
4136
+ method: "GET"
4137
+ });
4138
+ return client.parseWithSchema(
4139
+ raw,
4140
+ guardRevocationResponseSchema,
4141
+ "guard revocations response"
4142
+ );
4143
+ }
4144
+ async function getGuardInventory(client) {
4145
+ const raw = await client.requestJson("/guard/inventory", {
4146
+ method: "GET"
4147
+ });
4148
+ return client.parseWithSchema(
4149
+ raw,
4150
+ guardInventoryResponseSchema,
4151
+ "guard inventory response"
4152
+ );
4153
+ }
4154
+ async function getGuardReceiptHistory(client) {
4155
+ const raw = await client.requestJson("/guard/history", {
4156
+ method: "GET"
4157
+ });
4158
+ return client.parseWithSchema(
4159
+ raw,
4160
+ guardReceiptHistoryResponseSchema,
4161
+ "guard receipt history response"
4162
+ );
4163
+ }
4164
+ async function getGuardArtifactTimeline(client, artifactId) {
4165
+ const normalizedArtifactId = artifactId.trim();
4166
+ if (!normalizedArtifactId) {
4167
+ throw new Error("artifactId is required");
4168
+ }
4169
+ const raw = await client.requestJson(
4170
+ `/guard/history/${encodeURIComponent(normalizedArtifactId)}`,
4171
+ { method: "GET" }
4172
+ );
4173
+ return client.parseWithSchema(
4174
+ raw,
4175
+ guardArtifactTimelineResponseSchema,
4176
+ "guard artifact timeline response"
4177
+ );
4178
+ }
4179
+ async function exportGuardAbom(client) {
4180
+ const raw = await client.requestJson("/guard/abom", {
4181
+ method: "GET"
4182
+ });
4183
+ return client.parseWithSchema(
4184
+ raw,
4185
+ guardAbomResponseSchema,
4186
+ "guard abom response"
4187
+ );
4188
+ }
4189
+ async function exportGuardReceipts(client) {
4190
+ const raw = await client.requestJson("/guard/receipts/export", {
4191
+ method: "GET"
4192
+ });
4193
+ return client.parseWithSchema(
4194
+ raw,
4195
+ guardReceiptExportResponseSchema,
4196
+ "guard receipt export response"
4197
+ );
4198
+ }
4199
+ async function getGuardInventoryDiff(client) {
4200
+ const raw = await client.requestJson("/guard/inventory/diff", {
4201
+ method: "GET"
4202
+ });
4203
+ return client.parseWithSchema(
4204
+ raw,
4205
+ guardInventoryDiffResponseSchema,
4206
+ "guard inventory diff response"
4207
+ );
4208
+ }
4209
+ async function getGuardDevices(client) {
4210
+ const raw = await client.requestJson("/guard/devices", {
4211
+ method: "GET"
4212
+ });
4213
+ return client.parseWithSchema(
4214
+ raw,
4215
+ guardDeviceListResponseSchema,
4216
+ "guard devices response"
4217
+ );
4218
+ }
4219
+ async function getGuardAlertPreferences(client) {
4220
+ const raw = await client.requestJson("/guard/alerts/preferences", {
4221
+ method: "GET"
4222
+ });
4223
+ return client.parseWithSchema(
4224
+ raw,
4225
+ guardAlertPreferencesSchema,
4226
+ "guard alert preferences response"
4227
+ );
4228
+ }
4229
+ async function updateGuardAlertPreferences(client, payload) {
4230
+ const raw = await client.requestJson("/guard/alerts/preferences", {
4231
+ method: "PUT",
4232
+ body: payload
4233
+ });
4234
+ return client.parseWithSchema(
4235
+ raw,
4236
+ guardAlertPreferencesSchema,
4237
+ "guard alert preferences response"
4238
+ );
4239
+ }
4240
+ async function getGuardExceptions(client) {
4241
+ const raw = await client.requestJson("/guard/exceptions", {
4242
+ method: "GET"
4243
+ });
4244
+ return client.parseWithSchema(
4245
+ raw,
4246
+ guardExceptionListResponseSchema,
4247
+ "guard exceptions response"
4248
+ );
4249
+ }
4250
+ async function getGuardWatchlist(client) {
4251
+ const raw = await client.requestJson("/guard/watchlist", {
4252
+ method: "GET"
4253
+ });
4254
+ return client.parseWithSchema(
4255
+ raw,
4256
+ guardWatchlistResponseSchema,
4257
+ "guard watchlist response"
4258
+ );
4259
+ }
4260
+ async function addGuardWatchlistItem(client, payload) {
4261
+ const raw = await client.requestJson("/guard/watchlist", {
4262
+ method: "POST",
4263
+ body: payload
4264
+ });
4265
+ return client.parseWithSchema(
4266
+ raw,
4267
+ guardWatchlistResponseSchema,
4268
+ "guard watchlist response"
4269
+ );
4270
+ }
4271
+ async function removeGuardWatchlistItem(client, artifactId) {
4272
+ const normalizedArtifactId = artifactId.trim();
4273
+ if (!normalizedArtifactId) {
4274
+ throw new Error("artifactId is required");
4275
+ }
4276
+ const raw = await client.requestJson(
4277
+ `/guard/watchlist/${encodeURIComponent(normalizedArtifactId)}`,
4278
+ { method: "DELETE" }
4279
+ );
4280
+ return client.parseWithSchema(
4281
+ raw,
4282
+ guardWatchlistResponseSchema,
4283
+ "guard watchlist response"
4284
+ );
4285
+ }
4286
+ async function addGuardException(client, payload) {
4287
+ const raw = await client.requestJson("/guard/exceptions", {
4288
+ method: "POST",
4289
+ body: payload
4290
+ });
4291
+ return client.parseWithSchema(
4292
+ raw,
4293
+ guardExceptionListResponseSchema,
4294
+ "guard exceptions response"
4295
+ );
4296
+ }
4297
+ async function removeGuardException(client, exceptionId) {
4298
+ const normalizedExceptionId = exceptionId.trim();
4299
+ if (!normalizedExceptionId) {
4300
+ throw new Error("exceptionId is required");
4301
+ }
4302
+ const raw = await client.requestJson(
4303
+ `/guard/exceptions/${encodeURIComponent(normalizedExceptionId)}`,
4304
+ { method: "DELETE" }
4305
+ );
4306
+ return client.parseWithSchema(
4307
+ raw,
4308
+ guardExceptionListResponseSchema,
4309
+ "guard exceptions response"
4310
+ );
4311
+ }
4312
+ async function getGuardTeamPolicyPack(client) {
4313
+ const raw = await client.requestJson("/guard/team/policy-pack", {
4314
+ method: "GET"
4315
+ });
4316
+ return client.parseWithSchema(
4317
+ raw,
4318
+ guardTeamPolicyPackSchema,
4319
+ "guard team policy pack response"
4320
+ );
4321
+ }
4322
+ async function updateGuardTeamPolicyPack(client, payload) {
4323
+ const raw = await client.requestJson("/guard/team/policy-pack", {
4324
+ method: "PUT",
4325
+ body: payload
4326
+ });
4327
+ return client.parseWithSchema(
4328
+ raw,
4329
+ guardTeamPolicyPackSchema,
4330
+ "guard team policy pack response"
4331
+ );
4332
+ }
4333
+ async function syncGuardReceipts(client, payload) {
4334
+ const raw = await client.requestJson("/guard/receipts/sync", {
4335
+ method: "POST",
4336
+ body: payload
4337
+ });
4338
+ return client.parseWithSchema(
4339
+ raw,
4340
+ guardReceiptSyncResponseSchema,
4341
+ "guard receipt sync response"
4342
+ );
4343
+ }
4344
+
3669
4345
  // ../../src/services/registry-broker/client/ledger-auth.ts
3670
4346
  import { Buffer as Buffer4 } from "buffer";
3671
4347
 
@@ -4237,6 +4913,13 @@ async function facets(client, adapter) {
4237
4913
  }
4238
4914
 
4239
4915
  // ../../src/services/registry-broker/client/skills.ts
4916
+ function requireTrimmedString(value, fieldName) {
4917
+ const normalizedValue = value.trim();
4918
+ if (!normalizedValue) {
4919
+ throw new Error(`${fieldName} is required`);
4920
+ }
4921
+ return normalizedValue;
4922
+ }
4240
4923
  async function skillsConfig(client) {
4241
4924
  const raw = await client.requestJson("/skills/config", {
4242
4925
  method: "GET"
@@ -4296,10 +4979,7 @@ async function listSkills(client, params = {}) {
4296
4979
  );
4297
4980
  }
4298
4981
  async function getSkillSecurityBreakdown(client, params) {
4299
- const normalizedJobId = params.jobId.trim();
4300
- if (!normalizedJobId) {
4301
- throw new Error("jobId is required");
4302
- }
4982
+ const normalizedJobId = requireTrimmedString(params.jobId, "jobId");
4303
4983
  const raw = await client.requestJson(
4304
4984
  `/skills/${encodeURIComponent(normalizedJobId)}/security-breakdown`,
4305
4985
  { method: "GET" }
@@ -4352,10 +5032,7 @@ async function getSkillsCatalog(client, params = {}) {
4352
5032
  );
4353
5033
  }
4354
5034
  async function listSkillVersions(client, params) {
4355
- const normalizedName = params.name.trim();
4356
- if (!normalizedName) {
4357
- throw new Error("name is required");
4358
- }
5035
+ const normalizedName = requireTrimmedString(params.name, "name");
4359
5036
  const query = new URLSearchParams();
4360
5037
  query.set("name", normalizedName);
4361
5038
  const raw = await client.requestJson(
@@ -4441,10 +5118,7 @@ async function publishSkill(client, payload) {
4441
5118
  );
4442
5119
  }
4443
5120
  async function getSkillPublishJob(client, jobId, params = {}) {
4444
- const normalized = jobId.trim();
4445
- if (!normalized) {
4446
- throw new Error("jobId is required");
4447
- }
5121
+ const normalized = requireTrimmedString(jobId, "jobId");
4448
5122
  const query = new URLSearchParams();
4449
5123
  if (params.accountId) {
4450
5124
  query.set("accountId", params.accountId);
@@ -4461,10 +5135,7 @@ async function getSkillPublishJob(client, jobId, params = {}) {
4461
5135
  );
4462
5136
  }
4463
5137
  async function getSkillOwnership(client, params) {
4464
- const normalizedName = params.name.trim();
4465
- if (!normalizedName) {
4466
- throw new Error("name is required");
4467
- }
5138
+ const normalizedName = requireTrimmedString(params.name, "name");
4468
5139
  const query = new URLSearchParams();
4469
5140
  query.set("name", normalizedName);
4470
5141
  if (params.accountId) {
@@ -4483,10 +5154,7 @@ async function getSkillOwnership(client, params) {
4483
5154
  );
4484
5155
  }
4485
5156
  async function getRecommendedSkillVersion(client, params) {
4486
- const normalizedName = params.name.trim();
4487
- if (!normalizedName) {
4488
- throw new Error("name is required");
4489
- }
5157
+ const normalizedName = requireTrimmedString(params.name, "name");
4490
5158
  const query = new URLSearchParams();
4491
5159
  query.set("name", normalizedName);
4492
5160
  const raw = await client.requestJson(
@@ -4500,14 +5168,8 @@ async function getRecommendedSkillVersion(client, params) {
4500
5168
  );
4501
5169
  }
4502
5170
  async function setRecommendedSkillVersion(client, payload) {
4503
- const normalizedName = payload.name.trim();
4504
- const normalizedVersion = payload.version.trim();
4505
- if (!normalizedName) {
4506
- throw new Error("name is required");
4507
- }
4508
- if (!normalizedVersion) {
4509
- throw new Error("version is required");
4510
- }
5171
+ const normalizedName = requireTrimmedString(payload.name, "name");
5172
+ const normalizedVersion = requireTrimmedString(payload.version, "version");
4511
5173
  const raw = await client.requestJson("/skills/recommended", {
4512
5174
  method: "POST",
4513
5175
  body: {
@@ -4523,10 +5185,7 @@ async function setRecommendedSkillVersion(client, payload) {
4523
5185
  );
4524
5186
  }
4525
5187
  async function getSkillDeprecations(client, params) {
4526
- const normalizedName = params.name.trim();
4527
- if (!normalizedName) {
4528
- throw new Error("name is required");
4529
- }
5188
+ const normalizedName = requireTrimmedString(params.name, "name");
4530
5189
  const query = new URLSearchParams();
4531
5190
  query.set("name", normalizedName);
4532
5191
  const raw = await client.requestJson(
@@ -4540,15 +5199,9 @@ async function getSkillDeprecations(client, params) {
4540
5199
  );
4541
5200
  }
4542
5201
  async function setSkillDeprecation(client, payload) {
4543
- const normalizedName = payload.name.trim();
4544
- if (!normalizedName) {
4545
- throw new Error("name is required");
4546
- }
5202
+ const normalizedName = requireTrimmedString(payload.name, "name");
4547
5203
  const version = payload.version?.trim();
4548
- const reason = payload.reason.trim();
4549
- if (!reason) {
4550
- throw new Error("reason is required");
4551
- }
5204
+ const reason = requireTrimmedString(payload.reason, "reason");
4552
5205
  const replacementRef = payload.replacementRef?.trim();
4553
5206
  const raw = await client.requestJson("/skills/deprecate", {
4554
5207
  method: "POST",
@@ -4567,10 +5220,7 @@ async function setSkillDeprecation(client, payload) {
4567
5220
  );
4568
5221
  }
4569
5222
  async function getSkillBadge(client, params) {
4570
- const normalizedName = params.name.trim();
4571
- if (!normalizedName) {
4572
- throw new Error("name is required");
4573
- }
5223
+ const normalizedName = requireTrimmedString(params.name, "name");
4574
5224
  const query = new URLSearchParams();
4575
5225
  query.set("name", normalizedName);
4576
5226
  if (params.metric) {
@@ -4593,10 +5243,7 @@ async function getSkillBadge(client, params) {
4593
5243
  );
4594
5244
  }
4595
5245
  async function getSkillStatus(client, params) {
4596
- const normalizedName = params.name.trim();
4597
- if (!normalizedName) {
4598
- throw new Error("name is required");
4599
- }
5246
+ const normalizedName = requireTrimmedString(params.name, "name");
4600
5247
  const query = new URLSearchParams();
4601
5248
  query.set("name", normalizedName);
4602
5249
  if (params.version?.trim()) {
@@ -4613,14 +5260,8 @@ async function getSkillStatus(client, params) {
4613
5260
  );
4614
5261
  }
4615
5262
  async function getSkillStatusByRepo(client, params) {
4616
- const repo = params.repo.trim();
4617
- const skillDir = params.skillDir.trim();
4618
- if (!repo) {
4619
- throw new Error("repo is required");
4620
- }
4621
- if (!skillDir) {
4622
- throw new Error("skillDir is required");
4623
- }
5263
+ const repo = requireTrimmedString(params.repo, "repo");
5264
+ const skillDir = requireTrimmedString(params.skillDir, "skillDir");
4624
5265
  const query = new URLSearchParams();
4625
5266
  query.set("repo", repo);
4626
5267
  query.set("skillDir", skillDir);
@@ -4638,14 +5279,8 @@ async function getSkillStatusByRepo(client, params) {
4638
5279
  );
4639
5280
  }
4640
5281
  async function getSkillConversionSignalsByRepo(client, params) {
4641
- const repo = params.repo.trim();
4642
- const skillDir = params.skillDir.trim();
4643
- if (!repo) {
4644
- throw new Error("repo is required");
4645
- }
4646
- if (!skillDir) {
4647
- throw new Error("skillDir is required");
4648
- }
5282
+ const repo = requireTrimmedString(params.repo, "repo");
5283
+ const skillDir = requireTrimmedString(params.skillDir, "skillDir");
4649
5284
  const query = new URLSearchParams();
4650
5285
  query.set("repo", repo);
4651
5286
  query.set("skillDir", skillDir);
@@ -4663,10 +5298,7 @@ async function getSkillConversionSignalsByRepo(client, params) {
4663
5298
  );
4664
5299
  }
4665
5300
  async function uploadSkillPreviewFromGithubOidc(client, payload) {
4666
- const token = payload.token.trim();
4667
- if (!token) {
4668
- throw new Error("token is required");
4669
- }
5301
+ const token = requireTrimmedString(payload.token, "token");
4670
5302
  const raw = await client.requestJson(
4671
5303
  "/skills/preview/github-oidc",
4672
5304
  {
@@ -4685,10 +5317,7 @@ async function uploadSkillPreviewFromGithubOidc(client, payload) {
4685
5317
  );
4686
5318
  }
4687
5319
  async function getSkillPreview(client, params) {
4688
- const normalizedName = params.name.trim();
4689
- if (!normalizedName) {
4690
- throw new Error("name is required");
4691
- }
5320
+ const normalizedName = requireTrimmedString(params.name, "name");
4692
5321
  const query = new URLSearchParams();
4693
5322
  query.set("name", normalizedName);
4694
5323
  if (params.version?.trim()) {
@@ -4705,14 +5334,8 @@ async function getSkillPreview(client, params) {
4705
5334
  );
4706
5335
  }
4707
5336
  async function getSkillPreviewByRepo(client, params) {
4708
- const repo = params.repo.trim();
4709
- const skillDir = params.skillDir.trim();
4710
- if (!repo) {
4711
- throw new Error("repo is required");
4712
- }
4713
- if (!skillDir) {
4714
- throw new Error("skillDir is required");
4715
- }
5337
+ const repo = requireTrimmedString(params.repo, "repo");
5338
+ const skillDir = requireTrimmedString(params.skillDir, "skillDir");
4716
5339
  const query = new URLSearchParams();
4717
5340
  query.set("repo", repo);
4718
5341
  query.set("skillDir", skillDir);
@@ -4730,10 +5353,7 @@ async function getSkillPreviewByRepo(client, params) {
4730
5353
  );
4731
5354
  }
4732
5355
  async function getSkillPreviewById(client, previewId) {
4733
- const normalizedPreviewId = previewId.trim();
4734
- if (!normalizedPreviewId) {
4735
- throw new Error("previewId is required");
4736
- }
5356
+ const normalizedPreviewId = requireTrimmedString(previewId, "previewId");
4737
5357
  const raw = await client.requestJson(
4738
5358
  `/skills/preview/${encodeURIComponent(normalizedPreviewId)}`,
4739
5359
  { method: "GET" }
@@ -4745,10 +5365,7 @@ async function getSkillPreviewById(client, previewId) {
4745
5365
  );
4746
5366
  }
4747
5367
  async function getSkillInstall(client, skillRef) {
4748
- const normalizedSkillRef = skillRef.trim();
4749
- if (!normalizedSkillRef) {
4750
- throw new Error("skillRef is required");
4751
- }
5368
+ const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
4752
5369
  const raw = await client.requestJson(
4753
5370
  `/skills/${encodeURIComponent(normalizedSkillRef)}/install`,
4754
5371
  { method: "GET" }
@@ -4760,10 +5377,7 @@ async function getSkillInstall(client, skillRef) {
4760
5377
  );
4761
5378
  }
4762
5379
  async function recordSkillInstallCopy(client, skillRef, payload = {}) {
4763
- const normalizedSkillRef = skillRef.trim();
4764
- if (!normalizedSkillRef) {
4765
- throw new Error("skillRef is required");
4766
- }
5380
+ const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
4767
5381
  const raw = await client.requestJson(
4768
5382
  `/skills/${encodeURIComponent(normalizedSkillRef)}/telemetry/install-copy`,
4769
5383
  {
@@ -4799,10 +5413,7 @@ async function listSkillCategories(client) {
4799
5413
  );
4800
5414
  }
4801
5415
  async function resolveSkillMarkdown(client, skillRef) {
4802
- const normalizedSkillRef = skillRef.trim();
4803
- if (!normalizedSkillRef) {
4804
- throw new Error("skillRef is required");
4805
- }
5416
+ const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
4806
5417
  const response = await client.request(
4807
5418
  `/skills/${encodeURIComponent(normalizedSkillRef)}/SKILL.md`,
4808
5419
  {
@@ -4815,10 +5426,7 @@ async function resolveSkillMarkdown(client, skillRef) {
4815
5426
  return response.text();
4816
5427
  }
4817
5428
  async function resolveSkillManifest(client, skillRef) {
4818
- const normalizedSkillRef = skillRef.trim();
4819
- if (!normalizedSkillRef) {
4820
- throw new Error("skillRef is required");
4821
- }
5429
+ const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
4822
5430
  const raw = await client.requestJson(
4823
5431
  `/skills/${encodeURIComponent(normalizedSkillRef)}/manifest`,
4824
5432
  {
@@ -4832,10 +5440,7 @@ async function resolveSkillManifest(client, skillRef) {
4832
5440
  );
4833
5441
  }
4834
5442
  async function getSkillVoteStatus(client, params) {
4835
- const normalizedName = params.name.trim();
4836
- if (!normalizedName) {
4837
- throw new Error("name is required");
4838
- }
5443
+ const normalizedName = requireTrimmedString(params.name, "name");
4839
5444
  const query = new URLSearchParams();
4840
5445
  query.set("name", normalizedName);
4841
5446
  const raw = await client.requestJson(
@@ -4849,10 +5454,7 @@ async function getSkillVoteStatus(client, params) {
4849
5454
  );
4850
5455
  }
4851
5456
  async function setSkillVote(client, payload) {
4852
- const normalizedName = payload.name.trim();
4853
- if (!normalizedName) {
4854
- throw new Error("name is required");
4855
- }
5457
+ const normalizedName = requireTrimmedString(payload.name, "name");
4856
5458
  const raw = await client.requestJson("/skills/vote", {
4857
5459
  method: "POST",
4858
5460
  body: { name: normalizedName, upvoted: payload.upvoted },
@@ -4865,10 +5467,7 @@ async function setSkillVote(client, payload) {
4865
5467
  );
4866
5468
  }
4867
5469
  async function requestSkillVerification(client, payload) {
4868
- const normalizedName = payload.name.trim();
4869
- if (!normalizedName) {
4870
- throw new Error("name is required");
4871
- }
5470
+ const normalizedName = requireTrimmedString(payload.name, "name");
4872
5471
  const raw = await client.requestJson(
4873
5472
  "/skills/verification/request",
4874
5473
  {
@@ -4888,10 +5487,7 @@ async function requestSkillVerification(client, payload) {
4888
5487
  );
4889
5488
  }
4890
5489
  async function getSkillVerificationStatus(client, params) {
4891
- const normalizedName = params.name.trim();
4892
- if (!normalizedName) {
4893
- throw new Error("name is required");
4894
- }
5490
+ const normalizedName = requireTrimmedString(params.name, "name");
4895
5491
  const query = new URLSearchParams();
4896
5492
  query.set("name", normalizedName);
4897
5493
  if (params.version) {
@@ -4908,10 +5504,7 @@ async function getSkillVerificationStatus(client, params) {
4908
5504
  );
4909
5505
  }
4910
5506
  async function createSkillDomainProofChallenge(client, payload) {
4911
- const normalizedName = payload.name.trim();
4912
- if (!normalizedName) {
4913
- throw new Error("name is required");
4914
- }
5507
+ const normalizedName = requireTrimmedString(payload.name, "name");
4915
5508
  const raw = await client.requestJson(
4916
5509
  "/skills/verification/domain/challenge",
4917
5510
  {
@@ -4931,14 +5524,11 @@ async function createSkillDomainProofChallenge(client, payload) {
4931
5524
  );
4932
5525
  }
4933
5526
  async function verifySkillDomainProof(client, payload) {
4934
- const normalizedName = payload.name.trim();
4935
- const challengeToken = payload.challengeToken.trim();
4936
- if (!normalizedName) {
4937
- throw new Error("name is required");
4938
- }
4939
- if (!challengeToken) {
4940
- throw new Error("challengeToken is required");
4941
- }
5527
+ const normalizedName = requireTrimmedString(payload.name, "name");
5528
+ const challengeToken = requireTrimmedString(
5529
+ payload.challengeToken,
5530
+ "challengeToken"
5531
+ );
4942
5532
  const raw = await client.requestJson(
4943
5533
  "/skills/verification/domain/verify",
4944
5534
  {
@@ -5552,6 +6142,87 @@ var RegistryBrokerClient = class _RegistryBrokerClient {
5552
6142
  async dashboardStats() {
5553
6143
  return dashboardStats(this);
5554
6144
  }
6145
+ async getCreditsBalance(params = {}) {
6146
+ return getCreditsBalance(this, params);
6147
+ }
6148
+ async getCreditProviders() {
6149
+ return getCreditProviders(this);
6150
+ }
6151
+ async getGuardSession() {
6152
+ return getGuardSession(this);
6153
+ }
6154
+ async getGuardEntitlements() {
6155
+ return getGuardEntitlements(this);
6156
+ }
6157
+ async getGuardBillingBalance() {
6158
+ return getGuardBillingBalance(this);
6159
+ }
6160
+ async getGuardTrustByHash(sha256) {
6161
+ return getGuardTrustByHash(this, sha256);
6162
+ }
6163
+ async resolveGuardTrust(query) {
6164
+ return resolveGuardTrust(this, query);
6165
+ }
6166
+ async getGuardRevocations() {
6167
+ return getGuardRevocations(this);
6168
+ }
6169
+ async getGuardInventory() {
6170
+ return getGuardInventory(this);
6171
+ }
6172
+ async getGuardReceiptHistory() {
6173
+ return getGuardReceiptHistory(this);
6174
+ }
6175
+ async getGuardArtifactTimeline(artifactId) {
6176
+ return getGuardArtifactTimeline(this, artifactId);
6177
+ }
6178
+ async getGuardInventoryDiff() {
6179
+ return getGuardInventoryDiff(this);
6180
+ }
6181
+ async exportGuardAbom() {
6182
+ return exportGuardAbom(this);
6183
+ }
6184
+ async exportGuardReceipts() {
6185
+ return exportGuardReceipts(this);
6186
+ }
6187
+ async getGuardDevices() {
6188
+ return getGuardDevices(this);
6189
+ }
6190
+ async getGuardAlertPreferences() {
6191
+ return getGuardAlertPreferences(this);
6192
+ }
6193
+ async updateGuardAlertPreferences(payload) {
6194
+ return updateGuardAlertPreferences(this, payload);
6195
+ }
6196
+ async getGuardExceptions() {
6197
+ return getGuardExceptions(this);
6198
+ }
6199
+ async getGuardWatchlist() {
6200
+ return getGuardWatchlist(this);
6201
+ }
6202
+ async addGuardWatchlistItem(payload) {
6203
+ return addGuardWatchlistItem(this, payload);
6204
+ }
6205
+ async removeGuardWatchlistItem(artifactId) {
6206
+ return removeGuardWatchlistItem(this, artifactId);
6207
+ }
6208
+ async addGuardException(payload) {
6209
+ return addGuardException(this, payload);
6210
+ }
6211
+ async removeGuardException(exceptionId) {
6212
+ return removeGuardException(this, exceptionId);
6213
+ }
6214
+ async syncGuardReceipts(payload) {
6215
+ return syncGuardReceipts(this, payload);
6216
+ }
6217
+ async getGuardTeamPolicyPack() {
6218
+ return getGuardTeamPolicyPack(this);
6219
+ }
6220
+ async updateGuardTeamPolicyPack(payload) {
6221
+ return updateGuardTeamPolicyPack(this, payload);
6222
+ }
6223
+ async createHbarPurchaseIntent(payload) {
6224
+ return createHbarPurchaseIntent(this, payload);
6225
+ }
5555
6226
  async purchaseCreditsWithHbar(params) {
5556
6227
  return purchaseCreditsWithHbar(this, params);
5557
6228
  }