@smplkit/sdk 1.7.0 → 1.7.1

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.d.cts CHANGED
@@ -604,6 +604,67 @@ interface components {
604
604
  /** Value */
605
605
  value: unknown;
606
606
  };
607
+ /** ManualReviewItem */
608
+ ManualReviewItem: {
609
+ /** Flag */
610
+ flag: string;
611
+ /** Environment */
612
+ environment: string;
613
+ /** Rule Index */
614
+ rule_index: number;
615
+ /** Reason */
616
+ reason: string;
617
+ };
618
+ /** RemoveReferencesAttributes */
619
+ RemoveReferencesAttributes: {
620
+ /** Flags Modified */
621
+ flags_modified: string[];
622
+ /** Rules Removed */
623
+ rules_removed: number;
624
+ /** Rules Needing Manual Review */
625
+ rules_needing_manual_review: components["schemas"]["ManualReviewItem"][];
626
+ };
627
+ /** RemoveReferencesRequest */
628
+ RemoveReferencesRequest: {
629
+ /** Context */
630
+ context?: string | null;
631
+ /** Context Type */
632
+ context_type?: string | null;
633
+ };
634
+ /** RemoveReferencesResponse */
635
+ RemoveReferencesResponse: {
636
+ data: components["schemas"]["RemoveReferencesResultResource"];
637
+ };
638
+ /**
639
+ * RemoveReferencesResultResource
640
+ * @example {
641
+ * "attributes": {
642
+ * "flags_modified": [
643
+ * "checkout-v2",
644
+ * "banner-color"
645
+ * ],
646
+ * "rules_needing_manual_review": [
647
+ * {
648
+ * "environment": "production",
649
+ * "flag": "pricing-tier",
650
+ * "reason": "Context reference inside an AND expression — removing would broaden the rule",
651
+ * "rule_index": 2
652
+ * }
653
+ * ],
654
+ * "rules_removed": 3
655
+ * },
656
+ * "type": "remove_references_result"
657
+ * }
658
+ */
659
+ RemoveReferencesResultResource: {
660
+ /**
661
+ * Type
662
+ * @default remove_references_result
663
+ * @constant
664
+ */
665
+ type: "remove_references_result";
666
+ attributes: components["schemas"]["RemoveReferencesAttributes"];
667
+ };
607
668
  /** UsageAttributes */
608
669
  UsageAttributes: {
609
670
  /** Limit Key */
package/dist/index.d.ts CHANGED
@@ -604,6 +604,67 @@ interface components {
604
604
  /** Value */
605
605
  value: unknown;
606
606
  };
607
+ /** ManualReviewItem */
608
+ ManualReviewItem: {
609
+ /** Flag */
610
+ flag: string;
611
+ /** Environment */
612
+ environment: string;
613
+ /** Rule Index */
614
+ rule_index: number;
615
+ /** Reason */
616
+ reason: string;
617
+ };
618
+ /** RemoveReferencesAttributes */
619
+ RemoveReferencesAttributes: {
620
+ /** Flags Modified */
621
+ flags_modified: string[];
622
+ /** Rules Removed */
623
+ rules_removed: number;
624
+ /** Rules Needing Manual Review */
625
+ rules_needing_manual_review: components["schemas"]["ManualReviewItem"][];
626
+ };
627
+ /** RemoveReferencesRequest */
628
+ RemoveReferencesRequest: {
629
+ /** Context */
630
+ context?: string | null;
631
+ /** Context Type */
632
+ context_type?: string | null;
633
+ };
634
+ /** RemoveReferencesResponse */
635
+ RemoveReferencesResponse: {
636
+ data: components["schemas"]["RemoveReferencesResultResource"];
637
+ };
638
+ /**
639
+ * RemoveReferencesResultResource
640
+ * @example {
641
+ * "attributes": {
642
+ * "flags_modified": [
643
+ * "checkout-v2",
644
+ * "banner-color"
645
+ * ],
646
+ * "rules_needing_manual_review": [
647
+ * {
648
+ * "environment": "production",
649
+ * "flag": "pricing-tier",
650
+ * "reason": "Context reference inside an AND expression — removing would broaden the rule",
651
+ * "rule_index": 2
652
+ * }
653
+ * ],
654
+ * "rules_removed": 3
655
+ * },
656
+ * "type": "remove_references_result"
657
+ * }
658
+ */
659
+ RemoveReferencesResultResource: {
660
+ /**
661
+ * Type
662
+ * @default remove_references_result
663
+ * @constant
664
+ */
665
+ type: "remove_references_result";
666
+ attributes: components["schemas"]["RemoveReferencesAttributes"];
667
+ };
607
668
  /** UsageAttributes */
608
669
  UsageAttributes: {
609
670
  /** Limit Key */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplkit/sdk",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "type": "module",
5
5
  "description": "Official TypeScript SDK for the smplkit platform",
6
6
  "main": "./dist/index.cjs",