@farthershore/client 0.4.0 → 0.5.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.
@@ -83,14 +83,14 @@ export declare const webhookOperations: {
83
83
  "webhooks.eventType.read": import("./define.js").OperationEntry<BusinessRef, {
84
84
  data: {
85
85
  events: {
86
- name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached";
86
+ name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed";
87
87
  description: string;
88
88
  }[];
89
89
  };
90
90
  }, {
91
91
  data: {
92
92
  events: {
93
- name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached";
93
+ name: "subscription.created" | "subscription.updated" | "subscription.canceled" | "payment.succeeded" | "payment.failed" | "entitlement.changed" | "usage.threshold_reached" | "customer.created" | "customer.deleted" | "customer.member.added" | "customer.member.updated" | "customer.member.removed";
94
94
  description: string;
95
95
  }[];
96
96
  };
@@ -433,11 +433,14 @@ export type TestPersonaBootstrapResult = Schemas["TestPersonaBootstrapResponse"]
433
433
  export type TestPersonaRotateResult = Schemas["TestPersonaRotateResponse"];
434
434
  /** `DELETE …/test/personas/:id`: the deletion receipt. */
435
435
  export type TestPersonaDeleteResult = Schemas["TestPersonaDeleteResponse"];
436
- /** A persona handoff plus the CLI-process-only local-preview proxy lease. */
436
+ /** A persona handoff plus the CLI-only credential for a local signed-in preview. */
437
437
  export type PersonaLocalPreviewLease = {
438
438
  data: PersonaHandoff["data"] & {
439
439
  localProxyLease: string;
440
440
  localProxyLeaseExpiresAt: string;
441
441
  };
442
442
  };
443
+ /** Target and receipt for undoing a prior publish. */
444
+ export type RollbackBusinessBody = Schemas["ManagementRollbackRequest"];
445
+ export type RollbackBusinessResult = Schemas["ManagementRollbackResponse"];
443
446
  export {};
@@ -3,6 +3,6 @@
3
3
  * `package.json` by `version.test.ts` and checked in the built bundle by
4
4
  * `scripts/check-pack.mjs`.
5
5
  */
6
- export declare const CLIENT_VERSION = "0.4.0";
6
+ export declare const CLIENT_VERSION = "0.5.0";
7
7
  /** The `x-fs-client` product token for this package. */
8
- export declare const CLIENT_PRODUCT = "@farthershore/client/0.4.0";
8
+ export declare const CLIENT_PRODUCT = "@farthershore/client/0.5.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farthershore/client",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Farther Shore API client: the authenticated HTTP transport, credential sources, and typed errors shared by the CLI and agent tooling",
5
5
  "type": "module",
6
6
  "sideEffects": false,