@sunsteel/contracts 0.102.0 → 0.103.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/dist/index.d.cts +22 -0
- package/dist/index.d.ts +22 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5000,6 +5000,28 @@ interface AccountExportV1 {
|
|
|
5000
5000
|
personalRecords: AccountExportPersonalRecord[];
|
|
5001
5001
|
trainingEvents: AccountExportTrainingEvent[];
|
|
5002
5002
|
goals: AccountExportGoal[];
|
|
5003
|
+
/**
|
|
5004
|
+
* BILL-01: every plan grant the account has had, revoked and expired ones
|
|
5005
|
+
* included, oldest first.
|
|
5006
|
+
*/
|
|
5007
|
+
entitlementGrants?: Array<{
|
|
5008
|
+
planId: string;
|
|
5009
|
+
source: string;
|
|
5010
|
+
startsAt: IsoDateString;
|
|
5011
|
+
expiresAt: IsoDateString | null;
|
|
5012
|
+
revokedAt: IsoDateString | null;
|
|
5013
|
+
note: string | null;
|
|
5014
|
+
createdAt: IsoDateString;
|
|
5015
|
+
}>;
|
|
5016
|
+
/** BILL-01: the account's subscriptions, oldest first. */
|
|
5017
|
+
subscriptions?: Array<{
|
|
5018
|
+
planId: string;
|
|
5019
|
+
status: string;
|
|
5020
|
+
provider: string;
|
|
5021
|
+
externalId: string | null;
|
|
5022
|
+
currentPeriodEnd: IsoDateString | null;
|
|
5023
|
+
createdAt: IsoDateString;
|
|
5024
|
+
}>;
|
|
5003
5025
|
/** PROG-12: every dated body weight and measurement entry. */
|
|
5004
5026
|
bodyMeasurements?: AccountExportBodyMeasurement[];
|
|
5005
5027
|
trainingLocations: AccountExportTrainingLocation[];
|
package/dist/index.d.ts
CHANGED
|
@@ -5000,6 +5000,28 @@ interface AccountExportV1 {
|
|
|
5000
5000
|
personalRecords: AccountExportPersonalRecord[];
|
|
5001
5001
|
trainingEvents: AccountExportTrainingEvent[];
|
|
5002
5002
|
goals: AccountExportGoal[];
|
|
5003
|
+
/**
|
|
5004
|
+
* BILL-01: every plan grant the account has had, revoked and expired ones
|
|
5005
|
+
* included, oldest first.
|
|
5006
|
+
*/
|
|
5007
|
+
entitlementGrants?: Array<{
|
|
5008
|
+
planId: string;
|
|
5009
|
+
source: string;
|
|
5010
|
+
startsAt: IsoDateString;
|
|
5011
|
+
expiresAt: IsoDateString | null;
|
|
5012
|
+
revokedAt: IsoDateString | null;
|
|
5013
|
+
note: string | null;
|
|
5014
|
+
createdAt: IsoDateString;
|
|
5015
|
+
}>;
|
|
5016
|
+
/** BILL-01: the account's subscriptions, oldest first. */
|
|
5017
|
+
subscriptions?: Array<{
|
|
5018
|
+
planId: string;
|
|
5019
|
+
status: string;
|
|
5020
|
+
provider: string;
|
|
5021
|
+
externalId: string | null;
|
|
5022
|
+
currentPeriodEnd: IsoDateString | null;
|
|
5023
|
+
createdAt: IsoDateString;
|
|
5024
|
+
}>;
|
|
5003
5025
|
/** PROG-12: every dated body weight and measurement entry. */
|
|
5004
5026
|
bodyMeasurements?: AccountExportBodyMeasurement[];
|
|
5005
5027
|
trainingLocations: AccountExportTrainingLocation[];
|