@tinkerlandai/indiana-react-native 0.8.3 → 0.8.5

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
@@ -4405,6 +4405,10 @@ declare const apiOperations: {
4405
4405
  stickyBucketUsed: z.ZodOptional<z.ZodBoolean>;
4406
4406
  }, z.core.$strict>>;
4407
4407
  }, z.core.$strict>>;
4408
+ merchandiseContext: z.ZodOptional<z.ZodObject<{
4409
+ merchandiseId: z.ZodUUID;
4410
+ merchandise: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
4411
+ }, z.core.$strict>>;
4408
4412
  }, z.core.$strict>;
4409
4413
  };
4410
4414
  readonly trackEvents: {
@@ -4418,6 +4422,11 @@ declare const apiOperations: {
4418
4422
  eventUuid: z.ZodUUID;
4419
4423
  timestamp: z.ZodISODateTime;
4420
4424
  name: z.ZodString;
4425
+ merchandise: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4426
+ id: z.ZodString;
4427
+ }, z.core.$strict>, z.ZodObject<{
4428
+ internalId: z.ZodUUID;
4429
+ }, z.core.$strict>]>>;
4421
4430
  properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
4422
4431
  deviceId: z.ZodOptional<z.ZodString>;
4423
4432
  sessionId: z.ZodOptional<z.ZodString>;
@@ -13606,13 +13615,22 @@ declare const apiOperations: {
13606
13615
  }, z.core.$strict>, z.ZodObject<{
13607
13616
  type: z.ZodLiteral<"plans">;
13608
13617
  planIds: z.ZodArray<z.ZodUUID>;
13618
+ }, z.core.$strict>, z.ZodObject<{
13619
+ type: z.ZodLiteral<"merchandise">;
13620
+ scope: z.ZodObject<{
13621
+ type: z.ZodEnum<{
13622
+ all: "all";
13623
+ condition: "condition";
13624
+ selected: "selected";
13625
+ }>;
13626
+ }, z.core.$strict>;
13609
13627
  }, z.core.$strict>], "type">;
13610
13628
  }, z.core.$strict>;
13611
13629
  }, z.core.$strict>>;
13612
13630
  reason: z.ZodNullable<z.ZodEnum<{
13631
+ inactive: "inactive";
13613
13632
  claim_disabled: "claim_disabled";
13614
13633
  unavailable: "unavailable";
13615
- inactive: "inactive";
13616
13634
  outside_window: "outside_window";
13617
13635
  not_targeted: "not_targeted";
13618
13636
  not_first_purchase: "not_first_purchase";
@@ -13706,6 +13724,15 @@ declare const apiOperations: {
13706
13724
  }, z.core.$strict>, z.ZodObject<{
13707
13725
  type: z.ZodLiteral<"plans">;
13708
13726
  planIds: z.ZodArray<z.ZodUUID>;
13727
+ }, z.core.$strict>, z.ZodObject<{
13728
+ type: z.ZodLiteral<"merchandise">;
13729
+ scope: z.ZodObject<{
13730
+ type: z.ZodEnum<{
13731
+ all: "all";
13732
+ condition: "condition";
13733
+ selected: "selected";
13734
+ }>;
13735
+ }, z.core.$strict>;
13709
13736
  }, z.core.$strict>], "type">;
13710
13737
  }, z.core.$strict>;
13711
13738
  }, z.core.$strict>>;
@@ -13804,13 +13831,22 @@ declare const apiOperations: {
13804
13831
  }, z.core.$strict>, z.ZodObject<{
13805
13832
  type: z.ZodLiteral<"plans">;
13806
13833
  planIds: z.ZodArray<z.ZodUUID>;
13834
+ }, z.core.$strict>, z.ZodObject<{
13835
+ type: z.ZodLiteral<"merchandise">;
13836
+ scope: z.ZodObject<{
13837
+ type: z.ZodEnum<{
13838
+ all: "all";
13839
+ condition: "condition";
13840
+ selected: "selected";
13841
+ }>;
13842
+ }, z.core.$strict>;
13807
13843
  }, z.core.$strict>], "type">;
13808
13844
  }, z.core.$strict>;
13809
13845
  }, z.core.$strict>>;
13810
13846
  reason: z.ZodNullable<z.ZodEnum<{
13847
+ inactive: "inactive";
13811
13848
  claim_disabled: "claim_disabled";
13812
13849
  unavailable: "unavailable";
13813
- inactive: "inactive";
13814
13850
  outside_window: "outside_window";
13815
13851
  not_targeted: "not_targeted";
13816
13852
  not_first_purchase: "not_first_purchase";
@@ -13825,14 +13861,20 @@ declare const apiOperations: {
13825
13861
  readonly permission: "billing:write";
13826
13862
  readonly audience: "server";
13827
13863
  /** A stable merchant event records paid Coupon use; this does not verify a provider or grant subscription access. */
13828
- readonly request: z.ZodObject<{
13864
+ readonly request: z.ZodUnion<readonly [z.ZodObject<{
13865
+ productVersionId: z.ZodUUID;
13866
+ subscriptionId: z.ZodString;
13829
13867
  customerId: z.ZodUUID;
13830
13868
  eventId: z.ZodString;
13831
13869
  grantId: z.ZodUUID;
13832
- productVersionId: z.ZodUUID;
13833
- subscriptionId: z.ZodString;
13834
13870
  occurredAt: z.ZodISODateTime;
13835
- }, z.core.$strict>;
13871
+ }, z.core.$strict>, z.ZodObject<{
13872
+ merchandiseId: z.ZodUUID;
13873
+ customerId: z.ZodUUID;
13874
+ eventId: z.ZodString;
13875
+ grantId: z.ZodUUID;
13876
+ occurredAt: z.ZodISODateTime;
13877
+ }, z.core.$strict>]>;
13836
13878
  readonly response: z.ZodObject<{
13837
13879
  requestId: z.ZodUUID;
13838
13880
  scope: z.ZodObject<{
@@ -13842,19 +13884,30 @@ declare const apiOperations: {
13842
13884
  live: "live";
13843
13885
  }>;
13844
13886
  }, z.core.$strict>;
13845
- receipt: z.ZodObject<{
13887
+ receipt: z.ZodUnion<readonly [z.ZodObject<{
13888
+ productVersionId: z.ZodUUID;
13889
+ subscriptionId: z.ZodString;
13846
13890
  customerId: z.ZodUUID;
13847
13891
  eventId: z.ZodString;
13848
13892
  grantId: z.ZodUUID;
13849
- productVersionId: z.ZodUUID;
13850
- subscriptionId: z.ZodString;
13851
13893
  occurredAt: z.ZodISODateTime;
13852
13894
  id: z.ZodUUID;
13853
13895
  couponId: z.ZodUUID;
13854
13896
  status: z.ZodLiteral<"redeemed">;
13855
13897
  source: z.ZodLiteral<"merchant">;
13856
13898
  recordedAt: z.ZodISODateTime;
13857
- }, z.core.$strict>;
13899
+ }, z.core.$strict>, z.ZodObject<{
13900
+ merchandiseId: z.ZodUUID;
13901
+ customerId: z.ZodUUID;
13902
+ eventId: z.ZodString;
13903
+ grantId: z.ZodUUID;
13904
+ occurredAt: z.ZodISODateTime;
13905
+ id: z.ZodUUID;
13906
+ couponId: z.ZodUUID;
13907
+ status: z.ZodLiteral<"redeemed">;
13908
+ source: z.ZodLiteral<"merchant">;
13909
+ recordedAt: z.ZodISODateTime;
13910
+ }, z.core.$strict>]>;
13858
13911
  }, z.core.$strict>;
13859
13912
  };
13860
13913
  };
package/dist/index.d.ts CHANGED
@@ -4405,6 +4405,10 @@ declare const apiOperations: {
4405
4405
  stickyBucketUsed: z.ZodOptional<z.ZodBoolean>;
4406
4406
  }, z.core.$strict>>;
4407
4407
  }, z.core.$strict>>;
4408
+ merchandiseContext: z.ZodOptional<z.ZodObject<{
4409
+ merchandiseId: z.ZodUUID;
4410
+ merchandise: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
4411
+ }, z.core.$strict>>;
4408
4412
  }, z.core.$strict>;
4409
4413
  };
4410
4414
  readonly trackEvents: {
@@ -4418,6 +4422,11 @@ declare const apiOperations: {
4418
4422
  eventUuid: z.ZodUUID;
4419
4423
  timestamp: z.ZodISODateTime;
4420
4424
  name: z.ZodString;
4425
+ merchandise: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4426
+ id: z.ZodString;
4427
+ }, z.core.$strict>, z.ZodObject<{
4428
+ internalId: z.ZodUUID;
4429
+ }, z.core.$strict>]>>;
4421
4430
  properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
4422
4431
  deviceId: z.ZodOptional<z.ZodString>;
4423
4432
  sessionId: z.ZodOptional<z.ZodString>;
@@ -13606,13 +13615,22 @@ declare const apiOperations: {
13606
13615
  }, z.core.$strict>, z.ZodObject<{
13607
13616
  type: z.ZodLiteral<"plans">;
13608
13617
  planIds: z.ZodArray<z.ZodUUID>;
13618
+ }, z.core.$strict>, z.ZodObject<{
13619
+ type: z.ZodLiteral<"merchandise">;
13620
+ scope: z.ZodObject<{
13621
+ type: z.ZodEnum<{
13622
+ all: "all";
13623
+ condition: "condition";
13624
+ selected: "selected";
13625
+ }>;
13626
+ }, z.core.$strict>;
13609
13627
  }, z.core.$strict>], "type">;
13610
13628
  }, z.core.$strict>;
13611
13629
  }, z.core.$strict>>;
13612
13630
  reason: z.ZodNullable<z.ZodEnum<{
13631
+ inactive: "inactive";
13613
13632
  claim_disabled: "claim_disabled";
13614
13633
  unavailable: "unavailable";
13615
- inactive: "inactive";
13616
13634
  outside_window: "outside_window";
13617
13635
  not_targeted: "not_targeted";
13618
13636
  not_first_purchase: "not_first_purchase";
@@ -13706,6 +13724,15 @@ declare const apiOperations: {
13706
13724
  }, z.core.$strict>, z.ZodObject<{
13707
13725
  type: z.ZodLiteral<"plans">;
13708
13726
  planIds: z.ZodArray<z.ZodUUID>;
13727
+ }, z.core.$strict>, z.ZodObject<{
13728
+ type: z.ZodLiteral<"merchandise">;
13729
+ scope: z.ZodObject<{
13730
+ type: z.ZodEnum<{
13731
+ all: "all";
13732
+ condition: "condition";
13733
+ selected: "selected";
13734
+ }>;
13735
+ }, z.core.$strict>;
13709
13736
  }, z.core.$strict>], "type">;
13710
13737
  }, z.core.$strict>;
13711
13738
  }, z.core.$strict>>;
@@ -13804,13 +13831,22 @@ declare const apiOperations: {
13804
13831
  }, z.core.$strict>, z.ZodObject<{
13805
13832
  type: z.ZodLiteral<"plans">;
13806
13833
  planIds: z.ZodArray<z.ZodUUID>;
13834
+ }, z.core.$strict>, z.ZodObject<{
13835
+ type: z.ZodLiteral<"merchandise">;
13836
+ scope: z.ZodObject<{
13837
+ type: z.ZodEnum<{
13838
+ all: "all";
13839
+ condition: "condition";
13840
+ selected: "selected";
13841
+ }>;
13842
+ }, z.core.$strict>;
13807
13843
  }, z.core.$strict>], "type">;
13808
13844
  }, z.core.$strict>;
13809
13845
  }, z.core.$strict>>;
13810
13846
  reason: z.ZodNullable<z.ZodEnum<{
13847
+ inactive: "inactive";
13811
13848
  claim_disabled: "claim_disabled";
13812
13849
  unavailable: "unavailable";
13813
- inactive: "inactive";
13814
13850
  outside_window: "outside_window";
13815
13851
  not_targeted: "not_targeted";
13816
13852
  not_first_purchase: "not_first_purchase";
@@ -13825,14 +13861,20 @@ declare const apiOperations: {
13825
13861
  readonly permission: "billing:write";
13826
13862
  readonly audience: "server";
13827
13863
  /** A stable merchant event records paid Coupon use; this does not verify a provider or grant subscription access. */
13828
- readonly request: z.ZodObject<{
13864
+ readonly request: z.ZodUnion<readonly [z.ZodObject<{
13865
+ productVersionId: z.ZodUUID;
13866
+ subscriptionId: z.ZodString;
13829
13867
  customerId: z.ZodUUID;
13830
13868
  eventId: z.ZodString;
13831
13869
  grantId: z.ZodUUID;
13832
- productVersionId: z.ZodUUID;
13833
- subscriptionId: z.ZodString;
13834
13870
  occurredAt: z.ZodISODateTime;
13835
- }, z.core.$strict>;
13871
+ }, z.core.$strict>, z.ZodObject<{
13872
+ merchandiseId: z.ZodUUID;
13873
+ customerId: z.ZodUUID;
13874
+ eventId: z.ZodString;
13875
+ grantId: z.ZodUUID;
13876
+ occurredAt: z.ZodISODateTime;
13877
+ }, z.core.$strict>]>;
13836
13878
  readonly response: z.ZodObject<{
13837
13879
  requestId: z.ZodUUID;
13838
13880
  scope: z.ZodObject<{
@@ -13842,19 +13884,30 @@ declare const apiOperations: {
13842
13884
  live: "live";
13843
13885
  }>;
13844
13886
  }, z.core.$strict>;
13845
- receipt: z.ZodObject<{
13887
+ receipt: z.ZodUnion<readonly [z.ZodObject<{
13888
+ productVersionId: z.ZodUUID;
13889
+ subscriptionId: z.ZodString;
13846
13890
  customerId: z.ZodUUID;
13847
13891
  eventId: z.ZodString;
13848
13892
  grantId: z.ZodUUID;
13849
- productVersionId: z.ZodUUID;
13850
- subscriptionId: z.ZodString;
13851
13893
  occurredAt: z.ZodISODateTime;
13852
13894
  id: z.ZodUUID;
13853
13895
  couponId: z.ZodUUID;
13854
13896
  status: z.ZodLiteral<"redeemed">;
13855
13897
  source: z.ZodLiteral<"merchant">;
13856
13898
  recordedAt: z.ZodISODateTime;
13857
- }, z.core.$strict>;
13899
+ }, z.core.$strict>, z.ZodObject<{
13900
+ merchandiseId: z.ZodUUID;
13901
+ customerId: z.ZodUUID;
13902
+ eventId: z.ZodString;
13903
+ grantId: z.ZodUUID;
13904
+ occurredAt: z.ZodISODateTime;
13905
+ id: z.ZodUUID;
13906
+ couponId: z.ZodUUID;
13907
+ status: z.ZodLiteral<"redeemed">;
13908
+ source: z.ZodLiteral<"merchant">;
13909
+ recordedAt: z.ZodISODateTime;
13910
+ }, z.core.$strict>]>;
13858
13911
  }, z.core.$strict>;
13859
13912
  };
13860
13913
  };