@oore/client 0.22.0 → 0.23.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.
@@ -706,6 +706,11 @@ export type CreateProjectEnvironmentRequest = {
706
706
  name: string;
707
707
  rollout_policy?: null | ReleasePolicy;
708
708
  store: ReleaseStore;
709
+ /**
710
+ * App Store track only: submit the version for App Review after a
711
+ * promotion attaches the build.
712
+ */
713
+ submit_for_review?: boolean;
709
714
  track: string;
710
715
  };
711
716
  export type CreateProjectRequest = {
@@ -1699,16 +1704,23 @@ export type ProjectEnvironment = {
1699
1704
  position: number;
1700
1705
  project_id: string;
1701
1706
  /**
1702
- * Whether builds can be promoted into this environment. App Store
1703
- * environments only group the releases that uploads record for now.
1707
+ * Whether builds can be promoted into this environment.
1704
1708
  */
1705
1709
  promotable: boolean;
1706
1710
  /**
1707
1711
  * Staged rollout policy for releases promoted into this environment.
1708
- * Its `approval` is always `none`; use `approval_required`.
1712
+ * Its `approval` is always `none`; use `approval_required`. On the App
1713
+ * Store track, a policy with more than one step turns on Apple's phased
1714
+ * release, which follows Apple's own seven-day schedule.
1709
1715
  */
1710
1716
  rollout_policy: ReleasePolicy;
1711
1717
  store: ReleaseStore;
1718
+ /**
1719
+ * App Store track only: submit the App Store version for App Review
1720
+ * once a promotion attaches the build. Otherwise the version waits for
1721
+ * someone to submit it in App Store Connect.
1722
+ */
1723
+ submit_for_review?: boolean;
1712
1724
  /**
1713
1725
  * Play track (`internal`, `closed`, `open`, `production` or a custom
1714
1726
  * track), or the App Store release track a store upload records.
@@ -2713,6 +2725,7 @@ export type UpdateProjectEnvironmentRequest = {
2713
2725
  name?: string | null;
2714
2726
  position?: number | null;
2715
2727
  rollout_policy?: null | ReleasePolicy;
2728
+ submit_for_review?: boolean | null;
2716
2729
  track?: string | null;
2717
2730
  };
2718
2731
  export type UpdateProjectMemberRequest = {
@@ -10,5 +10,6 @@ export declare const vCreateProjectEnvironmentBody: v.ObjectSchema<{
10
10
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
11
11
  }, undefined>, undefined>;
12
12
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
13
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
13
14
  readonly track: v.StringSchema<undefined>;
14
15
  }, undefined>;
@@ -10,5 +10,6 @@ export declare const vCreateProjectEnvironmentRequest: v.ObjectSchema<{
10
10
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
11
11
  }, undefined>, undefined>;
12
12
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
13
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
13
14
  readonly track: v.StringSchema<undefined>;
14
15
  }, undefined>;
@@ -8,5 +8,6 @@ export const vCreateProjectEnvironmentRequest = v.object({
8
8
  name: v.string(),
9
9
  rollout_policy: v.nullish(vReleasePolicy),
10
10
  store: vReleaseStore,
11
+ submit_for_review: v.optional(v.boolean()),
11
12
  track: v.string()
12
13
  });
@@ -51,6 +51,7 @@ export declare const vCreateProjectEnvironmentResponse: v.ObjectSchema<{
51
51
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
52
52
  }, undefined>;
53
53
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
54
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
54
55
  readonly track: v.StringSchema<undefined>;
55
56
  readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
56
57
  }, undefined>;
@@ -52,6 +52,7 @@ export declare const vListProjectEnvironmentsResponse: v.ObjectSchema<{
52
52
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
53
53
  }, undefined>;
54
54
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
55
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
56
  readonly track: v.StringSchema<undefined>;
56
57
  readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
57
58
  }, undefined>, undefined>;
@@ -52,6 +52,7 @@ export declare const vListProjectEnvironmentsResponse2: v.ObjectSchema<{
52
52
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
53
53
  }, undefined>;
54
54
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
55
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
55
56
  readonly track: v.StringSchema<undefined>;
56
57
  readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
57
58
  }, undefined>, undefined>;
@@ -51,6 +51,7 @@ export declare const vProjectEnvironment: v.ObjectSchema<{
51
51
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
52
52
  }, undefined>;
53
53
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
54
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
54
55
  readonly track: v.StringSchema<undefined>;
55
56
  readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
56
57
  }, undefined>;
@@ -23,6 +23,7 @@ export const vProjectEnvironment = v.object({
23
23
  promotable: v.boolean(),
24
24
  rollout_policy: vReleasePolicy,
25
25
  store: vReleaseStore,
26
+ submit_for_review: v.optional(v.boolean()),
26
27
  track: v.string(),
27
28
  updated_at: v.pipe(v.union([
28
29
  v.number(),
@@ -9,5 +9,6 @@ export declare const vUpdateProjectEnvironmentBody: v.ObjectSchema<{
9
9
  readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10
10
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
11
11
  }, undefined>, undefined>;
12
+ readonly submit_for_review: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
12
13
  readonly track: v.NullishSchema<v.StringSchema<undefined>, undefined>;
13
14
  }, undefined>;
@@ -9,5 +9,6 @@ export declare const vUpdateProjectEnvironmentRequest: v.ObjectSchema<{
9
9
  readonly interval_hours: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
10
10
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
11
11
  }, undefined>, undefined>;
12
+ readonly submit_for_review: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
12
13
  readonly track: v.NullishSchema<v.StringSchema<undefined>, undefined>;
13
14
  }, undefined>;
@@ -10,5 +10,6 @@ export const vUpdateProjectEnvironmentRequest = v.object({
10
10
  v.bigint()
11
11
  ]), v.transform(x => BigInt(x)), v.minValue(BigInt('-9223372036854775808'), 'Invalid value: Expected int64 to be >= -9223372036854775808'), v.maxValue(BigInt('9223372036854775807'), 'Invalid value: Expected int64 to be <= 9223372036854775807'))),
12
12
  rollout_policy: v.nullish(vReleasePolicy),
13
+ submit_for_review: v.nullish(v.boolean()),
13
14
  track: v.nullish(v.string())
14
15
  });
@@ -51,6 +51,7 @@ export declare const vUpdateProjectEnvironmentResponse: v.ObjectSchema<{
51
51
  readonly steps: v.OptionalSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
52
52
  }, undefined>;
53
53
  readonly store: v.PicklistSchema<["google_play", "app_store"], undefined>;
54
+ readonly submit_for_review: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
54
55
  readonly track: v.StringSchema<undefined>;
55
56
  readonly updated_at: v.SchemaWithPipe<readonly [v.UnionSchema<[v.NumberSchema<undefined>, v.StringSchema<undefined>, v.BigintSchema<undefined>], undefined>, v.TransformAction<string | number | bigint, bigint>, v.MinValueAction<bigint, bigint, "Invalid value: Expected int64 to be >= -9223372036854775808">, v.MaxValueAction<bigint, bigint, "Invalid value: Expected int64 to be <= 9223372036854775807">]>;
56
57
  }, undefined>;
@@ -15466,6 +15466,10 @@
15466
15466
  "store": {
15467
15467
  "$ref": "#/components/schemas/ReleaseStore"
15468
15468
  },
15469
+ "submit_for_review": {
15470
+ "type": "boolean",
15471
+ "description": "App Store track only: submit the version for App Review after a\npromotion attaches the build."
15472
+ },
15469
15473
  "track": {
15470
15474
  "type": "string"
15471
15475
  }
@@ -18813,15 +18817,19 @@
18813
18817
  },
18814
18818
  "promotable": {
18815
18819
  "type": "boolean",
18816
- "description": "Whether builds can be promoted into this environment. App Store\nenvironments only group the releases that uploads record for now."
18820
+ "description": "Whether builds can be promoted into this environment."
18817
18821
  },
18818
18822
  "rollout_policy": {
18819
18823
  "$ref": "#/components/schemas/ReleasePolicy",
18820
- "description": "Staged rollout policy for releases promoted into this environment.\nIts `approval` is always `none`; use `approval_required`."
18824
+ "description": "Staged rollout policy for releases promoted into this environment.\nIts `approval` is always `none`; use `approval_required`. On the App\nStore track, a policy with more than one step turns on Apple's phased\nrelease, which follows Apple's own seven-day schedule."
18821
18825
  },
18822
18826
  "store": {
18823
18827
  "$ref": "#/components/schemas/ReleaseStore"
18824
18828
  },
18829
+ "submit_for_review": {
18830
+ "type": "boolean",
18831
+ "description": "App Store track only: submit the App Store version for App Review\nonce a promotion attaches the build. Otherwise the version waits for\nsomeone to submit it in App Store Connect."
18832
+ },
18825
18833
  "track": {
18826
18834
  "type": "string",
18827
18835
  "description": "Play track (`internal`, `closed`, `open`, `production` or a custom\ntrack), or the App Store release track a store upload records."
@@ -22210,6 +22218,12 @@
22210
22218
  }
22211
22219
  ]
22212
22220
  },
22221
+ "submit_for_review": {
22222
+ "type": [
22223
+ "boolean",
22224
+ "null"
22225
+ ]
22226
+ },
22213
22227
  "track": {
22214
22228
  "type": [
22215
22229
  "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oore/client",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Typed, tree-shakeable client for the Oore API",
5
5
  "type": "module",
6
6
  "sideEffects": false,