@arcforges/api-client 1.0.0-ci.3.1 → 1.0.0-ci.306.1
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/NOTICE +57 -5
- package/README.md +9 -2
- package/build-identity.json +266 -0
- package/contracts.binpb +0 -0
- package/dist/gen/http.d.ts +31 -0
- package/dist/gen/http.js +34 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.js +20 -2
- package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
- package/dist/shapes/gen/AndroidUpdate.js +620 -0
- package/dist/shapes/gen/BrowserAuthChallenge.d.ts +35 -0
- package/dist/shapes/gen/BrowserAuthChallenge.js +531 -0
- package/dist/shapes/gen/BrowserBeginAuthenticationRequest.d.ts +28 -0
- package/dist/shapes/gen/BrowserBeginAuthenticationRequest.js +384 -0
- package/dist/shapes/gen/BrowserBeginRecoveryRequest.d.ts +22 -0
- package/dist/shapes/gen/BrowserBeginRecoveryRequest.js +370 -0
- package/dist/shapes/gen/BrowserBeginStepUpRequest.d.ts +20 -0
- package/dist/shapes/gen/BrowserBeginStepUpRequest.js +279 -0
- package/dist/shapes/gen/BrowserBootstrapResponse.d.ts +37 -0
- package/dist/shapes/gen/BrowserBootstrapResponse.js +534 -0
- package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.d.ts +45 -0
- package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.js +564 -0
- package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.d.ts +90 -0
- package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.js +1145 -0
- package/dist/shapes/gen/BrowserCompleteRecoveryRequest.d.ts +22 -0
- package/dist/shapes/gen/BrowserCompleteRecoveryRequest.js +733 -0
- package/dist/shapes/gen/BrowserCompleteStepUpRequest.d.ts +20 -0
- package/dist/shapes/gen/BrowserCompleteStepUpRequest.js +564 -0
- package/dist/shapes/gen/BrowserOidcCallbackFailure.d.ts +20 -0
- package/dist/shapes/gen/BrowserOidcCallbackFailure.js +200 -0
- package/dist/shapes/gen/BrowserOidcCallbackSuccess.d.ts +19 -0
- package/dist/shapes/gen/BrowserOidcCallbackSuccess.js +185 -0
- package/dist/shapes/gen/BrowserReceipt.d.ts +20 -0
- package/dist/shapes/gen/BrowserReceipt.js +285 -0
- package/dist/shapes/gen/BrowserSessionRoutes.d.ts +17 -0
- package/dist/shapes/gen/BrowserSessionRoutes.js +13 -0
- package/dist/shapes/gen/BrowserSessionView.d.ts +25 -0
- package/dist/shapes/gen/BrowserSessionView.js +388 -0
- package/dist/shapes/gen/BrowserStepUpEvidence.d.ts +19 -0
- package/dist/shapes/gen/BrowserStepUpEvidence.js +266 -0
- package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
- package/dist/shapes/gen/CatalogIndex.js +703 -0
- package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
- package/dist/shapes/gen/CatalogRevocations.js +647 -0
- package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
- package/dist/shapes/gen/DeclarativePanel.js +2988 -0
- package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
- package/dist/shapes/gen/ExtensionManifest.js +3974 -0
- package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
- package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
- package/dist/shapes/gen/NativeAuthRoutes.d.ts +17 -0
- package/dist/shapes/gen/NativeAuthRoutes.js +5 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackFailure.d.ts +19 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackFailure.js +185 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.d.ts +19 -0
- package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.js +185 -0
- package/dist/shapes/gen/NativeAuthorizeRequest.d.ts +24 -0
- package/dist/shapes/gen/NativeAuthorizeRequest.js +271 -0
- package/dist/shapes/gen/NativeTokenRequest.d.ts +23 -0
- package/dist/shapes/gen/NativeTokenRequest.js +258 -0
- package/dist/shapes/gen/NativeTokenResponse.d.ts +40 -0
- package/dist/shapes/gen/NativeTokenResponse.js +572 -0
- package/dist/shapes/gen/PackageInventory.d.ts +24 -0
- package/dist/shapes/gen/PackageInventory.js +327 -0
- package/dist/shapes/gen/PartReceipt.d.ts +21 -0
- package/dist/shapes/gen/PartReceipt.js +290 -0
- package/dist/shapes/gen/PolicyBody.d.ts +269 -0
- package/dist/shapes/gen/PolicyBody.js +4188 -0
- package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
- package/dist/shapes/gen/RealmDescriptor.js +627 -0
- package/package.json +15 -7
- package/sbom.cdx.json +17 -17
- package/schemas/public/http/v1/browser.schema.json +1300 -0
- package/schemas/public/http/v1/inventory.schema.json +49 -0
- package/schemas/public/http/v1/manifest.schema.json +1459 -0
- package/schemas/public/http/v1/native-auth.schema.json +341 -0
- package/schemas/public/http/v1/panel.schema.json +963 -0
- package/schemas/public/http/v1/policy-body.schema.json +1376 -0
- package/schemas/public/http/v1/schema.json +30 -0
- package/schemas/public/http/v1/signed-formats.schema.json +748 -0
- package/schemas/public/http/v1/workflow.schema.json +715 -0
- package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
- package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
- package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
- package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
- package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
- package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
- package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
- package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
- package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
- package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
- package/schemas/public/proto/arcforges/publicapi/v1/identity.proto +1350 -0
- package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
- package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
- package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
- package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
- package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
- package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
- package/source.json +49 -6
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface CatalogIndex {
|
|
2
|
+
schemaVersion: string;
|
|
3
|
+
realmId: string;
|
|
4
|
+
channel: string;
|
|
5
|
+
revision: string;
|
|
6
|
+
issuedAt: string;
|
|
7
|
+
expiresAt: string;
|
|
8
|
+
keyId: string;
|
|
9
|
+
bodyHash: string;
|
|
10
|
+
body: IndexBody;
|
|
11
|
+
signature: string;
|
|
12
|
+
}
|
|
13
|
+
export type IndexBody = IndexEntries | IndexShards;
|
|
14
|
+
export interface IndexEntries {
|
|
15
|
+
entries: CatalogEntry[];
|
|
16
|
+
}
|
|
17
|
+
export interface CatalogEntry {
|
|
18
|
+
packageId: string;
|
|
19
|
+
publisherId: string;
|
|
20
|
+
version: string;
|
|
21
|
+
archiveHttpsUrl: string;
|
|
22
|
+
sha256: string;
|
|
23
|
+
manifestHash: string;
|
|
24
|
+
minimumHostVersion: string;
|
|
25
|
+
capabilitiesDigest: string;
|
|
26
|
+
}
|
|
27
|
+
export interface IndexShards {
|
|
28
|
+
shards: IndexShard[];
|
|
29
|
+
}
|
|
30
|
+
export interface IndexShard {
|
|
31
|
+
url: string;
|
|
32
|
+
count: number;
|
|
33
|
+
sha256: string;
|
|
34
|
+
}
|
|
35
|
+
export declare function isCatalogIndex(value: unknown): value is CatalogIndex;
|
|
36
|
+
/** The schema's declared UTF-8 document bound in bytes. */
|
|
37
|
+
export declare const catalogIndexJsonMaxBytes = 1048576;
|
|
38
|
+
/** Parses one strict CatalogIndex document; refusal kinds match the C# codec. */
|
|
39
|
+
export declare function tryParseCatalogIndexJson(input: Uint8Array | string): {
|
|
40
|
+
ok: true;
|
|
41
|
+
value: CatalogIndex;
|
|
42
|
+
} | {
|
|
43
|
+
ok: false;
|
|
44
|
+
failure: "tooLarge" | "malformed" | "invalid";
|
|
45
|
+
};
|
|
46
|
+
/** Parses one strict CatalogIndex document or throws an error carrying the refusal kind. */
|
|
47
|
+
export declare function parseCatalogIndexJson(input: Uint8Array | string): CatalogIndex;
|
|
48
|
+
/** Writes compact UTF-8 in schema property order and refuses output the schema rejects. */
|
|
49
|
+
export declare function serializeCatalogIndexJson(value: CatalogIndex): Uint8Array;
|