@chainpatrol/sdk 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -7000,7 +7000,8 @@ function friendlyDateTime(dateTimeish) {
7000
7000
  // ../../internal/database/src/generated/prisma/enums.ts
7001
7001
  var BrandType = {
7002
7002
  INDIVIDUAL: "INDIVIDUAL",
7003
- ORGANIZATION: "ORGANIZATION"
7003
+ ORGANIZATION: "ORGANIZATION",
7004
+ PRODUCT: "PRODUCT"
7004
7005
  };
7005
7006
  var SubscriptionStatus = {
7006
7007
  POC: "POC",
@@ -7114,7 +7115,8 @@ var AssetType = {
7114
7115
  ARCHIVE_ORG: "ARCHIVE_ORG",
7115
7116
  FIVE_HUNDRED_PX: "FIVE_HUNDRED_PX",
7116
7117
  LUMA: "LUMA",
7117
- SMARTMONEYMATCH: "SMARTMONEYMATCH"
7118
+ SMARTMONEYMATCH: "SMARTMONEYMATCH",
7119
+ APK_GOLD: "APK_GOLD"
7118
7120
  };
7119
7121
  var LivenessStatus = {
7120
7122
  UNKNOWN: "UNKNOWN",
@@ -7886,8 +7888,9 @@ z.object({}).describe(
7886
7888
  `List organization brands
7887
7889
 
7888
7890
  Returns all brands belonging to the organization associated with your API key,
7889
- including sub-brands (\`ORGANIZATION\`) and individual / employee brands
7890
- (\`INDIVIDUAL\`). Soft-deleted brands are excluded.`
7891
+ including sub-brands (\`ORGANIZATION\`), individual / employee brands
7892
+ (\`INDIVIDUAL\`), and product brands (\`PRODUCT\`). Soft-deleted brands are
7893
+ excluded.`
7891
7894
  );
7892
7895
  var brandLegalDocumentSchema = z.object({
7893
7896
  present: z.boolean().describe("Whether the brand has this document attached"),
@@ -7914,7 +7917,7 @@ var brandItemSchema = z.object({
7914
7917
  slug: z.string().describe("Brand slug (stable, URL-safe identifier)"),
7915
7918
  name: z.string().describe("Display name"),
7916
7919
  type: z.nativeEnum(BrandType).describe(
7917
- "Brand type: `ORGANIZATION` for parent / product brands, `INDIVIDUAL` for employee or person brands"
7920
+ "Brand type: `ORGANIZATION` for parent brands, `INDIVIDUAL` for employee or person brands, `PRODUCT` for a specific product or service offering"
7918
7921
  ),
7919
7922
  description: z.string().nullable().describe("Free-form description, if set"),
7920
7923
  avatarUrl: z.string().nullable().describe("URL of the brand's avatar / logo image"),
@@ -7924,7 +7927,9 @@ var brandItemSchema = z.object({
7924
7927
  includedTerms: z.array(z.string()).describe("Terms that should be included when matching this brand"),
7925
7928
  excludedTerms: z.array(z.string()).describe("Terms that should be excluded when matching this brand"),
7926
7929
  tickers: z.array(z.string()).describe("Ticker symbols associated with the brand (e.g. `$JUP`)"),
7927
- brandGroupId: z.number().nullable().describe("Group this brand belongs to (only set for `INDIVIDUAL` brands)"),
7930
+ brandGroupId: z.number().nullable().describe(
7931
+ "Group this brand belongs to (only set for `INDIVIDUAL` and `PRODUCT` brands)"
7932
+ ),
7928
7933
  createdAt: z.date().describe("When the brand was created"),
7929
7934
  useOrganizationDocs: z.boolean().describe(
7930
7935
  "When true, this brand inherits its Letter of Authorization and Power of Attorney from the organization rather than carrying its own. The `legalDocuments` block below always reflects the brand-level attachments \u2014 read `/user/orgs/{slug}` for the org-level fallbacks."