HubPublic
Package control recordPublished package

@pasar6987/sf-loyalty-promotions

Promotional campaigns with rules, stages, limits, market segments, partner products, and usage tracking.

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

Release path

1.0.1Published Mar 4, 2026

Publisher

@pasar6987Published Mar 4, 2026

Structure snapshot

13 datasets18 measures · 125 dimensions

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

salesforcecrmloyaltypromotions

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-promotions

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-promotions")
prompt = rawctx.to_prompt(
    "@pasar6987/sf-loyalty-promotions",
    datasets=["PromotionActionableList", "PromotionExecEvalGrpItem"],
    max_tokens=2000,
)

print(model.datasets)        # ["PromotionActionableList", "PromotionExecEvalGrpItem", "PromotionLimit"]
print(model.measures)        # [Measure(name="PromotionLimit.Value", ...), Measure(name="PromotionLimitUsage.Usage", ...), Measure(name="PromotionPartyUsage.IssuedVoucherCount", ...)]
print(model.dimensions)      # [Dimension(name="ActionableListId", ...), Dimension(name="LastReferencedDate", ...), Dimension(name="LastViewedDate", ...)]
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-promotions

Promotional campaigns with rules, stages, limits, market segments, partner products, and usage tracking.

Overview

Count
Objects (Datasets)13
Dimensions125
Measures18
Relationships0

Objects

  • PromotionActionableList — Represent of a junction between a promotion and an actionable list.
  • PromotionExecEvalGrpItem — Represents either a promotion or a promotion group in a promotion execution evaluation group.
  • PromotionLimit — Represents the limit of a promotion.
  • PromotionLimitUsage — Represents information about the total usage of a promotion limit.
  • PromotionLoyaltyPtnrProdt — Represents a relationship between a promotion and a loyalty partner product. It indicates the products or product categories that are applied to a particular promotion.
  • PromotionMarketSegment — Represents a market segment within B2B Commerce that promotions can be assigned to.
  • PromotionPartyUsage — Represents the details of number of times a promotion has been used by a customer.
  • PromotionPartyUsageDetail — Represents the amount that's discounted by a promotion for a transaction journal.
  • PromotionRuleTemplate — Represents the configuration of a promotion rule template.
  • PromotionStage — Represents a stage when the promotion sends an email to the promotion's target audience. With Global Promotions Management, a promotion launch email is sent after the promotion is activated.
  • PromotionStageEmailTemplate — Represents a junction between a promotion stage and an email template. With Global Promotions Management, a promotion's launch email is associated with the promotion's Promotion Launched stage. You can customize the promotion launch email based on your company’s branding.
  • Voucher — Represents details about a voucher that's issued to a loyalty program member.
  • VoucherDefinition — Represents details about a voucher definition that’s associated with a loyalty program.

Install

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

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
Datasets13
Measures18
Dimensions125
Relationships0
AI context1
models/sf-loyalty-promotions.osi.yamlAI context included
13 datasets18 measures125 dimensions0 relationships

Topology

Semantic graph

Use the graph last, once provenance, documentation, and the runnable path are already clear.

Semantic Graph

Topology counts appear after the graph loads.

Loading graph

Semantic topology is still loading

Counts and graph nodes appear after the latest published summary has been fetched.