@singi-labs/sifa-sdk 0.19.51 → 0.19.52

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.cjs CHANGED
@@ -7128,7 +7128,7 @@ function describeSifaRecord(collection, value) {
7128
7128
  }
7129
7129
 
7130
7130
  // src/index.ts
7131
- var SIFA_SDK_VERSION = "0.19.51";
7131
+ var SIFA_SDK_VERSION = "0.19.52";
7132
7132
 
7133
7133
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
7134
7134
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
package/dist/index.js CHANGED
@@ -347,7 +347,7 @@ import {
347
347
  roadmapIssueUrl
348
348
  } from "./roadmap/index.js";
349
349
  import { SIFA_REPO_GROUPS, describeSifaRecord, repoGroupForCollection } from "./repo/index.js";
350
- var SIFA_SDK_VERSION = "0.19.51";
350
+ var SIFA_SDK_VERSION = "0.19.52";
351
351
  export {
352
352
  ACTIVITY_TIERS,
353
353
  ACTIVITY_VERBS,
@@ -408,6 +408,7 @@ type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
408
408
  declare const RpgStatusResponseSchema: z.ZodObject<{
409
409
  hasCharacter: z.ZodBoolean;
410
410
  canWriteItems: z.ZodBoolean;
411
+ canCollect: z.ZodDefault<z.ZodBoolean>;
411
412
  items: z.ZodArray<z.ZodObject<{
412
413
  id: z.ZodString;
413
414
  title: z.ZodString;
@@ -408,6 +408,7 @@ type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;
408
408
  declare const RpgStatusResponseSchema: z.ZodObject<{
409
409
  hasCharacter: z.ZodBoolean;
410
410
  canWriteItems: z.ZodBoolean;
411
+ canCollect: z.ZodDefault<z.ZodBoolean>;
411
412
  items: z.ZodArray<z.ZodObject<{
412
413
  id: z.ZodString;
413
414
  title: z.ZodString;
@@ -1301,6 +1301,8 @@ var RpgStatusResponseSchema = zod.z.object({
1301
1301
  hasCharacter: zod.z.boolean(),
1302
1302
  /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */
1303
1303
  canWriteItems: zod.z.boolean(),
1304
+ /** True when collecting (Sifa writing the gift) is switched on for this user. */
1305
+ canCollect: zod.z.boolean().default(false),
1304
1306
  items: zod.z.array(RpgItemStatusSchema)
1305
1307
  });
1306
1308
  async function fetchRpgStatus(config, options = {}) {