Files
n8n-generator/assets/WibuApi.credentials.txt
bipproduction 9ff2aa0fec tambahan baru
2025-11-10 10:17:51 +08:00

28 lines
837 B
Plaintext

import { ICredentialType, INodeProperties } from "n8n-workflow";
export class WibuApi implements ICredentialType {
name = "wibuApi";
displayName = "Wibu API (Bearer Token)";
properties: INodeProperties[] = [
{
displayName: "Base URL",
name: "baseUrl",
type: "string",
default: "",
placeholder: "https://api.example.com",
description: "Masukkan URL dasar API tanpa garis miring di akhir",
required: true,
},
{
displayName: "Bearer Token",
name: "token",
type: "string",
default: "",
typeOptions: { password: true },
description: "Masukkan token autentikasi Bearer (tanpa 'Bearer ' di depannya)",
required: true,
},
];
}