@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.
- package/CHANGELOG.md +8 -0
- package/README.md +4 -2
- package/dist/index.js +148 -96
- package/dist/types/api.generated.d.ts +3 -33
- package/dist/types/credentials.d.ts +6 -2
- package/dist/types/generated/schemas.d.ts +19 -14
- package/dist/types/helpers/refs.d.ts +2 -2
- package/dist/types/operations/billing.d.ts +0 -7
- package/dist/types/operations/businesses.d.ts +5 -6
- package/dist/types/operations/define.d.ts +7 -1
- package/dist/types/operations/index.d.ts +13 -41
- package/dist/types/operations/organizations.d.ts +0 -12
- package/dist/types/operations/platform.d.ts +6 -6
- package/dist/types/operations/webhooks.d.ts +2 -2
- package/dist/types/types.d.ts +4 -1
- package/dist/types/version.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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-
|
|
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 {};
|
package/dist/types/version.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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,
|