HubPublic
PackagePublished package

@pasar6987/sf-loyalty-loyalty-program

Program configuration with currencies, partners, badges, widgets, processes, and partner ledger management.

Published package · Latest published 1.0.1 Mar 4, 2026 · 23 datasets / 40 measures in the latest review · Updated Mar 11, 2026

Release path

1.0.1Published Mar 4, 2026

Publisher

@pasar6987Published Mar 4, 2026

Structure snapshot

23 datasets40 measures · 272 dimensions

Semantic Graph

Relationship counts appear after the graph loads.

Loading graph

Package graph is loading

Package relationships will appear when the summary is ready.

Reference context

Secondary package facts stay compact

Updated
Mar 11, 2026
Visibility
Public hub listing
License
MIT
Created
Mar 4, 2026

Reference facts

Secondary package facts after the usage path is clear

Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.

Format

OSI

Upstream

developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference

Repository

Not linked

Owner

@pasar6987

Organization

Independent

License

MIT

Visibility

Public hub listing

Publisher

@pasar6987Published Mar 4, 2026

Latest published version

1.0.1Published Mar 4, 2026

Tags

salesforcecrmloyaltyloyalty-program

Schema preview

Schema 0.1.1

SDK handoff

Use this package in code and AI

After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().

Python SDK

Python example for @pasar6987/sf-loyalty-loyalty-program

This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.

import rawctx

model = rawctx.load("@pasar6987/sf-loyalty-loyalty-program")
prompt = rawctx.to_prompt(
    "@pasar6987/sf-loyalty-loyalty-program",
    datasets=["LoyaltyPgmCurrencySubtype", "LoyaltyPgmEngmtAttrProm"],
    max_tokens=2000,
)

print(model.datasets)        # ["LoyaltyPgmCurrencySubtype", "LoyaltyPgmEngmtAttrProm", "LoyaltyPgmEngmtAttribute"]
print(model.measures)        # [Measure(name="LoyaltyPgmCurrencySubtype.CostPerUnit", ...), Measure(name="LoyaltyPgmCurrencySubtype.UsagePriorityNumber", ...), Measure(name="LoyaltyPgmEngmtAttribute.MaximumResetCountPerPeriod", ...)]
print(model.dimensions)      # [Dimension(name="Description", ...), Dimension(name="IsActive", ...), Dimension(name="LastReferencedDate", ...)]
print(model.relationships)   # [Relationship(name='...', ...)]
print(prompt)

README

Package narrative and examples

Use documentation after the package clears provenance, ownership, and runnable-path checks.

@pasar6987/sf-loyalty-loyalty-program

Program configuration with currencies, partners, badges, widgets, processes, and partner ledger management.

Overview

Count
Objects (Datasets)23
Dimensions272
Measures40
Relationships3

Objects

  • LoyaltyPgmCurrencySubtype — Represents a subtype of a fixed-model non-qualifying loyalty program currency.
  • LoyaltyPgmEngmtAttrProm — Represents a junction between Loyalty Program Engagement Attribute and Promotion. Associate an engagement attribute with a promotion if you want to track the engagement attribute during the promotion period.
  • LoyaltyPgmEngmtAttribute — Represents information about an engagement attribute for a loyalty program.
  • LoyaltyPgmGroupMbrRlnsp — Represents a junction between a Corporate or Individual type loyalty program member who is part of a group and the Group type loyalty program member.
  • LoyaltyPgmMbrAttributeVal — Represents information about the value reached by a loyalty program member for an engagement attribute.
  • LoyaltyPgmMbrPromEligView — Represents a virtual object that provides a consolidated view of the loyalty program member’s eligibility for a promotion and their enrollment status in eligible promotions.
  • LoyaltyPgmPartnerCurrency — Represents a junction between a loyalty program partner and a loyalty program currency.
  • LoyaltyPgmPartnerPromotion — Represents a junction between the Promotion and Loyalty Program Partner objects.
  • LoyaltyPgmPtnrLdgrSummary — Represents the aggregated ledger used by a loyalty program to credit points to or debit points from a prepaid partner's points pack. This ledger can also be used to add or deduct the monetary value of points from the postpaid partner's bill.
  • LoyaltyPgmPtnrPrepaidPack — Represents information about a prepaid set of points purchased by a loyalty program partner.
  • LoyaltyProgram — Represents the loyalty program within an organization. All the information related to members, tiers, tier groups, program currencies, vouchers, benefits, partners, promotions, transactions are associated with the program.
  • LoyaltyProgramBadge — Represents information about the badge that's associated with a loyalty program.
  • LoyaltyProgramCurrency — Represents qualifying and non-qualifying currencies associated with the program. Qualifying currency represents the engagement of a member with the program and it’s associated with a tier group. Non-qualifying currency represent the points that the member earns for redemption.
  • LoyaltyProgramCurrencyTier — Repesents a junction between non-qualifying loyalty program currency and loyalty tier.
  • LoyaltyProgramMbrPromotion — Represents details about the promotions to be applied for a loyalty program member. Tracks the enrollment status, promotion status, and progress for a promotion of a member.
  • LoyaltyProgramMember — Represents information about member who belongs to a loyalty program. The member can be individual or corporate type.
  • LoyaltyProgramMemberBadge — Represents a badge that’s assigned to a loyalty program member.
  • LoyaltyProgramMemberCase — Represents a junction between a loyalty program member and a case.
  • LoyaltyProgramMemberMerge — Represents information about merged loyalty program memberships.
  • LoyaltyProgramPartner — Represents partners that are associated with a given loyalty program. Partners can be an accrual partner, a redemption partner, or both.
  • LoyaltyProgramPartnerLedger — Represents the ledger used by a loyalty program to credit points to or debit points from a prepaid partner's points pack or from a postpaid partner’s point balance. This ledger can also be used to add or deduct the monetary value of points from the partner's postpaid bill.
  • LoyaltyProgramProcess — Represents information about loyalty program processes that determine how transaction journals are processed.
  • LoyaltyProgramWidget — Represents the configuration of a widget that a user can apply to the out-of-the-box widget templates and FlexCards provided by Omnistudio. The configuration helps implement custom UI changes, such as promotion type, promotion tag line, and so on for a user.

Install

rawctx snapshot-download @pasar6987/sf-loyalty-loyalty-program

Structure review

Inspect package structure after the usage path is clear

Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.

Models1
datasets23
measures40
dimensions272
relationships3
AI context1
models/sf-loyalty-loyalty-program.osi.yamlAI context included
23 datasets40 measures272 dimensions3 relationships