@flowio/types 9.4.0 → 9.4.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/api.d.ts CHANGED
@@ -2384,6 +2384,10 @@ declare namespace io.flow.v0.models {
2384
2384
  readonly 'from': string;
2385
2385
  readonly 'to': string;
2386
2386
  }
2387
+ interface DatetimeWithTimezone {
2388
+ readonly 'datetime': string;
2389
+ readonly 'timezone': string;
2390
+ }
2387
2391
  interface DdpRatecardFee {
2388
2392
  readonly 'discriminator': 'ddp_ratecard_fee';
2389
2393
  readonly 'amount': number;
@@ -2613,7 +2617,9 @@ declare namespace io.flow.v0.models {
2613
2617
  readonly 'id': string;
2614
2618
  readonly 'name': string;
2615
2619
  readonly 'from': string;
2620
+ readonly 'from_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2616
2621
  readonly 'to'?: string;
2622
+ readonly 'to_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2617
2623
  readonly 'status': io.flow.v0.enums.DiscountRuleStatus;
2618
2624
  readonly 'experience_keys': string[];
2619
2625
  readonly 'rule': io.flow.v0.models.DiscountRule;
@@ -2621,7 +2627,9 @@ declare namespace io.flow.v0.models {
2621
2627
  interface DiscountRuleSettingsForm {
2622
2628
  readonly 'name': string;
2623
2629
  readonly 'from': string;
2630
+ readonly 'from_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2624
2631
  readonly 'to'?: string;
2632
+ readonly 'to_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2625
2633
  readonly 'experience_keys': string[];
2626
2634
  readonly 'rule': io.flow.v0.models.DiscountRule;
2627
2635
  }
@@ -7643,6 +7651,7 @@ export declare type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
7643
7651
  export declare type Cvv = io.flow.v0.models.Cvv;
7644
7652
  export declare type CvvCode = io.flow.v0.enums.CvvCode;
7645
7653
  export declare type DatetimeRange = io.flow.v0.models.DatetimeRange;
7654
+ export declare type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
7646
7655
  export declare type DayOfWeek = io.flow.v0.enums.DayOfWeek;
7647
7656
  export declare type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
7648
7657
  export declare type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "9.4.0",
3
+ "version": "9.4.1",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,5 +27,5 @@
27
27
  "prettier": "^1.18.2",
28
28
  "typescript": "3.8.3"
29
29
  },
30
- "gitHead": "7e716ce0d6c579913949447eb631cd50def2793c"
30
+ "gitHead": "3622289810f0c9ce55ebfed3f0d159bbdc9fd7f8"
31
31
  }
package/src/api.ts CHANGED
@@ -2705,6 +2705,11 @@ declare namespace io.flow.v0.models {
2705
2705
  readonly 'to': string;
2706
2706
  }
2707
2707
 
2708
+ interface DatetimeWithTimezone {
2709
+ readonly 'datetime': string;
2710
+ readonly 'timezone': string;
2711
+ }
2712
+
2708
2713
  interface DdpRatecardFee {
2709
2714
  readonly 'discriminator': 'ddp_ratecard_fee';
2710
2715
  readonly 'amount': number;
@@ -2969,7 +2974,9 @@ declare namespace io.flow.v0.models {
2969
2974
  readonly 'id': string;
2970
2975
  readonly 'name': string;
2971
2976
  readonly 'from': string;
2977
+ readonly 'from_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2972
2978
  readonly 'to'?: string;
2979
+ readonly 'to_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2973
2980
  readonly 'status': io.flow.v0.enums.DiscountRuleStatus;
2974
2981
  readonly 'experience_keys': string[];
2975
2982
  readonly 'rule': io.flow.v0.models.DiscountRule;
@@ -2978,7 +2985,9 @@ declare namespace io.flow.v0.models {
2978
2985
  interface DiscountRuleSettingsForm {
2979
2986
  readonly 'name': string;
2980
2987
  readonly 'from': string;
2988
+ readonly 'from_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2981
2989
  readonly 'to'?: string;
2990
+ readonly 'to_with_tz'?: io.flow.v0.models.DatetimeWithTimezone;
2982
2991
  readonly 'experience_keys': string[];
2983
2992
  readonly 'rule': io.flow.v0.models.DiscountRule;
2984
2993
  }
@@ -8758,6 +8767,7 @@ export type CustomerUpserted = io.flow.v0.models.CustomerUpserted;
8758
8767
  export type Cvv = io.flow.v0.models.Cvv;
8759
8768
  export type CvvCode = io.flow.v0.enums.CvvCode;
8760
8769
  export type DatetimeRange = io.flow.v0.models.DatetimeRange;
8770
+ export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone;
8761
8771
  export type DayOfWeek = io.flow.v0.enums.DayOfWeek;
8762
8772
  export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee;
8763
8773
  export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty;