@servicenow/sdk - v4.13.3
    Preparing search index...
    interface Factory {
        createRecord(
            args: {
                action?: Action;
                explicitId?: string | Shape<unknown>;
                guidOverride?: string;
                installCategory?: InstallCategory;
                properties: object;
                source: Source;
                table: string;
            },
        ): Promise<Record>;
        createReference(
            args: {
                guid?: string | StringShape;
                keys?: ObjectShape | Record<string, string | Shape<unknown>>;
                source: Source;
                table: string | StringShape;
            },
        ): Promise<RecordId>;
    }
    Index

    Methods

    • Parameters

      • args: {
            action?: Action;
            explicitId?: string | Shape<unknown>;
            guidOverride?: string;
            installCategory?: InstallCategory;
            properties: object;
            source: Source;
            table: string;
        }

      Returns Promise<Record>

    • Parameters

      Returns Promise<RecordId>