interface DidCreateSuccessEventSanitised {
    category: "did";
    data: {
        didDocument: undefined | {
            @context: string | object | (string | object)[];
            assertionMethod: undefined | string[] | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "OKP";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "EC";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
            authentication: undefined | (string | object)[];
            created: undefined | string;
            id: string;
            keyAgreement: undefined | unknown[];
            proof: undefined | {
                created: string;
                creator: string;
                signatureValue: string;
                type: string;
            };
            service: undefined | {
                id: string;
                serviceEndpoint: string | {
                    [key: string]: unknown;
                };
                type: string;
            }[];
            updated: undefined | string;
            verificationMethod: undefined | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "OKP";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "EC";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
        };
        localMetadata: undefined | {
            additionalData: unknown;
            initialDidDocument: undefined | {
                @context: string | object | (string | object)[];
                assertionMethod: undefined | string[] | {
                    controller: undefined | string;
                    id: string;
                    publicKeyBase58: undefined | string;
                    publicKeyHex: undefined | string;
                    publicKeyJwk: undefined | {
                        crv: string;
                        d: (...) | (...);
                        kid: (...) | (...);
                        kty: "OKP";
                        x: (...) | (...);
                        y: (...) | (...);
                    } | {
                        crv: string;
                        d: (...) | (...);
                        kid: (...) | (...);
                        kty: "EC";
                        x: (...) | (...);
                        y: (...) | (...);
                    } | {
                        e: string;
                        kty: "RSA";
                        n: string;
                    };
                    type: string;
                }[];
                authentication: undefined | (string | object)[];
                created: undefined | string;
                id: string;
                keyAgreement: undefined | unknown[];
                proof: undefined | {
                    created: string;
                    creator: string;
                    signatureValue: string;
                    type: string;
                };
                service: undefined | {
                    id: string;
                    serviceEndpoint: string | {
                        [key: string]: unknown;
                    };
                    type: string;
                }[];
                updated: undefined | string;
                verificationMethod: undefined | {
                    controller: undefined | string;
                    id: string;
                    publicKeyBase58: undefined | string;
                    publicKeyHex: undefined | string;
                    publicKeyJwk: undefined | {
                        crv: string;
                        d: (...) | (...);
                        kid: (...) | (...);
                        kty: "OKP";
                        x: (...) | (...);
                        y: (...) | (...);
                    } | {
                        crv: string;
                        d: (...) | (...);
                        kid: (...) | (...);
                        kty: "EC";
                        x: (...) | (...);
                        y: (...) | (...);
                    } | {
                        e: string;
                        kty: "RSA";
                        n: string;
                    };
                    type: string;
                }[];
            };
            keys: {
                authorizedDidOperations: undefined | ("Create" | "Update" | "Deactivate" | "Recover")[];
                didDocumentKeyId: undefined | string;
                kmsKeyId: string;
            }[];
            registered: undefined | number;
        };
        registrationStatus: string;
    };
    id: string;
    requestId: string;
    tenantId: string;
    timestamp: number;
    type: string;
    version: "1";
}

Properties

category: "did"
data: {
    didDocument: undefined | {
        @context: string | object | (string | object)[];
        assertionMethod: undefined | string[] | {
            controller: undefined | string;
            id: string;
            publicKeyBase58: undefined | string;
            publicKeyHex: undefined | string;
            publicKeyJwk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            };
            type: string;
        }[];
        authentication: undefined | (string | object)[];
        created: undefined | string;
        id: string;
        keyAgreement: undefined | unknown[];
        proof: undefined | {
            created: string;
            creator: string;
            signatureValue: string;
            type: string;
        };
        service: undefined | {
            id: string;
            serviceEndpoint: string | {
                [key: string]: unknown;
            };
            type: string;
        }[];
        updated: undefined | string;
        verificationMethod: undefined | {
            controller: undefined | string;
            id: string;
            publicKeyBase58: undefined | string;
            publicKeyHex: undefined | string;
            publicKeyJwk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            };
            type: string;
        }[];
    };
    localMetadata: undefined | {
        additionalData: unknown;
        initialDidDocument: undefined | {
            @context: string | object | (string | object)[];
            assertionMethod: undefined | string[] | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "OKP";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "EC";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
            authentication: undefined | (string | object)[];
            created: undefined | string;
            id: string;
            keyAgreement: undefined | unknown[];
            proof: undefined | {
                created: string;
                creator: string;
                signatureValue: string;
                type: string;
            };
            service: undefined | {
                id: string;
                serviceEndpoint: string | {
                    [key: string]: unknown;
                };
                type: string;
            }[];
            updated: undefined | string;
            verificationMethod: undefined | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "OKP";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "EC";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
        };
        keys: {
            authorizedDidOperations: undefined | ("Create" | "Update" | "Deactivate" | "Recover")[];
            didDocumentKeyId: undefined | string;
            kmsKeyId: string;
        }[];
        registered: undefined | number;
    };
    registrationStatus: string;
}

Type declaration

  • didDocument: undefined | {
        @context: string | object | (string | object)[];
        assertionMethod: undefined | string[] | {
            controller: undefined | string;
            id: string;
            publicKeyBase58: undefined | string;
            publicKeyHex: undefined | string;
            publicKeyJwk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            };
            type: string;
        }[];
        authentication: undefined | (string | object)[];
        created: undefined | string;
        id: string;
        keyAgreement: undefined | unknown[];
        proof: undefined | {
            created: string;
            creator: string;
            signatureValue: string;
            type: string;
        };
        service: undefined | {
            id: string;
            serviceEndpoint: string | {
                [key: string]: unknown;
            };
            type: string;
        }[];
        updated: undefined | string;
        verificationMethod: undefined | {
            controller: undefined | string;
            id: string;
            publicKeyBase58: undefined | string;
            publicKeyHex: undefined | string;
            publicKeyJwk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            };
            type: string;
        }[];
    }
  • localMetadata: undefined | {
        additionalData: unknown;
        initialDidDocument: undefined | {
            @context: string | object | (string | object)[];
            assertionMethod: undefined | string[] | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "OKP";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "EC";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
            authentication: undefined | (string | object)[];
            created: undefined | string;
            id: string;
            keyAgreement: undefined | unknown[];
            proof: undefined | {
                created: string;
                creator: string;
                signatureValue: string;
                type: string;
            };
            service: undefined | {
                id: string;
                serviceEndpoint: string | {
                    [key: string]: unknown;
                };
                type: string;
            }[];
            updated: undefined | string;
            verificationMethod: undefined | {
                controller: undefined | string;
                id: string;
                publicKeyBase58: undefined | string;
                publicKeyHex: undefined | string;
                publicKeyJwk: undefined | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "OKP";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    crv: string;
                    d: (...) | (...);
                    kid: (...) | (...);
                    kty: "EC";
                    x: (...) | (...);
                    y: (...) | (...);
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                };
                type: string;
            }[];
        };
        keys: {
            authorizedDidOperations: undefined | ("Create" | "Update" | "Deactivate" | "Recover")[];
            didDocumentKeyId: undefined | string;
            kmsKeyId: string;
        }[];
        registered: undefined | number;
    }
  • registrationStatus: string
id: string
requestId: string
tenantId: string
timestamp: number
type: string
version: "1"