@hashgraphonline/standards-sdk 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/browser/hcs-11/client.d.ts +30 -30
- package/dist/browser/hcs-21/types.d.ts +23 -23
- package/dist/browser/inscribe/inscriber.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/base-client.d.ts +30 -1
- package/dist/browser/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/credits.d.ts +6 -1
- package/dist/browser/services/registry-broker/client/credits.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/client/guard.d.ts +27 -0
- package/dist/browser/services/registry-broker/client/guard.d.ts.map +1 -0
- package/dist/browser/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/schemas.d.ts +2079 -260
- package/dist/browser/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser/services/registry-broker/types.d.ts +89 -1
- package/dist/browser/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser/standards-sdk.browser.js +351 -6
- package/dist/browser/standards-sdk.browser.js.map +1 -1
- package/dist/browser/utils/dynamic-import.d.ts.map +1 -1
- package/dist/browser-root/hcs-11/client.d.ts +30 -30
- package/dist/browser-root/hcs-21/types.d.ts +23 -23
- package/dist/browser-root/inscribe/inscriber.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts +30 -1
- package/dist/browser-root/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/client/credits.d.ts +6 -1
- package/dist/browser-root/services/registry-broker/client/credits.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/client/guard.d.ts +27 -0
- package/dist/browser-root/services/registry-broker/client/guard.d.ts.map +1 -0
- package/dist/browser-root/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/schemas.d.ts +2079 -260
- package/dist/browser-root/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/browser-root/services/registry-broker/types.d.ts +89 -1
- package/dist/browser-root/services/registry-broker/types.d.ts.map +1 -1
- package/dist/browser-root/standards-sdk.root-browser.js +800 -131
- package/dist/browser-root/standards-sdk.root-browser.js.map +1 -1
- package/dist/browser-root/utils/dynamic-import.d.ts.map +1 -1
- package/dist/cjs/hcs-11/client.d.ts +30 -30
- package/dist/cjs/inscribe/inscriber.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts +30 -1
- package/dist/cjs/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/credits.d.ts +6 -1
- package/dist/cjs/services/registry-broker/client/credits.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/client/guard.d.ts +27 -0
- package/dist/cjs/services/registry-broker/client/guard.d.ts.map +1 -0
- package/dist/cjs/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/schemas.d.ts +1827 -8
- package/dist/cjs/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/cjs/services/registry-broker/types.d.ts +89 -1
- package/dist/cjs/services/registry-broker/types.d.ts.map +1 -1
- package/dist/cjs/standards-sdk.cjs +2 -2
- package/dist/cjs/standards-sdk.cjs.map +1 -1
- package/dist/cjs/utils/dynamic-import.d.ts.map +1 -1
- package/dist/es/hcs-11/client.d.ts +30 -30
- package/dist/es/inscribe/inscriber.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts +30 -1
- package/dist/es/services/registry-broker/client/base-client.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/credits.d.ts +6 -1
- package/dist/es/services/registry-broker/client/credits.d.ts.map +1 -1
- package/dist/es/services/registry-broker/client/guard.d.ts +27 -0
- package/dist/es/services/registry-broker/client/guard.d.ts.map +1 -0
- package/dist/es/services/registry-broker/client/skills.d.ts.map +1 -1
- package/dist/es/services/registry-broker/schemas.d.ts +1827 -8
- package/dist/es/services/registry-broker/schemas.d.ts.map +1 -1
- package/dist/es/services/registry-broker/types.d.ts +89 -1
- package/dist/es/services/registry-broker/types.d.ts.map +1 -1
- package/dist/es/standards-sdk.es116.js +1 -1
- package/dist/es/standards-sdk.es121.js +1 -1
- package/dist/es/standards-sdk.es127.js +1 -1
- package/dist/es/standards-sdk.es128.js +5 -5
- package/dist/es/standards-sdk.es138.js +1 -1
- package/dist/es/standards-sdk.es139.js +1 -1
- package/dist/es/standards-sdk.es140.js +5 -5
- package/dist/es/standards-sdk.es142.js +9 -6
- package/dist/es/standards-sdk.es142.js.map +1 -1
- package/dist/es/standards-sdk.es143.js +1 -1
- package/dist/es/standards-sdk.es145.js +89 -7
- package/dist/es/standards-sdk.es145.js.map +1 -1
- package/dist/es/standards-sdk.es147.js +2 -2
- package/dist/es/standards-sdk.es148.js +1 -1
- package/dist/es/standards-sdk.es16.js +1 -1
- package/dist/es/standards-sdk.es160.js +2147 -12461
- package/dist/es/standards-sdk.es160.js.map +1 -1
- package/dist/es/standards-sdk.es161.js +12461 -1773
- package/dist/es/standards-sdk.es161.js.map +1 -1
- package/dist/es/standards-sdk.es162.js +670 -15
- package/dist/es/standards-sdk.es162.js.map +1 -1
- package/dist/es/standards-sdk.es163.js +97 -158
- package/dist/es/standards-sdk.es163.js.map +1 -1
- package/dist/es/standards-sdk.es164.js +65 -314
- package/dist/es/standards-sdk.es164.js.map +1 -1
- package/dist/es/standards-sdk.es165.js +120 -294
- package/dist/es/standards-sdk.es165.js.map +1 -1
- package/dist/es/standards-sdk.es166.js +191 -322
- package/dist/es/standards-sdk.es166.js.map +1 -1
- package/dist/es/standards-sdk.es167.js +294 -279
- package/dist/es/standards-sdk.es167.js.map +1 -1
- package/dist/es/standards-sdk.es168.js +440 -63
- package/dist/es/standards-sdk.es168.js.map +1 -1
- package/dist/es/standards-sdk.es169.js +315 -742
- package/dist/es/standards-sdk.es169.js.map +1 -1
- package/dist/es/standards-sdk.es170.js +69 -49
- package/dist/es/standards-sdk.es170.js.map +1 -1
- package/dist/es/standards-sdk.es171.js +47 -95
- package/dist/es/standards-sdk.es171.js.map +1 -1
- package/dist/es/standards-sdk.es174.js +15 -71
- package/dist/es/standards-sdk.es174.js.map +1 -1
- package/dist/es/standards-sdk.es175.js +1 -1
- package/dist/es/standards-sdk.es176.js +2 -2
- package/dist/es/standards-sdk.es178.js +2 -2
- package/dist/es/standards-sdk.es179.js +2 -2
- package/dist/es/standards-sdk.es18.js +2 -2
- package/dist/es/standards-sdk.es180.js +1 -1
- package/dist/es/standards-sdk.es181.js +61 -3
- package/dist/es/standards-sdk.es181.js.map +1 -1
- package/dist/es/standards-sdk.es182.js +284 -167
- package/dist/es/standards-sdk.es182.js.map +1 -1
- package/dist/es/standards-sdk.es183.js +156 -206
- package/dist/es/standards-sdk.es183.js.map +1 -1
- package/dist/es/standards-sdk.es184.js +219 -223
- package/dist/es/standards-sdk.es184.js.map +1 -1
- package/dist/es/standards-sdk.es185.js +242 -0
- package/dist/es/standards-sdk.es185.js.map +1 -0
- package/dist/es/standards-sdk.es19.js +2 -2
- package/dist/es/standards-sdk.es27.js +2 -2
- package/dist/es/standards-sdk.es30.js +1 -1
- package/dist/es/standards-sdk.es31.js +1 -1
- package/dist/es/standards-sdk.es35.js +2 -2
- package/dist/es/standards-sdk.es36.js +1 -1
- package/dist/es/standards-sdk.es37.js +1 -1
- package/dist/es/standards-sdk.es56.js +1 -1
- package/dist/es/standards-sdk.es59.js +1 -1
- package/dist/es/standards-sdk.es60.js +1 -1
- package/dist/es/standards-sdk.es65.js +1 -1
- package/dist/es/standards-sdk.es66.js +1 -1
- package/dist/es/standards-sdk.es67.js +1 -1
- package/dist/es/standards-sdk.es69.js +1 -1
- package/dist/es/standards-sdk.es71.js +1 -1
- package/dist/es/standards-sdk.es72.js +1 -1
- package/dist/es/standards-sdk.es75.js +1 -1
- package/dist/es/standards-sdk.es84.js +1 -1
- package/dist/es/utils/dynamic-import.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -6813,6 +6813,339 @@ const creditPurchaseResponseSchema = objectType({
|
|
|
6813
6813
|
transactionId: stringType(),
|
|
6814
6814
|
consensusTimestamp: stringType().nullable().optional()
|
|
6815
6815
|
});
|
|
6816
|
+
const creditProviderSummarySchema = objectType({
|
|
6817
|
+
name: stringType(),
|
|
6818
|
+
publishableKey: stringType().optional(),
|
|
6819
|
+
currency: stringType().optional(),
|
|
6820
|
+
centsPerHbar: numberType().nullable().optional()
|
|
6821
|
+
});
|
|
6822
|
+
const creditProvidersResponseSchema = objectType({
|
|
6823
|
+
providers: arrayType(creditProviderSummarySchema)
|
|
6824
|
+
});
|
|
6825
|
+
const creditBalanceResponseSchema = objectType({
|
|
6826
|
+
accountId: stringType(),
|
|
6827
|
+
balance: numberType(),
|
|
6828
|
+
balanceRecord: jsonValueSchema.optional(),
|
|
6829
|
+
timestamp: stringType().optional()
|
|
6830
|
+
});
|
|
6831
|
+
const guardPlanIdSchema = enumType(["free", "pro", "team", "enterprise"]);
|
|
6832
|
+
const guardBucketBalanceSchema = objectType({
|
|
6833
|
+
bucketId: enumType([
|
|
6834
|
+
"registry_credits",
|
|
6835
|
+
"chat_credits",
|
|
6836
|
+
"guard_credits",
|
|
6837
|
+
"org_policy_credits"
|
|
6838
|
+
]),
|
|
6839
|
+
label: stringType(),
|
|
6840
|
+
availableCredits: numberType(),
|
|
6841
|
+
includedMonthlyCredits: numberType().nullable().optional()
|
|
6842
|
+
});
|
|
6843
|
+
const guardPrincipalSchema = objectType({
|
|
6844
|
+
signedIn: booleanType(),
|
|
6845
|
+
userId: stringType().optional(),
|
|
6846
|
+
email: stringType().optional(),
|
|
6847
|
+
accountId: stringType().optional(),
|
|
6848
|
+
stripeCustomerId: stringType().optional(),
|
|
6849
|
+
roles: arrayType(stringType())
|
|
6850
|
+
});
|
|
6851
|
+
const guardEntitlementsSchema = objectType({
|
|
6852
|
+
planId: guardPlanIdSchema,
|
|
6853
|
+
includedMonthlyCredits: numberType(),
|
|
6854
|
+
deviceLimit: numberType(),
|
|
6855
|
+
retentionDays: numberType(),
|
|
6856
|
+
syncEnabled: booleanType(),
|
|
6857
|
+
premiumFeedsEnabled: booleanType(),
|
|
6858
|
+
teamPolicyEnabled: booleanType()
|
|
6859
|
+
});
|
|
6860
|
+
const guardSessionResponseSchema = objectType({
|
|
6861
|
+
principal: guardPrincipalSchema,
|
|
6862
|
+
entitlements: guardEntitlementsSchema,
|
|
6863
|
+
balance: objectType({
|
|
6864
|
+
accountId: stringType(),
|
|
6865
|
+
availableCredits: numberType()
|
|
6866
|
+
}).nullable(),
|
|
6867
|
+
bucketingMode: enumType(["shared-ledger", "product-bucketed"]),
|
|
6868
|
+
buckets: arrayType(guardBucketBalanceSchema)
|
|
6869
|
+
});
|
|
6870
|
+
const guardBalanceResponseSchema = objectType({
|
|
6871
|
+
generatedAt: stringType(),
|
|
6872
|
+
bucketingMode: enumType(["shared-ledger", "product-bucketed"]),
|
|
6873
|
+
buckets: arrayType(guardBucketBalanceSchema)
|
|
6874
|
+
});
|
|
6875
|
+
const guardTrustMatchSchema = objectType({
|
|
6876
|
+
artifactId: stringType(),
|
|
6877
|
+
artifactName: stringType(),
|
|
6878
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
6879
|
+
artifactSlug: stringType(),
|
|
6880
|
+
recommendation: enumType(["monitor", "review", "block"]),
|
|
6881
|
+
verified: booleanType(),
|
|
6882
|
+
safetyScore: numberType().nullable().optional(),
|
|
6883
|
+
trustScore: numberType().nullable().optional(),
|
|
6884
|
+
href: stringType().optional(),
|
|
6885
|
+
ecosystem: stringType().optional()
|
|
6886
|
+
});
|
|
6887
|
+
const guardTrustByHashResponseSchema = objectType({
|
|
6888
|
+
generatedAt: stringType(),
|
|
6889
|
+
query: objectType({
|
|
6890
|
+
sha256: stringType()
|
|
6891
|
+
}),
|
|
6892
|
+
match: guardTrustMatchSchema.nullable(),
|
|
6893
|
+
evidence: arrayType(stringType())
|
|
6894
|
+
});
|
|
6895
|
+
const guardTrustResolveResponseSchema = objectType({
|
|
6896
|
+
generatedAt: stringType(),
|
|
6897
|
+
query: objectType({
|
|
6898
|
+
ecosystem: stringType().optional(),
|
|
6899
|
+
name: stringType().optional(),
|
|
6900
|
+
version: stringType().optional()
|
|
6901
|
+
}),
|
|
6902
|
+
items: arrayType(guardTrustMatchSchema)
|
|
6903
|
+
});
|
|
6904
|
+
const guardRevocationSchema = objectType({
|
|
6905
|
+
id: stringType(),
|
|
6906
|
+
artifactId: stringType(),
|
|
6907
|
+
artifactName: stringType(),
|
|
6908
|
+
reason: stringType(),
|
|
6909
|
+
severity: enumType(["low", "medium", "high"]),
|
|
6910
|
+
publishedAt: stringType()
|
|
6911
|
+
});
|
|
6912
|
+
const guardRevocationResponseSchema = objectType({
|
|
6913
|
+
generatedAt: stringType(),
|
|
6914
|
+
items: arrayType(guardRevocationSchema)
|
|
6915
|
+
});
|
|
6916
|
+
const guardReceiptSchema = objectType({
|
|
6917
|
+
receiptId: stringType(),
|
|
6918
|
+
capturedAt: stringType(),
|
|
6919
|
+
harness: stringType(),
|
|
6920
|
+
deviceId: stringType(),
|
|
6921
|
+
deviceName: stringType(),
|
|
6922
|
+
artifactId: stringType(),
|
|
6923
|
+
artifactName: stringType(),
|
|
6924
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
6925
|
+
artifactSlug: stringType(),
|
|
6926
|
+
artifactHash: stringType(),
|
|
6927
|
+
policyDecision: enumType([
|
|
6928
|
+
"allow",
|
|
6929
|
+
"warn",
|
|
6930
|
+
"block",
|
|
6931
|
+
"review",
|
|
6932
|
+
"require-reapproval",
|
|
6933
|
+
"sandbox-required"
|
|
6934
|
+
]),
|
|
6935
|
+
recommendation: enumType(["monitor", "review", "block"]),
|
|
6936
|
+
changedSinceLastApproval: booleanType(),
|
|
6937
|
+
publisher: stringType().optional(),
|
|
6938
|
+
capabilities: arrayType(stringType()),
|
|
6939
|
+
summary: stringType()
|
|
6940
|
+
});
|
|
6941
|
+
const guardHistoryArtifactSchema = objectType({
|
|
6942
|
+
artifactId: stringType(),
|
|
6943
|
+
artifactName: stringType(),
|
|
6944
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
6945
|
+
artifactSlug: stringType(),
|
|
6946
|
+
publisher: stringType().optional(),
|
|
6947
|
+
harnesses: arrayType(stringType()),
|
|
6948
|
+
eventCount: numberType(),
|
|
6949
|
+
firstSeenAt: stringType(),
|
|
6950
|
+
lastSeenAt: stringType(),
|
|
6951
|
+
latestDecision: enumType([
|
|
6952
|
+
"allow",
|
|
6953
|
+
"warn",
|
|
6954
|
+
"block",
|
|
6955
|
+
"review",
|
|
6956
|
+
"require-reapproval",
|
|
6957
|
+
"sandbox-required"
|
|
6958
|
+
]),
|
|
6959
|
+
latestRecommendation: enumType(["monitor", "review", "block"])
|
|
6960
|
+
});
|
|
6961
|
+
const guardReceiptHistoryResponseSchema = objectType({
|
|
6962
|
+
generatedAt: stringType(),
|
|
6963
|
+
artifacts: arrayType(guardHistoryArtifactSchema)
|
|
6964
|
+
});
|
|
6965
|
+
const guardInventoryArtifactSchema = objectType({
|
|
6966
|
+
artifactId: stringType(),
|
|
6967
|
+
artifactName: stringType(),
|
|
6968
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
6969
|
+
artifactSlug: stringType(),
|
|
6970
|
+
publisher: stringType().optional(),
|
|
6971
|
+
harnesses: arrayType(stringType()),
|
|
6972
|
+
devices: arrayType(stringType()),
|
|
6973
|
+
eventCount: numberType(),
|
|
6974
|
+
firstSeenAt: stringType(),
|
|
6975
|
+
lastSeenAt: stringType(),
|
|
6976
|
+
latestDecision: enumType([
|
|
6977
|
+
"allow",
|
|
6978
|
+
"warn",
|
|
6979
|
+
"block",
|
|
6980
|
+
"review",
|
|
6981
|
+
"require-reapproval",
|
|
6982
|
+
"sandbox-required"
|
|
6983
|
+
]),
|
|
6984
|
+
latestRecommendation: enumType(["monitor", "review", "block"]),
|
|
6985
|
+
latestHash: stringType(),
|
|
6986
|
+
latestSummary: stringType()
|
|
6987
|
+
});
|
|
6988
|
+
const guardInventoryDiffEntrySchema = objectType({
|
|
6989
|
+
artifactId: stringType(),
|
|
6990
|
+
artifactName: stringType(),
|
|
6991
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
6992
|
+
changeType: enumType(["new", "changed", "removed"]),
|
|
6993
|
+
previousHash: stringType().nullable(),
|
|
6994
|
+
currentHash: stringType().nullable()
|
|
6995
|
+
});
|
|
6996
|
+
const guardInventoryDiffResponseSchema = objectType({
|
|
6997
|
+
generatedAt: stringType(),
|
|
6998
|
+
items: arrayType(guardInventoryDiffEntrySchema)
|
|
6999
|
+
});
|
|
7000
|
+
const guardReceiptSyncResponseSchema = objectType({
|
|
7001
|
+
syncedAt: stringType(),
|
|
7002
|
+
receiptsStored: numberType(),
|
|
7003
|
+
inventoryStored: numberType().optional(),
|
|
7004
|
+
inventoryDiff: guardInventoryDiffResponseSchema.optional()
|
|
7005
|
+
});
|
|
7006
|
+
const guardInventoryResponseSchema = objectType({
|
|
7007
|
+
generatedAt: stringType(),
|
|
7008
|
+
items: arrayType(guardInventoryArtifactSchema)
|
|
7009
|
+
});
|
|
7010
|
+
const guardAbomSummarySchema = objectType({
|
|
7011
|
+
totalArtifacts: numberType(),
|
|
7012
|
+
totalDevices: numberType(),
|
|
7013
|
+
totalHarnesses: numberType(),
|
|
7014
|
+
blockedArtifacts: numberType(),
|
|
7015
|
+
reviewArtifacts: numberType()
|
|
7016
|
+
});
|
|
7017
|
+
const guardAbomResponseSchema = objectType({
|
|
7018
|
+
generatedAt: stringType(),
|
|
7019
|
+
summary: guardAbomSummarySchema,
|
|
7020
|
+
items: arrayType(guardInventoryArtifactSchema)
|
|
7021
|
+
});
|
|
7022
|
+
const guardTimelineEventSchema = objectType({
|
|
7023
|
+
receiptId: stringType(),
|
|
7024
|
+
capturedAt: stringType(),
|
|
7025
|
+
harness: stringType(),
|
|
7026
|
+
deviceId: stringType(),
|
|
7027
|
+
deviceName: stringType(),
|
|
7028
|
+
artifactHash: stringType(),
|
|
7029
|
+
policyDecision: enumType([
|
|
7030
|
+
"allow",
|
|
7031
|
+
"warn",
|
|
7032
|
+
"block",
|
|
7033
|
+
"review",
|
|
7034
|
+
"require-reapproval",
|
|
7035
|
+
"sandbox-required"
|
|
7036
|
+
]),
|
|
7037
|
+
recommendation: enumType(["monitor", "review", "block"]),
|
|
7038
|
+
changedSinceLastApproval: booleanType(),
|
|
7039
|
+
summary: stringType(),
|
|
7040
|
+
capabilities: arrayType(stringType()),
|
|
7041
|
+
publisher: stringType().optional()
|
|
7042
|
+
});
|
|
7043
|
+
const guardArtifactTimelineResponseSchema = objectType({
|
|
7044
|
+
generatedAt: stringType(),
|
|
7045
|
+
artifactId: stringType(),
|
|
7046
|
+
artifactName: stringType(),
|
|
7047
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
7048
|
+
artifactSlug: stringType(),
|
|
7049
|
+
events: arrayType(guardTimelineEventSchema)
|
|
7050
|
+
});
|
|
7051
|
+
const guardReceiptExportSummarySchema = objectType({
|
|
7052
|
+
totalReceipts: numberType(),
|
|
7053
|
+
blockedCount: numberType(),
|
|
7054
|
+
reviewCount: numberType(),
|
|
7055
|
+
approvedCount: numberType()
|
|
7056
|
+
});
|
|
7057
|
+
const guardExportSignatureSchema = objectType({
|
|
7058
|
+
algorithm: enumType(["hmac-sha256", "none"]),
|
|
7059
|
+
digest: stringType()
|
|
7060
|
+
});
|
|
7061
|
+
const guardReceiptExportResponseSchema = objectType({
|
|
7062
|
+
generatedAt: stringType(),
|
|
7063
|
+
summary: guardReceiptExportSummarySchema,
|
|
7064
|
+
provenanceSummary: arrayType(stringType()),
|
|
7065
|
+
items: arrayType(guardReceiptSchema),
|
|
7066
|
+
signature: guardExportSignatureSchema
|
|
7067
|
+
});
|
|
7068
|
+
const guardAlertPreferencesSchema = objectType({
|
|
7069
|
+
emailEnabled: booleanType(),
|
|
7070
|
+
digestMode: enumType(["immediate", "daily", "weekly"]),
|
|
7071
|
+
watchlistEnabled: booleanType(),
|
|
7072
|
+
advisoriesEnabled: booleanType(),
|
|
7073
|
+
repeatedWarningsEnabled: booleanType(),
|
|
7074
|
+
teamAlertsEnabled: booleanType(),
|
|
7075
|
+
updatedAt: stringType()
|
|
7076
|
+
});
|
|
7077
|
+
const guardWatchlistItemSchema = objectType({
|
|
7078
|
+
artifactId: stringType(),
|
|
7079
|
+
artifactName: stringType(),
|
|
7080
|
+
artifactType: enumType(["skill", "plugin"]),
|
|
7081
|
+
artifactSlug: stringType(),
|
|
7082
|
+
reason: stringType(),
|
|
7083
|
+
source: enumType(["manual", "synced", "team-policy"]),
|
|
7084
|
+
createdAt: stringType()
|
|
7085
|
+
});
|
|
7086
|
+
const guardWatchlistResponseSchema = objectType({
|
|
7087
|
+
generatedAt: stringType(),
|
|
7088
|
+
items: arrayType(guardWatchlistItemSchema)
|
|
7089
|
+
});
|
|
7090
|
+
const guardExceptionItemSchema = objectType({
|
|
7091
|
+
exceptionId: stringType(),
|
|
7092
|
+
scope: enumType(["artifact", "publisher", "harness", "global"]),
|
|
7093
|
+
harness: stringType().nullable(),
|
|
7094
|
+
artifactId: stringType().nullable(),
|
|
7095
|
+
publisher: stringType().nullable(),
|
|
7096
|
+
reason: stringType(),
|
|
7097
|
+
owner: stringType(),
|
|
7098
|
+
source: enumType(["manual", "team-policy"]),
|
|
7099
|
+
expiresAt: stringType(),
|
|
7100
|
+
createdAt: stringType(),
|
|
7101
|
+
updatedAt: stringType()
|
|
7102
|
+
});
|
|
7103
|
+
const guardExceptionListResponseSchema = objectType({
|
|
7104
|
+
generatedAt: stringType(),
|
|
7105
|
+
items: arrayType(guardExceptionItemSchema)
|
|
7106
|
+
});
|
|
7107
|
+
const guardTeamPolicyAuditItemSchema = objectType({
|
|
7108
|
+
changedAt: stringType(),
|
|
7109
|
+
actor: stringType(),
|
|
7110
|
+
change: enumType(["created", "updated"]),
|
|
7111
|
+
summary: stringType()
|
|
7112
|
+
});
|
|
7113
|
+
const guardTeamPolicyPackSchema = objectType({
|
|
7114
|
+
name: stringType(),
|
|
7115
|
+
sharedHarnessDefaults: recordType(stringType(), enumType(["observe", "prompt", "enforce"])),
|
|
7116
|
+
allowedPublishers: arrayType(stringType()),
|
|
7117
|
+
blockedArtifacts: arrayType(stringType()),
|
|
7118
|
+
alertChannel: enumType(["email", "slack", "teams", "webhook"]),
|
|
7119
|
+
updatedAt: stringType(),
|
|
7120
|
+
auditTrail: arrayType(guardTeamPolicyAuditItemSchema)
|
|
7121
|
+
});
|
|
7122
|
+
const guardDeviceSchema = objectType({
|
|
7123
|
+
deviceId: stringType(),
|
|
7124
|
+
deviceName: stringType(),
|
|
7125
|
+
harnesses: arrayType(stringType()),
|
|
7126
|
+
receiptCount: numberType(),
|
|
7127
|
+
lastSeenAt: stringType()
|
|
7128
|
+
});
|
|
7129
|
+
const guardDeviceListResponseSchema = objectType({
|
|
7130
|
+
generatedAt: stringType(),
|
|
7131
|
+
items: arrayType(guardDeviceSchema)
|
|
7132
|
+
});
|
|
7133
|
+
const hbarPurchaseIntentResponseSchema = objectType({
|
|
7134
|
+
transaction: stringType(),
|
|
7135
|
+
transactionId: stringType(),
|
|
7136
|
+
network: enumType(["mainnet", "testnet"]),
|
|
7137
|
+
accountId: stringType(),
|
|
7138
|
+
treasuryAccountId: stringType(),
|
|
7139
|
+
hbarAmount: numberType(),
|
|
7140
|
+
credits: numberType(),
|
|
7141
|
+
tinybarAmount: numberType(),
|
|
7142
|
+
memo: stringType(),
|
|
7143
|
+
centsPerHbar: numberType(),
|
|
7144
|
+
validStart: stringType(),
|
|
7145
|
+
validDurationSeconds: numberType(),
|
|
7146
|
+
requiresManualSubmit: literalType(true),
|
|
7147
|
+
purchaseId: stringType()
|
|
7148
|
+
});
|
|
6816
7149
|
const x402SettlementSchema = objectType({
|
|
6817
7150
|
success: booleanType().optional(),
|
|
6818
7151
|
transaction: stringType().optional(),
|
|
@@ -7195,11 +7528,13 @@ const skillDeprecationsResponseSchema = objectType({
|
|
|
7195
7528
|
name: stringType(),
|
|
7196
7529
|
items: arrayType(skillDeprecationRecordSchema)
|
|
7197
7530
|
}).passthrough();
|
|
7531
|
+
const skillSecurityBreakdownFindingSchema = recordType(jsonValueSchema);
|
|
7532
|
+
const skillSecurityBreakdownSummarySchema = recordType(jsonValueSchema);
|
|
7198
7533
|
const skillSecurityBreakdownResponseSchema = objectType({
|
|
7199
7534
|
jobId: stringType(),
|
|
7200
7535
|
score: numberType().nullable().optional(),
|
|
7201
|
-
findings: arrayType(
|
|
7202
|
-
summary:
|
|
7536
|
+
findings: arrayType(skillSecurityBreakdownFindingSchema).optional(),
|
|
7537
|
+
summary: skillSecurityBreakdownSummarySchema.optional(),
|
|
7203
7538
|
generatedAt: stringType().nullable().optional(),
|
|
7204
7539
|
scannerVersion: stringType().nullable().optional()
|
|
7205
7540
|
}).passthrough();
|
|
@@ -8646,9 +8981,16 @@ async function endSession(client, sessionId) {
|
|
|
8646
8981
|
const isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
8647
8982
|
let nodeRequire;
|
|
8648
8983
|
const isNodeRuntime = () => typeof process !== "undefined" && Boolean(process.versions?.node);
|
|
8984
|
+
function resolveBuiltinModuleLoader() {
|
|
8985
|
+
if (typeof process === "undefined") {
|
|
8986
|
+
return void 0;
|
|
8987
|
+
}
|
|
8988
|
+
return process.getBuiltinModule;
|
|
8989
|
+
}
|
|
8649
8990
|
function getNodeRequireSync() {
|
|
8650
8991
|
try {
|
|
8651
|
-
const
|
|
8992
|
+
const builtinModuleLoader = resolveBuiltinModuleLoader();
|
|
8993
|
+
const moduleNamespace = builtinModuleLoader?.("module");
|
|
8652
8994
|
if (typeof moduleNamespace?.createRequire === "function") {
|
|
8653
8995
|
const requireFromModule = moduleNamespace.createRequire(import.meta.url);
|
|
8654
8996
|
if (typeof requireFromModule.resolve === "function") {
|
|
@@ -9041,6 +9383,61 @@ async function adapterRegistrySubmissionStatus(client, submissionId) {
|
|
|
9041
9383
|
"adapter registry submission status response"
|
|
9042
9384
|
);
|
|
9043
9385
|
}
|
|
9386
|
+
async function getCreditsBalance(client, params = {}) {
|
|
9387
|
+
const query = new URLSearchParams();
|
|
9388
|
+
const normalizedAccountId = params.accountId?.trim();
|
|
9389
|
+
if (normalizedAccountId) {
|
|
9390
|
+
query.set("accountId", normalizedAccountId);
|
|
9391
|
+
}
|
|
9392
|
+
const suffix = query.size > 0 ? `?${query.toString()}` : "";
|
|
9393
|
+
const raw = await client.requestJson(`/credits/balance${suffix}`, {
|
|
9394
|
+
method: "GET"
|
|
9395
|
+
});
|
|
9396
|
+
return client.parseWithSchema(
|
|
9397
|
+
raw,
|
|
9398
|
+
creditBalanceResponseSchema,
|
|
9399
|
+
"credit balance response"
|
|
9400
|
+
);
|
|
9401
|
+
}
|
|
9402
|
+
async function getCreditProviders(client) {
|
|
9403
|
+
const raw = await client.requestJson("/credits/providers", {
|
|
9404
|
+
method: "GET"
|
|
9405
|
+
});
|
|
9406
|
+
return client.parseWithSchema(
|
|
9407
|
+
raw,
|
|
9408
|
+
creditProvidersResponseSchema,
|
|
9409
|
+
"credit providers response"
|
|
9410
|
+
);
|
|
9411
|
+
}
|
|
9412
|
+
async function createHbarPurchaseIntent(client, payload) {
|
|
9413
|
+
const body = {};
|
|
9414
|
+
const normalizedAccountId = payload.accountId?.trim();
|
|
9415
|
+
if (normalizedAccountId) {
|
|
9416
|
+
body.accountId = normalizedAccountId;
|
|
9417
|
+
}
|
|
9418
|
+
if (payload.credits !== void 0) {
|
|
9419
|
+
body.credits = payload.credits;
|
|
9420
|
+
}
|
|
9421
|
+
if (payload.hbarAmount !== void 0) {
|
|
9422
|
+
body.hbarAmount = payload.hbarAmount;
|
|
9423
|
+
}
|
|
9424
|
+
if (payload.memo?.trim()) {
|
|
9425
|
+
body.memo = payload.memo.trim();
|
|
9426
|
+
}
|
|
9427
|
+
const raw = await client.requestJson(
|
|
9428
|
+
"/credits/payments/hbar/intent",
|
|
9429
|
+
{
|
|
9430
|
+
method: "POST",
|
|
9431
|
+
headers: { "content-type": "application/json" },
|
|
9432
|
+
body
|
|
9433
|
+
}
|
|
9434
|
+
);
|
|
9435
|
+
return client.parseWithSchema(
|
|
9436
|
+
raw,
|
|
9437
|
+
hbarPurchaseIntentResponseSchema,
|
|
9438
|
+
"hbar purchase intent response"
|
|
9439
|
+
);
|
|
9440
|
+
}
|
|
9044
9441
|
async function loadX402Dependencies(client) {
|
|
9045
9442
|
const [{ default: axios2 }, x402Axios, x402Types] = await Promise.all([
|
|
9046
9443
|
Promise.resolve().then(() => index$1),
|
|
@@ -9561,6 +9958,283 @@ async function registerOwnedMoltbookAgent(client, uaid, request) {
|
|
|
9561
9958
|
"moltbook owner registration update response"
|
|
9562
9959
|
);
|
|
9563
9960
|
}
|
|
9961
|
+
async function getGuardSession(client) {
|
|
9962
|
+
const raw = await client.requestJson("/guard/auth/session", {
|
|
9963
|
+
method: "GET"
|
|
9964
|
+
});
|
|
9965
|
+
return client.parseWithSchema(
|
|
9966
|
+
raw,
|
|
9967
|
+
guardSessionResponseSchema,
|
|
9968
|
+
"guard session response"
|
|
9969
|
+
);
|
|
9970
|
+
}
|
|
9971
|
+
async function getGuardEntitlements(client) {
|
|
9972
|
+
const raw = await client.requestJson("/guard/entitlements", {
|
|
9973
|
+
method: "GET"
|
|
9974
|
+
});
|
|
9975
|
+
return client.parseWithSchema(
|
|
9976
|
+
raw,
|
|
9977
|
+
guardSessionResponseSchema,
|
|
9978
|
+
"guard entitlements response"
|
|
9979
|
+
);
|
|
9980
|
+
}
|
|
9981
|
+
async function getGuardBillingBalance(client) {
|
|
9982
|
+
const raw = await client.requestJson("/guard/billing/balance", {
|
|
9983
|
+
method: "GET"
|
|
9984
|
+
});
|
|
9985
|
+
return client.parseWithSchema(
|
|
9986
|
+
raw,
|
|
9987
|
+
guardBalanceResponseSchema,
|
|
9988
|
+
"guard billing balance response"
|
|
9989
|
+
);
|
|
9990
|
+
}
|
|
9991
|
+
async function getGuardTrustByHash(client, sha2562) {
|
|
9992
|
+
const normalizedHash = sha2562.trim();
|
|
9993
|
+
if (!normalizedHash) {
|
|
9994
|
+
throw new Error("sha256 is required");
|
|
9995
|
+
}
|
|
9996
|
+
const raw = await client.requestJson(
|
|
9997
|
+
`/guard/trust/by-hash/${encodeURIComponent(normalizedHash)}`,
|
|
9998
|
+
{ method: "GET" }
|
|
9999
|
+
);
|
|
10000
|
+
return client.parseWithSchema(
|
|
10001
|
+
raw,
|
|
10002
|
+
guardTrustByHashResponseSchema,
|
|
10003
|
+
"guard trust by hash response"
|
|
10004
|
+
);
|
|
10005
|
+
}
|
|
10006
|
+
async function resolveGuardTrust(client, query) {
|
|
10007
|
+
const params = new URLSearchParams();
|
|
10008
|
+
if (query.ecosystem?.trim()) {
|
|
10009
|
+
params.set("ecosystem", query.ecosystem.trim());
|
|
10010
|
+
}
|
|
10011
|
+
if (query.name?.trim()) {
|
|
10012
|
+
params.set("name", query.name.trim());
|
|
10013
|
+
}
|
|
10014
|
+
if (query.version?.trim()) {
|
|
10015
|
+
params.set("version", query.version.trim());
|
|
10016
|
+
}
|
|
10017
|
+
const suffix = params.size > 0 ? `?${params.toString()}` : "";
|
|
10018
|
+
const raw = await client.requestJson(
|
|
10019
|
+
`/guard/trust/resolve${suffix}`,
|
|
10020
|
+
{ method: "GET" }
|
|
10021
|
+
);
|
|
10022
|
+
return client.parseWithSchema(
|
|
10023
|
+
raw,
|
|
10024
|
+
guardTrustResolveResponseSchema,
|
|
10025
|
+
"guard trust resolve response"
|
|
10026
|
+
);
|
|
10027
|
+
}
|
|
10028
|
+
async function getGuardRevocations(client) {
|
|
10029
|
+
const raw = await client.requestJson("/guard/revocations", {
|
|
10030
|
+
method: "GET"
|
|
10031
|
+
});
|
|
10032
|
+
return client.parseWithSchema(
|
|
10033
|
+
raw,
|
|
10034
|
+
guardRevocationResponseSchema,
|
|
10035
|
+
"guard revocations response"
|
|
10036
|
+
);
|
|
10037
|
+
}
|
|
10038
|
+
async function getGuardInventory(client) {
|
|
10039
|
+
const raw = await client.requestJson("/guard/inventory", {
|
|
10040
|
+
method: "GET"
|
|
10041
|
+
});
|
|
10042
|
+
return client.parseWithSchema(
|
|
10043
|
+
raw,
|
|
10044
|
+
guardInventoryResponseSchema,
|
|
10045
|
+
"guard inventory response"
|
|
10046
|
+
);
|
|
10047
|
+
}
|
|
10048
|
+
async function getGuardReceiptHistory(client) {
|
|
10049
|
+
const raw = await client.requestJson("/guard/history", {
|
|
10050
|
+
method: "GET"
|
|
10051
|
+
});
|
|
10052
|
+
return client.parseWithSchema(
|
|
10053
|
+
raw,
|
|
10054
|
+
guardReceiptHistoryResponseSchema,
|
|
10055
|
+
"guard receipt history response"
|
|
10056
|
+
);
|
|
10057
|
+
}
|
|
10058
|
+
async function getGuardArtifactTimeline(client, artifactId) {
|
|
10059
|
+
const normalizedArtifactId = artifactId.trim();
|
|
10060
|
+
if (!normalizedArtifactId) {
|
|
10061
|
+
throw new Error("artifactId is required");
|
|
10062
|
+
}
|
|
10063
|
+
const raw = await client.requestJson(
|
|
10064
|
+
`/guard/history/${encodeURIComponent(normalizedArtifactId)}`,
|
|
10065
|
+
{ method: "GET" }
|
|
10066
|
+
);
|
|
10067
|
+
return client.parseWithSchema(
|
|
10068
|
+
raw,
|
|
10069
|
+
guardArtifactTimelineResponseSchema,
|
|
10070
|
+
"guard artifact timeline response"
|
|
10071
|
+
);
|
|
10072
|
+
}
|
|
10073
|
+
async function exportGuardAbom(client) {
|
|
10074
|
+
const raw = await client.requestJson("/guard/abom", {
|
|
10075
|
+
method: "GET"
|
|
10076
|
+
});
|
|
10077
|
+
return client.parseWithSchema(
|
|
10078
|
+
raw,
|
|
10079
|
+
guardAbomResponseSchema,
|
|
10080
|
+
"guard abom response"
|
|
10081
|
+
);
|
|
10082
|
+
}
|
|
10083
|
+
async function exportGuardReceipts(client) {
|
|
10084
|
+
const raw = await client.requestJson("/guard/receipts/export", {
|
|
10085
|
+
method: "GET"
|
|
10086
|
+
});
|
|
10087
|
+
return client.parseWithSchema(
|
|
10088
|
+
raw,
|
|
10089
|
+
guardReceiptExportResponseSchema,
|
|
10090
|
+
"guard receipt export response"
|
|
10091
|
+
);
|
|
10092
|
+
}
|
|
10093
|
+
async function getGuardInventoryDiff(client) {
|
|
10094
|
+
const raw = await client.requestJson("/guard/inventory/diff", {
|
|
10095
|
+
method: "GET"
|
|
10096
|
+
});
|
|
10097
|
+
return client.parseWithSchema(
|
|
10098
|
+
raw,
|
|
10099
|
+
guardInventoryDiffResponseSchema,
|
|
10100
|
+
"guard inventory diff response"
|
|
10101
|
+
);
|
|
10102
|
+
}
|
|
10103
|
+
async function getGuardDevices(client) {
|
|
10104
|
+
const raw = await client.requestJson("/guard/devices", {
|
|
10105
|
+
method: "GET"
|
|
10106
|
+
});
|
|
10107
|
+
return client.parseWithSchema(
|
|
10108
|
+
raw,
|
|
10109
|
+
guardDeviceListResponseSchema,
|
|
10110
|
+
"guard devices response"
|
|
10111
|
+
);
|
|
10112
|
+
}
|
|
10113
|
+
async function getGuardAlertPreferences(client) {
|
|
10114
|
+
const raw = await client.requestJson("/guard/alerts/preferences", {
|
|
10115
|
+
method: "GET"
|
|
10116
|
+
});
|
|
10117
|
+
return client.parseWithSchema(
|
|
10118
|
+
raw,
|
|
10119
|
+
guardAlertPreferencesSchema,
|
|
10120
|
+
"guard alert preferences response"
|
|
10121
|
+
);
|
|
10122
|
+
}
|
|
10123
|
+
async function updateGuardAlertPreferences(client, payload) {
|
|
10124
|
+
const raw = await client.requestJson("/guard/alerts/preferences", {
|
|
10125
|
+
method: "PUT",
|
|
10126
|
+
body: payload
|
|
10127
|
+
});
|
|
10128
|
+
return client.parseWithSchema(
|
|
10129
|
+
raw,
|
|
10130
|
+
guardAlertPreferencesSchema,
|
|
10131
|
+
"guard alert preferences response"
|
|
10132
|
+
);
|
|
10133
|
+
}
|
|
10134
|
+
async function getGuardExceptions(client) {
|
|
10135
|
+
const raw = await client.requestJson("/guard/exceptions", {
|
|
10136
|
+
method: "GET"
|
|
10137
|
+
});
|
|
10138
|
+
return client.parseWithSchema(
|
|
10139
|
+
raw,
|
|
10140
|
+
guardExceptionListResponseSchema,
|
|
10141
|
+
"guard exceptions response"
|
|
10142
|
+
);
|
|
10143
|
+
}
|
|
10144
|
+
async function getGuardWatchlist(client) {
|
|
10145
|
+
const raw = await client.requestJson("/guard/watchlist", {
|
|
10146
|
+
method: "GET"
|
|
10147
|
+
});
|
|
10148
|
+
return client.parseWithSchema(
|
|
10149
|
+
raw,
|
|
10150
|
+
guardWatchlistResponseSchema,
|
|
10151
|
+
"guard watchlist response"
|
|
10152
|
+
);
|
|
10153
|
+
}
|
|
10154
|
+
async function addGuardWatchlistItem(client, payload) {
|
|
10155
|
+
const raw = await client.requestJson("/guard/watchlist", {
|
|
10156
|
+
method: "POST",
|
|
10157
|
+
body: payload
|
|
10158
|
+
});
|
|
10159
|
+
return client.parseWithSchema(
|
|
10160
|
+
raw,
|
|
10161
|
+
guardWatchlistResponseSchema,
|
|
10162
|
+
"guard watchlist response"
|
|
10163
|
+
);
|
|
10164
|
+
}
|
|
10165
|
+
async function removeGuardWatchlistItem(client, artifactId) {
|
|
10166
|
+
const normalizedArtifactId = artifactId.trim();
|
|
10167
|
+
if (!normalizedArtifactId) {
|
|
10168
|
+
throw new Error("artifactId is required");
|
|
10169
|
+
}
|
|
10170
|
+
const raw = await client.requestJson(
|
|
10171
|
+
`/guard/watchlist/${encodeURIComponent(normalizedArtifactId)}`,
|
|
10172
|
+
{ method: "DELETE" }
|
|
10173
|
+
);
|
|
10174
|
+
return client.parseWithSchema(
|
|
10175
|
+
raw,
|
|
10176
|
+
guardWatchlistResponseSchema,
|
|
10177
|
+
"guard watchlist response"
|
|
10178
|
+
);
|
|
10179
|
+
}
|
|
10180
|
+
async function addGuardException(client, payload) {
|
|
10181
|
+
const raw = await client.requestJson("/guard/exceptions", {
|
|
10182
|
+
method: "POST",
|
|
10183
|
+
body: payload
|
|
10184
|
+
});
|
|
10185
|
+
return client.parseWithSchema(
|
|
10186
|
+
raw,
|
|
10187
|
+
guardExceptionListResponseSchema,
|
|
10188
|
+
"guard exceptions response"
|
|
10189
|
+
);
|
|
10190
|
+
}
|
|
10191
|
+
async function removeGuardException(client, exceptionId) {
|
|
10192
|
+
const normalizedExceptionId = exceptionId.trim();
|
|
10193
|
+
if (!normalizedExceptionId) {
|
|
10194
|
+
throw new Error("exceptionId is required");
|
|
10195
|
+
}
|
|
10196
|
+
const raw = await client.requestJson(
|
|
10197
|
+
`/guard/exceptions/${encodeURIComponent(normalizedExceptionId)}`,
|
|
10198
|
+
{ method: "DELETE" }
|
|
10199
|
+
);
|
|
10200
|
+
return client.parseWithSchema(
|
|
10201
|
+
raw,
|
|
10202
|
+
guardExceptionListResponseSchema,
|
|
10203
|
+
"guard exceptions response"
|
|
10204
|
+
);
|
|
10205
|
+
}
|
|
10206
|
+
async function getGuardTeamPolicyPack(client) {
|
|
10207
|
+
const raw = await client.requestJson("/guard/team/policy-pack", {
|
|
10208
|
+
method: "GET"
|
|
10209
|
+
});
|
|
10210
|
+
return client.parseWithSchema(
|
|
10211
|
+
raw,
|
|
10212
|
+
guardTeamPolicyPackSchema,
|
|
10213
|
+
"guard team policy pack response"
|
|
10214
|
+
);
|
|
10215
|
+
}
|
|
10216
|
+
async function updateGuardTeamPolicyPack(client, payload) {
|
|
10217
|
+
const raw = await client.requestJson("/guard/team/policy-pack", {
|
|
10218
|
+
method: "PUT",
|
|
10219
|
+
body: payload
|
|
10220
|
+
});
|
|
10221
|
+
return client.parseWithSchema(
|
|
10222
|
+
raw,
|
|
10223
|
+
guardTeamPolicyPackSchema,
|
|
10224
|
+
"guard team policy pack response"
|
|
10225
|
+
);
|
|
10226
|
+
}
|
|
10227
|
+
async function syncGuardReceipts(client, payload) {
|
|
10228
|
+
const raw = await client.requestJson("/guard/receipts/sync", {
|
|
10229
|
+
method: "POST",
|
|
10230
|
+
body: payload
|
|
10231
|
+
});
|
|
10232
|
+
return client.parseWithSchema(
|
|
10233
|
+
raw,
|
|
10234
|
+
guardReceiptSyncResponseSchema,
|
|
10235
|
+
"guard receipt sync response"
|
|
10236
|
+
);
|
|
10237
|
+
}
|
|
9564
10238
|
const normalise = (value) => value.trim().toLowerCase();
|
|
9565
10239
|
const HEDERA_NETWORK_ALIASES = /* @__PURE__ */ new Map([
|
|
9566
10240
|
["hedera:mainnet", { canonical: "hedera:mainnet", hederaNetwork: "mainnet" }],
|
|
@@ -10120,6 +10794,13 @@ async function facets(client, adapter) {
|
|
|
10120
10794
|
"search facets response"
|
|
10121
10795
|
);
|
|
10122
10796
|
}
|
|
10797
|
+
function requireTrimmedString(value, fieldName) {
|
|
10798
|
+
const normalizedValue = value.trim();
|
|
10799
|
+
if (!normalizedValue) {
|
|
10800
|
+
throw new Error(`${fieldName} is required`);
|
|
10801
|
+
}
|
|
10802
|
+
return normalizedValue;
|
|
10803
|
+
}
|
|
10123
10804
|
async function skillsConfig(client) {
|
|
10124
10805
|
const raw = await client.requestJson("/skills/config", {
|
|
10125
10806
|
method: "GET"
|
|
@@ -10179,10 +10860,7 @@ async function listSkills(client, params = {}) {
|
|
|
10179
10860
|
);
|
|
10180
10861
|
}
|
|
10181
10862
|
async function getSkillSecurityBreakdown(client, params) {
|
|
10182
|
-
const normalizedJobId = params.jobId
|
|
10183
|
-
if (!normalizedJobId) {
|
|
10184
|
-
throw new Error("jobId is required");
|
|
10185
|
-
}
|
|
10863
|
+
const normalizedJobId = requireTrimmedString(params.jobId, "jobId");
|
|
10186
10864
|
const raw = await client.requestJson(
|
|
10187
10865
|
`/skills/${encodeURIComponent(normalizedJobId)}/security-breakdown`,
|
|
10188
10866
|
{ method: "GET" }
|
|
@@ -10235,10 +10913,7 @@ async function getSkillsCatalog(client, params = {}) {
|
|
|
10235
10913
|
);
|
|
10236
10914
|
}
|
|
10237
10915
|
async function listSkillVersions(client, params) {
|
|
10238
|
-
const normalizedName = params.name
|
|
10239
|
-
if (!normalizedName) {
|
|
10240
|
-
throw new Error("name is required");
|
|
10241
|
-
}
|
|
10916
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10242
10917
|
const query = new URLSearchParams();
|
|
10243
10918
|
query.set("name", normalizedName);
|
|
10244
10919
|
const raw = await client.requestJson(
|
|
@@ -10324,10 +10999,7 @@ async function publishSkill(client, payload) {
|
|
|
10324
10999
|
);
|
|
10325
11000
|
}
|
|
10326
11001
|
async function getSkillPublishJob(client, jobId, params = {}) {
|
|
10327
|
-
const normalized = jobId
|
|
10328
|
-
if (!normalized) {
|
|
10329
|
-
throw new Error("jobId is required");
|
|
10330
|
-
}
|
|
11002
|
+
const normalized = requireTrimmedString(jobId, "jobId");
|
|
10331
11003
|
const query = new URLSearchParams();
|
|
10332
11004
|
if (params.accountId) {
|
|
10333
11005
|
query.set("accountId", params.accountId);
|
|
@@ -10344,10 +11016,7 @@ async function getSkillPublishJob(client, jobId, params = {}) {
|
|
|
10344
11016
|
);
|
|
10345
11017
|
}
|
|
10346
11018
|
async function getSkillOwnership(client, params) {
|
|
10347
|
-
const normalizedName = params.name
|
|
10348
|
-
if (!normalizedName) {
|
|
10349
|
-
throw new Error("name is required");
|
|
10350
|
-
}
|
|
11019
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10351
11020
|
const query = new URLSearchParams();
|
|
10352
11021
|
query.set("name", normalizedName);
|
|
10353
11022
|
if (params.accountId) {
|
|
@@ -10366,10 +11035,7 @@ async function getSkillOwnership(client, params) {
|
|
|
10366
11035
|
);
|
|
10367
11036
|
}
|
|
10368
11037
|
async function getRecommendedSkillVersion(client, params) {
|
|
10369
|
-
const normalizedName = params.name
|
|
10370
|
-
if (!normalizedName) {
|
|
10371
|
-
throw new Error("name is required");
|
|
10372
|
-
}
|
|
11038
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10373
11039
|
const query = new URLSearchParams();
|
|
10374
11040
|
query.set("name", normalizedName);
|
|
10375
11041
|
const raw = await client.requestJson(
|
|
@@ -10383,14 +11049,8 @@ async function getRecommendedSkillVersion(client, params) {
|
|
|
10383
11049
|
);
|
|
10384
11050
|
}
|
|
10385
11051
|
async function setRecommendedSkillVersion(client, payload) {
|
|
10386
|
-
const normalizedName = payload.name
|
|
10387
|
-
const normalizedVersion = payload.version
|
|
10388
|
-
if (!normalizedName) {
|
|
10389
|
-
throw new Error("name is required");
|
|
10390
|
-
}
|
|
10391
|
-
if (!normalizedVersion) {
|
|
10392
|
-
throw new Error("version is required");
|
|
10393
|
-
}
|
|
11052
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
11053
|
+
const normalizedVersion = requireTrimmedString(payload.version, "version");
|
|
10394
11054
|
const raw = await client.requestJson("/skills/recommended", {
|
|
10395
11055
|
method: "POST",
|
|
10396
11056
|
body: {
|
|
@@ -10406,10 +11066,7 @@ async function setRecommendedSkillVersion(client, payload) {
|
|
|
10406
11066
|
);
|
|
10407
11067
|
}
|
|
10408
11068
|
async function getSkillDeprecations(client, params) {
|
|
10409
|
-
const normalizedName = params.name
|
|
10410
|
-
if (!normalizedName) {
|
|
10411
|
-
throw new Error("name is required");
|
|
10412
|
-
}
|
|
11069
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10413
11070
|
const query = new URLSearchParams();
|
|
10414
11071
|
query.set("name", normalizedName);
|
|
10415
11072
|
const raw = await client.requestJson(
|
|
@@ -10423,15 +11080,9 @@ async function getSkillDeprecations(client, params) {
|
|
|
10423
11080
|
);
|
|
10424
11081
|
}
|
|
10425
11082
|
async function setSkillDeprecation(client, payload) {
|
|
10426
|
-
const normalizedName = payload.name
|
|
10427
|
-
if (!normalizedName) {
|
|
10428
|
-
throw new Error("name is required");
|
|
10429
|
-
}
|
|
11083
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
10430
11084
|
const version2 = payload.version?.trim();
|
|
10431
|
-
const reason = payload.reason
|
|
10432
|
-
if (!reason) {
|
|
10433
|
-
throw new Error("reason is required");
|
|
10434
|
-
}
|
|
11085
|
+
const reason = requireTrimmedString(payload.reason, "reason");
|
|
10435
11086
|
const replacementRef = payload.replacementRef?.trim();
|
|
10436
11087
|
const raw = await client.requestJson("/skills/deprecate", {
|
|
10437
11088
|
method: "POST",
|
|
@@ -10450,10 +11101,7 @@ async function setSkillDeprecation(client, payload) {
|
|
|
10450
11101
|
);
|
|
10451
11102
|
}
|
|
10452
11103
|
async function getSkillBadge(client, params) {
|
|
10453
|
-
const normalizedName = params.name
|
|
10454
|
-
if (!normalizedName) {
|
|
10455
|
-
throw new Error("name is required");
|
|
10456
|
-
}
|
|
11104
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10457
11105
|
const query = new URLSearchParams();
|
|
10458
11106
|
query.set("name", normalizedName);
|
|
10459
11107
|
if (params.metric) {
|
|
@@ -10476,10 +11124,7 @@ async function getSkillBadge(client, params) {
|
|
|
10476
11124
|
);
|
|
10477
11125
|
}
|
|
10478
11126
|
async function getSkillStatus(client, params) {
|
|
10479
|
-
const normalizedName = params.name
|
|
10480
|
-
if (!normalizedName) {
|
|
10481
|
-
throw new Error("name is required");
|
|
10482
|
-
}
|
|
11127
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10483
11128
|
const query = new URLSearchParams();
|
|
10484
11129
|
query.set("name", normalizedName);
|
|
10485
11130
|
if (params.version?.trim()) {
|
|
@@ -10496,14 +11141,8 @@ async function getSkillStatus(client, params) {
|
|
|
10496
11141
|
);
|
|
10497
11142
|
}
|
|
10498
11143
|
async function getSkillStatusByRepo(client, params) {
|
|
10499
|
-
const repo = params.repo
|
|
10500
|
-
const skillDir = params.skillDir
|
|
10501
|
-
if (!repo) {
|
|
10502
|
-
throw new Error("repo is required");
|
|
10503
|
-
}
|
|
10504
|
-
if (!skillDir) {
|
|
10505
|
-
throw new Error("skillDir is required");
|
|
10506
|
-
}
|
|
11144
|
+
const repo = requireTrimmedString(params.repo, "repo");
|
|
11145
|
+
const skillDir = requireTrimmedString(params.skillDir, "skillDir");
|
|
10507
11146
|
const query = new URLSearchParams();
|
|
10508
11147
|
query.set("repo", repo);
|
|
10509
11148
|
query.set("skillDir", skillDir);
|
|
@@ -10521,14 +11160,8 @@ async function getSkillStatusByRepo(client, params) {
|
|
|
10521
11160
|
);
|
|
10522
11161
|
}
|
|
10523
11162
|
async function getSkillConversionSignalsByRepo(client, params) {
|
|
10524
|
-
const repo = params.repo
|
|
10525
|
-
const skillDir = params.skillDir
|
|
10526
|
-
if (!repo) {
|
|
10527
|
-
throw new Error("repo is required");
|
|
10528
|
-
}
|
|
10529
|
-
if (!skillDir) {
|
|
10530
|
-
throw new Error("skillDir is required");
|
|
10531
|
-
}
|
|
11163
|
+
const repo = requireTrimmedString(params.repo, "repo");
|
|
11164
|
+
const skillDir = requireTrimmedString(params.skillDir, "skillDir");
|
|
10532
11165
|
const query = new URLSearchParams();
|
|
10533
11166
|
query.set("repo", repo);
|
|
10534
11167
|
query.set("skillDir", skillDir);
|
|
@@ -10546,10 +11179,7 @@ async function getSkillConversionSignalsByRepo(client, params) {
|
|
|
10546
11179
|
);
|
|
10547
11180
|
}
|
|
10548
11181
|
async function uploadSkillPreviewFromGithubOidc(client, payload) {
|
|
10549
|
-
const token = payload.token
|
|
10550
|
-
if (!token) {
|
|
10551
|
-
throw new Error("token is required");
|
|
10552
|
-
}
|
|
11182
|
+
const token = requireTrimmedString(payload.token, "token");
|
|
10553
11183
|
const raw = await client.requestJson(
|
|
10554
11184
|
"/skills/preview/github-oidc",
|
|
10555
11185
|
{
|
|
@@ -10568,10 +11198,7 @@ async function uploadSkillPreviewFromGithubOidc(client, payload) {
|
|
|
10568
11198
|
);
|
|
10569
11199
|
}
|
|
10570
11200
|
async function getSkillPreview(client, params) {
|
|
10571
|
-
const normalizedName = params.name
|
|
10572
|
-
if (!normalizedName) {
|
|
10573
|
-
throw new Error("name is required");
|
|
10574
|
-
}
|
|
11201
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10575
11202
|
const query = new URLSearchParams();
|
|
10576
11203
|
query.set("name", normalizedName);
|
|
10577
11204
|
if (params.version?.trim()) {
|
|
@@ -10588,14 +11215,8 @@ async function getSkillPreview(client, params) {
|
|
|
10588
11215
|
);
|
|
10589
11216
|
}
|
|
10590
11217
|
async function getSkillPreviewByRepo(client, params) {
|
|
10591
|
-
const repo = params.repo
|
|
10592
|
-
const skillDir = params.skillDir
|
|
10593
|
-
if (!repo) {
|
|
10594
|
-
throw new Error("repo is required");
|
|
10595
|
-
}
|
|
10596
|
-
if (!skillDir) {
|
|
10597
|
-
throw new Error("skillDir is required");
|
|
10598
|
-
}
|
|
11218
|
+
const repo = requireTrimmedString(params.repo, "repo");
|
|
11219
|
+
const skillDir = requireTrimmedString(params.skillDir, "skillDir");
|
|
10599
11220
|
const query = new URLSearchParams();
|
|
10600
11221
|
query.set("repo", repo);
|
|
10601
11222
|
query.set("skillDir", skillDir);
|
|
@@ -10613,10 +11234,7 @@ async function getSkillPreviewByRepo(client, params) {
|
|
|
10613
11234
|
);
|
|
10614
11235
|
}
|
|
10615
11236
|
async function getSkillPreviewById(client, previewId) {
|
|
10616
|
-
const normalizedPreviewId = previewId
|
|
10617
|
-
if (!normalizedPreviewId) {
|
|
10618
|
-
throw new Error("previewId is required");
|
|
10619
|
-
}
|
|
11237
|
+
const normalizedPreviewId = requireTrimmedString(previewId, "previewId");
|
|
10620
11238
|
const raw = await client.requestJson(
|
|
10621
11239
|
`/skills/preview/${encodeURIComponent(normalizedPreviewId)}`,
|
|
10622
11240
|
{ method: "GET" }
|
|
@@ -10628,10 +11246,7 @@ async function getSkillPreviewById(client, previewId) {
|
|
|
10628
11246
|
);
|
|
10629
11247
|
}
|
|
10630
11248
|
async function getSkillInstall(client, skillRef) {
|
|
10631
|
-
const normalizedSkillRef = skillRef
|
|
10632
|
-
if (!normalizedSkillRef) {
|
|
10633
|
-
throw new Error("skillRef is required");
|
|
10634
|
-
}
|
|
11249
|
+
const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
|
|
10635
11250
|
const raw = await client.requestJson(
|
|
10636
11251
|
`/skills/${encodeURIComponent(normalizedSkillRef)}/install`,
|
|
10637
11252
|
{ method: "GET" }
|
|
@@ -10643,10 +11258,7 @@ async function getSkillInstall(client, skillRef) {
|
|
|
10643
11258
|
);
|
|
10644
11259
|
}
|
|
10645
11260
|
async function recordSkillInstallCopy(client, skillRef, payload = {}) {
|
|
10646
|
-
const normalizedSkillRef = skillRef
|
|
10647
|
-
if (!normalizedSkillRef) {
|
|
10648
|
-
throw new Error("skillRef is required");
|
|
10649
|
-
}
|
|
11261
|
+
const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
|
|
10650
11262
|
const raw = await client.requestJson(
|
|
10651
11263
|
`/skills/${encodeURIComponent(normalizedSkillRef)}/telemetry/install-copy`,
|
|
10652
11264
|
{
|
|
@@ -10682,10 +11294,7 @@ async function listSkillCategories(client) {
|
|
|
10682
11294
|
);
|
|
10683
11295
|
}
|
|
10684
11296
|
async function resolveSkillMarkdown(client, skillRef) {
|
|
10685
|
-
const normalizedSkillRef = skillRef
|
|
10686
|
-
if (!normalizedSkillRef) {
|
|
10687
|
-
throw new Error("skillRef is required");
|
|
10688
|
-
}
|
|
11297
|
+
const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
|
|
10689
11298
|
const response = await client.request(
|
|
10690
11299
|
`/skills/${encodeURIComponent(normalizedSkillRef)}/SKILL.md`,
|
|
10691
11300
|
{
|
|
@@ -10698,10 +11307,7 @@ async function resolveSkillMarkdown(client, skillRef) {
|
|
|
10698
11307
|
return response.text();
|
|
10699
11308
|
}
|
|
10700
11309
|
async function resolveSkillManifest(client, skillRef) {
|
|
10701
|
-
const normalizedSkillRef = skillRef
|
|
10702
|
-
if (!normalizedSkillRef) {
|
|
10703
|
-
throw new Error("skillRef is required");
|
|
10704
|
-
}
|
|
11310
|
+
const normalizedSkillRef = requireTrimmedString(skillRef, "skillRef");
|
|
10705
11311
|
const raw = await client.requestJson(
|
|
10706
11312
|
`/skills/${encodeURIComponent(normalizedSkillRef)}/manifest`,
|
|
10707
11313
|
{
|
|
@@ -10715,10 +11321,7 @@ async function resolveSkillManifest(client, skillRef) {
|
|
|
10715
11321
|
);
|
|
10716
11322
|
}
|
|
10717
11323
|
async function getSkillVoteStatus(client, params) {
|
|
10718
|
-
const normalizedName = params.name
|
|
10719
|
-
if (!normalizedName) {
|
|
10720
|
-
throw new Error("name is required");
|
|
10721
|
-
}
|
|
11324
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10722
11325
|
const query = new URLSearchParams();
|
|
10723
11326
|
query.set("name", normalizedName);
|
|
10724
11327
|
const raw = await client.requestJson(
|
|
@@ -10732,10 +11335,7 @@ async function getSkillVoteStatus(client, params) {
|
|
|
10732
11335
|
);
|
|
10733
11336
|
}
|
|
10734
11337
|
async function setSkillVote(client, payload) {
|
|
10735
|
-
const normalizedName = payload.name
|
|
10736
|
-
if (!normalizedName) {
|
|
10737
|
-
throw new Error("name is required");
|
|
10738
|
-
}
|
|
11338
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
10739
11339
|
const raw = await client.requestJson("/skills/vote", {
|
|
10740
11340
|
method: "POST",
|
|
10741
11341
|
body: { name: normalizedName, upvoted: payload.upvoted },
|
|
@@ -10748,10 +11348,7 @@ async function setSkillVote(client, payload) {
|
|
|
10748
11348
|
);
|
|
10749
11349
|
}
|
|
10750
11350
|
async function requestSkillVerification(client, payload) {
|
|
10751
|
-
const normalizedName = payload.name
|
|
10752
|
-
if (!normalizedName) {
|
|
10753
|
-
throw new Error("name is required");
|
|
10754
|
-
}
|
|
11351
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
10755
11352
|
const raw = await client.requestJson(
|
|
10756
11353
|
"/skills/verification/request",
|
|
10757
11354
|
{
|
|
@@ -10771,10 +11368,7 @@ async function requestSkillVerification(client, payload) {
|
|
|
10771
11368
|
);
|
|
10772
11369
|
}
|
|
10773
11370
|
async function getSkillVerificationStatus(client, params) {
|
|
10774
|
-
const normalizedName = params.name
|
|
10775
|
-
if (!normalizedName) {
|
|
10776
|
-
throw new Error("name is required");
|
|
10777
|
-
}
|
|
11371
|
+
const normalizedName = requireTrimmedString(params.name, "name");
|
|
10778
11372
|
const query = new URLSearchParams();
|
|
10779
11373
|
query.set("name", normalizedName);
|
|
10780
11374
|
if (params.version) {
|
|
@@ -10791,10 +11385,7 @@ async function getSkillVerificationStatus(client, params) {
|
|
|
10791
11385
|
);
|
|
10792
11386
|
}
|
|
10793
11387
|
async function createSkillDomainProofChallenge(client, payload) {
|
|
10794
|
-
const normalizedName = payload.name
|
|
10795
|
-
if (!normalizedName) {
|
|
10796
|
-
throw new Error("name is required");
|
|
10797
|
-
}
|
|
11388
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
10798
11389
|
const raw = await client.requestJson(
|
|
10799
11390
|
"/skills/verification/domain/challenge",
|
|
10800
11391
|
{
|
|
@@ -10814,14 +11405,11 @@ async function createSkillDomainProofChallenge(client, payload) {
|
|
|
10814
11405
|
);
|
|
10815
11406
|
}
|
|
10816
11407
|
async function verifySkillDomainProof(client, payload) {
|
|
10817
|
-
const normalizedName = payload.name
|
|
10818
|
-
const challengeToken =
|
|
10819
|
-
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
if (!challengeToken) {
|
|
10823
|
-
throw new Error("challengeToken is required");
|
|
10824
|
-
}
|
|
11408
|
+
const normalizedName = requireTrimmedString(payload.name, "name");
|
|
11409
|
+
const challengeToken = requireTrimmedString(
|
|
11410
|
+
payload.challengeToken,
|
|
11411
|
+
"challengeToken"
|
|
11412
|
+
);
|
|
10825
11413
|
const raw = await client.requestJson(
|
|
10826
11414
|
"/skills/verification/domain/verify",
|
|
10827
11415
|
{
|
|
@@ -11433,6 +12021,87 @@ class RegistryBrokerClient {
|
|
|
11433
12021
|
async dashboardStats() {
|
|
11434
12022
|
return dashboardStats(this);
|
|
11435
12023
|
}
|
|
12024
|
+
async getCreditsBalance(params = {}) {
|
|
12025
|
+
return getCreditsBalance(this, params);
|
|
12026
|
+
}
|
|
12027
|
+
async getCreditProviders() {
|
|
12028
|
+
return getCreditProviders(this);
|
|
12029
|
+
}
|
|
12030
|
+
async getGuardSession() {
|
|
12031
|
+
return getGuardSession(this);
|
|
12032
|
+
}
|
|
12033
|
+
async getGuardEntitlements() {
|
|
12034
|
+
return getGuardEntitlements(this);
|
|
12035
|
+
}
|
|
12036
|
+
async getGuardBillingBalance() {
|
|
12037
|
+
return getGuardBillingBalance(this);
|
|
12038
|
+
}
|
|
12039
|
+
async getGuardTrustByHash(sha2562) {
|
|
12040
|
+
return getGuardTrustByHash(this, sha2562);
|
|
12041
|
+
}
|
|
12042
|
+
async resolveGuardTrust(query) {
|
|
12043
|
+
return resolveGuardTrust(this, query);
|
|
12044
|
+
}
|
|
12045
|
+
async getGuardRevocations() {
|
|
12046
|
+
return getGuardRevocations(this);
|
|
12047
|
+
}
|
|
12048
|
+
async getGuardInventory() {
|
|
12049
|
+
return getGuardInventory(this);
|
|
12050
|
+
}
|
|
12051
|
+
async getGuardReceiptHistory() {
|
|
12052
|
+
return getGuardReceiptHistory(this);
|
|
12053
|
+
}
|
|
12054
|
+
async getGuardArtifactTimeline(artifactId) {
|
|
12055
|
+
return getGuardArtifactTimeline(this, artifactId);
|
|
12056
|
+
}
|
|
12057
|
+
async getGuardInventoryDiff() {
|
|
12058
|
+
return getGuardInventoryDiff(this);
|
|
12059
|
+
}
|
|
12060
|
+
async exportGuardAbom() {
|
|
12061
|
+
return exportGuardAbom(this);
|
|
12062
|
+
}
|
|
12063
|
+
async exportGuardReceipts() {
|
|
12064
|
+
return exportGuardReceipts(this);
|
|
12065
|
+
}
|
|
12066
|
+
async getGuardDevices() {
|
|
12067
|
+
return getGuardDevices(this);
|
|
12068
|
+
}
|
|
12069
|
+
async getGuardAlertPreferences() {
|
|
12070
|
+
return getGuardAlertPreferences(this);
|
|
12071
|
+
}
|
|
12072
|
+
async updateGuardAlertPreferences(payload) {
|
|
12073
|
+
return updateGuardAlertPreferences(this, payload);
|
|
12074
|
+
}
|
|
12075
|
+
async getGuardExceptions() {
|
|
12076
|
+
return getGuardExceptions(this);
|
|
12077
|
+
}
|
|
12078
|
+
async getGuardWatchlist() {
|
|
12079
|
+
return getGuardWatchlist(this);
|
|
12080
|
+
}
|
|
12081
|
+
async addGuardWatchlistItem(payload) {
|
|
12082
|
+
return addGuardWatchlistItem(this, payload);
|
|
12083
|
+
}
|
|
12084
|
+
async removeGuardWatchlistItem(artifactId) {
|
|
12085
|
+
return removeGuardWatchlistItem(this, artifactId);
|
|
12086
|
+
}
|
|
12087
|
+
async addGuardException(payload) {
|
|
12088
|
+
return addGuardException(this, payload);
|
|
12089
|
+
}
|
|
12090
|
+
async removeGuardException(exceptionId) {
|
|
12091
|
+
return removeGuardException(this, exceptionId);
|
|
12092
|
+
}
|
|
12093
|
+
async syncGuardReceipts(payload) {
|
|
12094
|
+
return syncGuardReceipts(this, payload);
|
|
12095
|
+
}
|
|
12096
|
+
async getGuardTeamPolicyPack() {
|
|
12097
|
+
return getGuardTeamPolicyPack(this);
|
|
12098
|
+
}
|
|
12099
|
+
async updateGuardTeamPolicyPack(payload) {
|
|
12100
|
+
return updateGuardTeamPolicyPack(this, payload);
|
|
12101
|
+
}
|
|
12102
|
+
async createHbarPurchaseIntent(payload) {
|
|
12103
|
+
return createHbarPurchaseIntent(this, payload);
|
|
12104
|
+
}
|
|
11436
12105
|
async purchaseCreditsWithHbar(params) {
|
|
11437
12106
|
return purchaseCreditsWithHbar(this, params);
|
|
11438
12107
|
}
|