"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.JsonNullValueFilter = exports.NullsOrder = exports.QueryMode = exports.JsonNullValueInput = exports.SortOrder = exports.AuditLogScalarFieldEnum = exports.TxnRunumScalarFieldEnum = exports.NoteScalarFieldEnum = exports.TransactionSnapshotScalarFieldEnum = exports.PaymentScalarFieldEnum = exports.ApprovalScalarFieldEnum = exports.TransactionDocScalarFieldEnum = exports.TransactionItemDocScalarFieldEnum = exports.PricingDetailScalarFieldEnum = exports.PricingHeaderScalarFieldEnum = exports.ItemTypeScalarFieldEnum = exports.TransactionItemPhotoScalarFieldEnum = exports.TempPhotoScalarFieldEnum = exports.TransactionItemScalarFieldEnum = exports.TransactionScalarFieldEnum = exports.CustomerScalarFieldEnum = exports.BankScalarFieldEnum = exports.DetailSettingScalarFieldEnum = exports.HeaderSettingScalarFieldEnum = exports.UserBranchScalarFieldEnum = exports.BranchScalarFieldEnum = exports.RoleScalarFieldEnum = exports.UserScalarFieldEnum = exports.TransactionIsolationLevel = exports.ModelName = exports.AnyNull = exports.JsonNull = exports.DbNull = exports.NullTypes = exports.Decimal = void 0;
const runtime = __importStar(require("@prisma/client/runtime/index-browser"));
exports.Decimal = runtime.Decimal;
exports.NullTypes = {
    DbNull: runtime.NullTypes.DbNull,
    JsonNull: runtime.NullTypes.JsonNull,
    AnyNull: runtime.NullTypes.AnyNull,
};
exports.DbNull = runtime.DbNull;
exports.JsonNull = runtime.JsonNull;
exports.AnyNull = runtime.AnyNull;
exports.ModelName = {
    User: 'User',
    Role: 'Role',
    Branch: 'Branch',
    UserBranch: 'UserBranch',
    HeaderSetting: 'HeaderSetting',
    DetailSetting: 'DetailSetting',
    Bank: 'Bank',
    Customer: 'Customer',
    Transaction: 'Transaction',
    TransactionItem: 'TransactionItem',
    TempPhoto: 'TempPhoto',
    TransactionItemPhoto: 'TransactionItemPhoto',
    ItemType: 'ItemType',
    PricingHeader: 'PricingHeader',
    PricingDetail: 'PricingDetail',
    TransactionItemDoc: 'TransactionItemDoc',
    TransactionDoc: 'TransactionDoc',
    Approval: 'Approval',
    Payment: 'Payment',
    TransactionSnapshot: 'TransactionSnapshot',
    Note: 'Note',
    TxnRunum: 'TxnRunum',
    AuditLog: 'AuditLog'
};
exports.TransactionIsolationLevel = runtime.makeStrictEnum({
    ReadUncommitted: 'ReadUncommitted',
    ReadCommitted: 'ReadCommitted',
    RepeatableRead: 'RepeatableRead',
    Serializable: 'Serializable'
});
exports.UserScalarFieldEnum = {
    id: 'id',
    email: 'email',
    hash: 'hash',
    firstName: 'firstName',
    lastName: 'lastName',
    roleId: 'roleId',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.RoleScalarFieldEnum = {
    id: 'id',
    code: 'code',
    name: 'name',
    accessAllBranch: 'accessAllBranch',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.BranchScalarFieldEnum = {
    id: 'id',
    code: 'code',
    name: 'name',
    address: 'address',
    beginEffective: 'beginEffective',
    endEffective: 'endEffective',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.UserBranchScalarFieldEnum = {
    id: 'id',
    userId: 'userId',
    branchId: 'branchId'
};
exports.HeaderSettingScalarFieldEnum = {
    id: 'id',
    code: 'code',
    description: 'description',
    status: 'status',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.DetailSettingScalarFieldEnum = {
    id: 'id',
    headerId: 'headerId',
    code: 'code',
    name: 'name',
    description: 'description',
    status: 'status',
    beginEffective: 'beginEffective',
    endEffective: 'endEffective',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.BankScalarFieldEnum = {
    id: 'id',
    code: 'code',
    name: 'name',
    status: 'status',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.CustomerScalarFieldEnum = {
    id: 'id',
    code: 'code',
    fullName: 'fullName',
    phoneNumber: 'phoneNumber',
    ktpNumber: 'ktpNumber',
    ktpPhotoUrl: 'ktpPhotoUrl',
    address: 'address',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.TransactionScalarFieldEnum = {
    id: 'id',
    trxCode: 'trxCode',
    branchId: 'branchId',
    customerId: 'customerId',
    status: 'status',
    totalGrossWeight: 'totalGrossWeight',
    totalNetWeight: 'totalNetWeight',
    totalAmount: 'totalAmount',
    bankId: 'bankId',
    bankAccountNo: 'bankAccountNo',
    bankAccountName: 'bankAccountName',
    referralSource: 'referralSource',
    knowsFounder: 'knowsFounder',
    createdBy: 'createdBy',
    createdAt: 'createdAt',
    modifiedBy: 'modifiedBy',
    modifiedAt: 'modifiedAt',
    cancellationReason: 'cancellationReason',
    cancelledBy: 'cancelledBy',
    cancelledAt: 'cancelledAt',
    completedBy: 'completedBy',
    completedAt: 'completedAt',
    headStoreId: 'headStoreId'
};
exports.TransactionItemScalarFieldEnum = {
    id: 'id',
    transactionId: 'transactionId',
    itemCode: 'itemCode',
    itemTypeId: 'itemTypeId',
    grossWeight: 'grossWeight',
    netWeight: 'netWeight',
    caratId: 'caratId',
    pricePerGram: 'pricePerGram',
    pricePerGramAt: 'pricePerGramAt',
    purityPercent: 'purityPercent',
    totalPrice: 'totalPrice',
    isAdjusted: 'isAdjusted',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.TempPhotoScalarFieldEnum = {
    id: 'id',
    filename: 'filename',
    url: 'url',
    mimetype: 'mimetype',
    size: 'size',
    createdAt: 'createdAt'
};
exports.TransactionItemPhotoScalarFieldEnum = {
    id: 'id',
    itemId: 'itemId',
    url: 'url',
    filename: 'filename',
    mimetype: 'mimetype',
    size: 'size',
    order: 'order',
    createdAt: 'createdAt'
};
exports.ItemTypeScalarFieldEnum = {
    id: 'id',
    code: 'code',
    name: 'name',
    desc: 'desc',
    status: 'status',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.PricingHeaderScalarFieldEnum = {
    id: 'id',
    itemTypeId: 'itemTypeId',
    code: 'code',
    name: 'name',
    weight: 'weight',
    unit: 'unit',
    description: 'description',
    status: 'status',
    effectiveDate: 'effectiveDate',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.PricingDetailScalarFieldEnum = {
    id: 'id',
    headerId: 'headerId',
    itemTypeId: 'itemTypeId',
    pricePerUnit: 'pricePerUnit',
    weight: 'weight',
    unit: 'unit',
    status: 'status',
    beginEffective: 'beginEffective',
    endEffective: 'endEffective',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt',
    createdBy: 'createdBy',
    modifiedBy: 'modifiedBy'
};
exports.TransactionItemDocScalarFieldEnum = {
    id: 'id',
    transactionItemId: 'transactionItemId',
    type: 'type',
    url: 'url',
    filename: 'filename',
    mimetype: 'mimetype',
    size: 'size',
    order: 'order',
    createdAt: 'createdAt'
};
exports.TransactionDocScalarFieldEnum = {
    id: 'id',
    transactionId: 'transactionId',
    type: 'type',
    url: 'url',
    filename: 'filename',
    mimetype: 'mimetype',
    size: 'size',
    order: 'order',
    createdAt: 'createdAt'
};
exports.ApprovalScalarFieldEnum = {
    id: 'id',
    transactionId: 'transactionId',
    role: 'role',
    approvedBy: 'approvedBy',
    approvedAt: 'approvedAt',
    notes: 'notes'
};
exports.PaymentScalarFieldEnum = {
    id: 'id',
    transactionId: 'transactionId',
    transferBy: 'transferBy',
    transferDate: 'transferDate',
    proofUrl: 'proofUrl',
    filename: 'filename',
    mimetype: 'mimetype',
    size: 'size',
    createdAt: 'createdAt'
};
exports.TransactionSnapshotScalarFieldEnum = {
    id: 'id',
    transactionId: 'transactionId',
    totalNetWeight: 'totalNetWeight',
    totalAmount: 'totalAmount',
    snapshotData: 'snapshotData',
    createdAt: 'createdAt'
};
exports.NoteScalarFieldEnum = {
    id: 'id',
    entityType: 'entityType',
    entityId: 'entityId',
    type: 'type',
    content: 'content',
    createdBy: 'createdBy',
    createdAt: 'createdAt'
};
exports.TxnRunumScalarFieldEnum = {
    id: 'id',
    runumId: 'runumId',
    reset: 'reset',
    nid: 'nid',
    createdAt: 'createdAt',
    modifiedAt: 'modifiedAt'
};
exports.AuditLogScalarFieldEnum = {
    id: 'id',
    entityType: 'entityType',
    entityId: 'entityId',
    headerEntityType: 'headerEntityType',
    headerEntityId: 'headerEntityId',
    fieldName: 'fieldName',
    oldValue: 'oldValue',
    newValue: 'newValue',
    changedBy: 'changedBy',
    changedAt: 'changedAt'
};
exports.SortOrder = {
    asc: 'asc',
    desc: 'desc'
};
exports.JsonNullValueInput = {
    JsonNull: exports.JsonNull
};
exports.QueryMode = {
    default: 'default',
    insensitive: 'insensitive'
};
exports.NullsOrder = {
    first: 'first',
    last: 'last'
};
exports.JsonNullValueFilter = {
    DbNull: exports.DbNull,
    JsonNull: exports.JsonNull,
    AnyNull: exports.AnyNull
};
//# sourceMappingURL=prismaNamespaceBrowser.js.map