skapi-js 2.2.11 → 2.2.12

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/skapi.d.mts CHANGED
@@ -1238,6 +1238,8 @@ type Ticket = {
1238
1238
  updated?: number;
1239
1239
  condition?: TicketCondition;
1240
1240
  actions?: TicketAction[];
1241
+ /** false while the ticket is switched off: it answers TICKET_DISABLED and its queued runs are skipped. */
1242
+ enabled?: boolean;
1241
1243
  /**
1242
1244
  * true on a ticket saved before this release (the dashboard marks it "previous rules"). It
1243
1245
  * keeps running by the rules it was saved with until it is registered again, which applies
@@ -1526,6 +1528,7 @@ declare class Skapi {
1526
1528
  private _updateConnection;
1527
1529
  private registerTicket;
1528
1530
  private unregisterTicket;
1531
+ private updateTicket;
1529
1532
  /**
1530
1533
  * Returns the current SDK version and prints runtime version details in browser environments.
1531
1534
  * @returns A promise that resolves to Promise<string>.
package/dist/skapi.d.ts CHANGED
@@ -1238,6 +1238,8 @@ type Ticket = {
1238
1238
  updated?: number;
1239
1239
  condition?: TicketCondition;
1240
1240
  actions?: TicketAction[];
1241
+ /** false while the ticket is switched off: it answers TICKET_DISABLED and its queued runs are skipped. */
1242
+ enabled?: boolean;
1241
1243
  /**
1242
1244
  * true on a ticket saved before this release (the dashboard marks it "previous rules"). It
1243
1245
  * keeps running by the rules it was saved with until it is registered again, which applies
@@ -1526,6 +1528,7 @@ declare class Skapi {
1526
1528
  private _updateConnection;
1527
1529
  private registerTicket;
1528
1530
  private unregisterTicket;
1531
+ private updateTicket;
1529
1532
  /**
1530
1533
  * Returns the current SDK version and prints runtime version details in browser environments.
1531
1534
  * @returns A promise that resolves to Promise<string>.