@servicenow/sdk - v4.4.1
    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>;
        createShape<const S extends Shape<unknown>>(shape: S): Promise<S>;
    }
    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>

    • Type Parameters

      • const S extends Shape<unknown>

      Parameters

      • shape: S

      Returns Promise<S>