mirror of
https://github.com/hoshikawa2/first_contas.git
synced 2026-07-09 10:14:20 +00:00
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
identity:
|
|
version: "2"
|
|
required:
|
|
- session_key
|
|
keys:
|
|
customer_key:
|
|
description: Cliente/assinante canônico. Para telecom, normalmente msisdn.
|
|
sources:
|
|
- business_context.customer_key
|
|
- customer_key
|
|
- msisdn
|
|
- ani
|
|
- from
|
|
- user_id
|
|
contract_key:
|
|
description: Fatura, contrato ou asset principal.
|
|
sources:
|
|
- business_context.contract_key
|
|
- contract_key
|
|
- invoice_id
|
|
- current_invoice_number
|
|
- past_invoice_number
|
|
- asset_id
|
|
interaction_key:
|
|
description: Chave externa da interação/call/chat.
|
|
sources:
|
|
- business_context.interaction_key
|
|
- interaction_key
|
|
- ura_call_id
|
|
- call_id
|
|
- message_id
|
|
account_key:
|
|
description: Conta de cobrança/conta comercial.
|
|
sources:
|
|
- business_context.account_key
|
|
- account_key
|
|
- account_id
|
|
- billing_account_id
|
|
resource_key:
|
|
description: Linha/produto/asset específico.
|
|
sources:
|
|
- business_context.resource_key
|
|
- resource_key
|
|
- asset_id
|
|
- product_id
|
|
session_key:
|
|
description: Sessão técnica estável escopada por tenant e agente.
|
|
sources:
|
|
- business_context.session_key
|
|
- session_key
|
|
- conversation_key
|
|
- session_id
|