@tinkerlandai/indiana-react-native 0.7.0 → 0.8.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
@@ -111,8 +111,8 @@ declare const usageResponseSchema: z.ZodObject<{
111
111
  }>>;
112
112
  createdAt: z.ZodISODateTime;
113
113
  reservationStatus: z.ZodNullable<z.ZodEnum<{
114
- expired: "expired";
115
114
  pending: "pending";
115
+ expired: "expired";
116
116
  confirmed: "confirmed";
117
117
  released: "released";
118
118
  }>>;
@@ -235,7 +235,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
235
235
  name: string;
236
236
  groupId: string | null;
237
237
  membershipType: "main" | "addon";
238
- status: "active" | "scheduled" | "expired" | "past_due" | "unknown" | "pending" | "trial" | "paused" | "ended" | "trialing";
238
+ status: "unknown" | "pending" | "active" | "expired" | "scheduled" | "trial" | "past_due" | "paused" | "ended" | "trialing";
239
239
  cancelAtPeriodEnd: boolean;
240
240
  accessEnabled: boolean;
241
241
  renewalChange: {
@@ -251,7 +251,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
251
251
  fromQuantity: number;
252
252
  toQuantity: number;
253
253
  } | null;
254
- status: "scheduled" | "pending" | "prepared" | "confirmed" | "quoted";
254
+ status: "pending" | "scheduled" | "prepared" | "confirmed" | "quoted";
255
255
  feature?: {
256
256
  internal_feature_id: string;
257
257
  name: string;
@@ -312,11 +312,11 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
312
312
  productId: string;
313
313
  productVersionId: string;
314
314
  name: string;
315
- action: "upgrade" | "purchase" | "addon" | "topup";
315
+ action: "addon" | "upgrade" | "purchase" | "topup";
316
316
  membershipId: string | null;
317
317
  currency: "USD" | "EUR" | "CNY" | "GBP" | "JPY" | "CAD" | "AUD" | "NZD" | "CHF" | "HKD" | "SGD" | "KRW" | "INR" | "BRL" | "MXN" | "TWD" | "THB" | "IDR" | "MYR" | "PHP" | "VND" | "ZAR" | "AED" | "SAR" | "SEK" | "NOK" | "DKK" | "PLN" | "CZK" | "HUF" | "ILS" | "TRY" | "RON";
318
318
  amountMinor: string;
319
- interval: "week" | "month" | "year" | "free" | "one_time";
319
+ interval: "free" | "month" | "year" | "week" | "one_time";
320
320
  intervalCount: number;
321
321
  }[];
322
322
  } | null;
@@ -337,7 +337,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
337
337
  accepted: boolean;
338
338
  reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
339
339
  createdAt: string;
340
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
340
+ reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
341
341
  expiresAt: string | null;
342
342
  allocations: ({
343
343
  funding: "prepaid";
package/dist/index.d.ts CHANGED
@@ -111,8 +111,8 @@ declare const usageResponseSchema: z.ZodObject<{
111
111
  }>>;
112
112
  createdAt: z.ZodISODateTime;
113
113
  reservationStatus: z.ZodNullable<z.ZodEnum<{
114
- expired: "expired";
115
114
  pending: "pending";
115
+ expired: "expired";
116
116
  confirmed: "confirmed";
117
117
  released: "released";
118
118
  }>>;
@@ -235,7 +235,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
235
235
  name: string;
236
236
  groupId: string | null;
237
237
  membershipType: "main" | "addon";
238
- status: "active" | "scheduled" | "expired" | "past_due" | "unknown" | "pending" | "trial" | "paused" | "ended" | "trialing";
238
+ status: "unknown" | "pending" | "active" | "expired" | "scheduled" | "trial" | "past_due" | "paused" | "ended" | "trialing";
239
239
  cancelAtPeriodEnd: boolean;
240
240
  accessEnabled: boolean;
241
241
  renewalChange: {
@@ -251,7 +251,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
251
251
  fromQuantity: number;
252
252
  toQuantity: number;
253
253
  } | null;
254
- status: "scheduled" | "pending" | "prepared" | "confirmed" | "quoted";
254
+ status: "pending" | "scheduled" | "prepared" | "confirmed" | "quoted";
255
255
  feature?: {
256
256
  internal_feature_id: string;
257
257
  name: string;
@@ -312,11 +312,11 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
312
312
  productId: string;
313
313
  productVersionId: string;
314
314
  name: string;
315
- action: "upgrade" | "purchase" | "addon" | "topup";
315
+ action: "addon" | "upgrade" | "purchase" | "topup";
316
316
  membershipId: string | null;
317
317
  currency: "USD" | "EUR" | "CNY" | "GBP" | "JPY" | "CAD" | "AUD" | "NZD" | "CHF" | "HKD" | "SGD" | "KRW" | "INR" | "BRL" | "MXN" | "TWD" | "THB" | "IDR" | "MYR" | "PHP" | "VND" | "ZAR" | "AED" | "SAR" | "SEK" | "NOK" | "DKK" | "PLN" | "CZK" | "HUF" | "ILS" | "TRY" | "RON";
318
318
  amountMinor: string;
319
- interval: "week" | "month" | "year" | "free" | "one_time";
319
+ interval: "free" | "month" | "year" | "week" | "one_time";
320
320
  intervalCount: number;
321
321
  }[];
322
322
  } | null;
@@ -337,7 +337,7 @@ declare function createIndianaReactNative(options: IndianaReactNativeOptions): {
337
337
  accepted: boolean;
338
338
  reason: "expired" | "unavailable" | "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | null;
339
339
  createdAt: string;
340
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
340
+ reservationStatus: "pending" | "expired" | "confirmed" | "released" | null;
341
341
  expiresAt: string | null;
342
342
  allocations: ({
343
343
  funding: "prepaid";