eas-cli 18.8.0 → 18.9.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/README.md +162 -94
- package/build/build/utils/url.d.ts +6 -0
- package/build/build/utils/url.js +9 -0
- package/build/commands/build/download.d.ts +6 -2
- package/build/commands/build/download.js +129 -18
- package/build/commands/integrations/asc/connect.d.ts +19 -0
- package/build/commands/integrations/asc/connect.js +159 -0
- package/build/commands/integrations/asc/disconnect.d.ts +15 -0
- package/build/commands/integrations/asc/disconnect.js +115 -0
- package/build/commands/integrations/asc/status.d.ts +14 -0
- package/build/commands/integrations/asc/status.js +65 -0
- package/build/commands/simulator/start.d.ts +16 -0
- package/build/commands/simulator/start.js +205 -0
- package/build/commands/simulator/stop.d.ts +13 -0
- package/build/commands/simulator/stop.js +38 -0
- package/build/credentials/ios/actions/AscApiKeyUtils.d.ts +2 -1
- package/build/credentials/ios/actions/AscApiKeyUtils.js +16 -0
- package/build/credentials/ios/appstore/AppStoreApi.d.ts +3 -1
- package/build/credentials/ios/appstore/AppStoreApi.js +2 -2
- package/build/graphql/generated.d.ts +368 -0
- package/build/graphql/generated.js +23 -3
- package/build/graphql/mutations/AscAppLinkMutation.d.ts +12 -0
- package/build/graphql/mutations/AscAppLinkMutation.js +36 -0
- package/build/graphql/mutations/DeviceRunSessionMutation.d.ts +6 -0
- package/build/graphql/mutations/DeviceRunSessionMutation.js +49 -0
- package/build/graphql/queries/AscAppLinkQuery.d.ts +8 -0
- package/build/graphql/queries/AscAppLinkQuery.js +67 -0
- package/build/graphql/queries/DeviceRunSessionQuery.d.ts +5 -0
- package/build/graphql/queries/DeviceRunSessionQuery.js +28 -0
- package/build/integrations/asc/ascApiKey.d.ts +7 -0
- package/build/integrations/asc/ascApiKey.js +26 -0
- package/build/integrations/asc/utils.d.ts +21 -0
- package/build/integrations/asc/utils.js +56 -0
- package/build/utils/download.d.ts +1 -0
- package/build/utils/download.js +1 -0
- package/oclif.manifest.json +3152 -2671
- package/package.json +6 -3
|
@@ -1239,6 +1239,7 @@ export type App = Project & {
|
|
|
1239
1239
|
*/
|
|
1240
1240
|
buildsReleaseChannels: Array<Scalars['String']['output']>;
|
|
1241
1241
|
channelsPaginated: AppChannelsConnection;
|
|
1242
|
+
convexProject?: Maybe<ConvexProject>;
|
|
1242
1243
|
deployment?: Maybe<Deployment>;
|
|
1243
1244
|
/** Deployments associated with this app */
|
|
1244
1245
|
deployments: DeploymentsConnection;
|
|
@@ -1800,6 +1801,9 @@ export type AppNotificationPreferenceInput = {
|
|
|
1800
1801
|
export type AppObserve = {
|
|
1801
1802
|
__typename?: 'AppObserve';
|
|
1802
1803
|
appVersions: Array<AppObserveAppVersion>;
|
|
1804
|
+
customEventCounts: AppObserveCustomEventCounts;
|
|
1805
|
+
customEventList: AppObserveCustomEventListConnection;
|
|
1806
|
+
customEventNames: AppObserveCustomEventNames;
|
|
1803
1807
|
environments: Array<Scalars['String']['output']>;
|
|
1804
1808
|
events: AppObserveEventsConnection;
|
|
1805
1809
|
timeSeries: AppObserveTimeSeries;
|
|
@@ -1808,6 +1812,22 @@ export type AppObserve = {
|
|
|
1808
1812
|
export type AppObserveAppVersionsArgs = {
|
|
1809
1813
|
input: AppObserveReleasesInput;
|
|
1810
1814
|
};
|
|
1815
|
+
export type AppObserveCustomEventCountsArgs = {
|
|
1816
|
+
input: AppObserveCustomEventCountsInput;
|
|
1817
|
+
};
|
|
1818
|
+
export type AppObserveCustomEventListArgs = {
|
|
1819
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1820
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1821
|
+
filter?: InputMaybe<AppObserveCustomEventListFilter>;
|
|
1822
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1823
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1824
|
+
};
|
|
1825
|
+
export type AppObserveCustomEventNamesArgs = {
|
|
1826
|
+
endTime: Scalars['DateTime']['input'];
|
|
1827
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
1828
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
1829
|
+
startTime: Scalars['DateTime']['input'];
|
|
1830
|
+
};
|
|
1811
1831
|
export type AppObserveEnvironmentsArgs = {
|
|
1812
1832
|
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1813
1833
|
platform?: InputMaybe<AppObservePlatform>;
|
|
@@ -1863,6 +1883,86 @@ export type AppObserveAppVersionMetric = {
|
|
|
1863
1883
|
metricName: Scalars['String']['output'];
|
|
1864
1884
|
statistics: AppObserveVersionMarkerStatistics;
|
|
1865
1885
|
};
|
|
1886
|
+
export type AppObserveCustomEvent = {
|
|
1887
|
+
__typename?: 'AppObserveCustomEvent';
|
|
1888
|
+
appBuildNumber: Scalars['String']['output'];
|
|
1889
|
+
appEasBuildId?: Maybe<Scalars['String']['output']>;
|
|
1890
|
+
appUpdateId?: Maybe<Scalars['String']['output']>;
|
|
1891
|
+
appVersion: Scalars['String']['output'];
|
|
1892
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
1893
|
+
deviceModel: Scalars['String']['output'];
|
|
1894
|
+
deviceOs: Scalars['String']['output'];
|
|
1895
|
+
deviceOsVersion: Scalars['String']['output'];
|
|
1896
|
+
easClientId: Scalars['String']['output'];
|
|
1897
|
+
environment?: Maybe<Scalars['String']['output']>;
|
|
1898
|
+
eventName: Scalars['String']['output'];
|
|
1899
|
+
id: Scalars['ID']['output'];
|
|
1900
|
+
properties: Array<AppObserveEventProperty>;
|
|
1901
|
+
sessionId?: Maybe<Scalars['String']['output']>;
|
|
1902
|
+
severityNumber?: Maybe<Scalars['Int']['output']>;
|
|
1903
|
+
severityText?: Maybe<Scalars['String']['output']>;
|
|
1904
|
+
timestamp: Scalars['DateTime']['output'];
|
|
1905
|
+
};
|
|
1906
|
+
export type AppObserveCustomEventCountBucket = {
|
|
1907
|
+
__typename?: 'AppObserveCustomEventCountBucket';
|
|
1908
|
+
bucket: Scalars['DateTime']['output'];
|
|
1909
|
+
count: Scalars['Int']['output'];
|
|
1910
|
+
};
|
|
1911
|
+
export type AppObserveCustomEventCounts = {
|
|
1912
|
+
__typename?: 'AppObserveCustomEventCounts';
|
|
1913
|
+
buckets: Array<AppObserveCustomEventCountBucket>;
|
|
1914
|
+
totalCount: Scalars['Int']['output'];
|
|
1915
|
+
};
|
|
1916
|
+
export type AppObserveCustomEventCountsInput = {
|
|
1917
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1918
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
1919
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
1920
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
1921
|
+
bucketIntervalMinutes?: InputMaybe<Scalars['Int']['input']>;
|
|
1922
|
+
endTime: Scalars['DateTime']['input'];
|
|
1923
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
1924
|
+
eventName: Scalars['String']['input'];
|
|
1925
|
+
platform: AppObservePlatform;
|
|
1926
|
+
startTime: Scalars['DateTime']['input'];
|
|
1927
|
+
};
|
|
1928
|
+
export type AppObserveCustomEventEdge = {
|
|
1929
|
+
__typename?: 'AppObserveCustomEventEdge';
|
|
1930
|
+
cursor: Scalars['String']['output'];
|
|
1931
|
+
node: AppObserveCustomEvent;
|
|
1932
|
+
};
|
|
1933
|
+
export type AppObserveCustomEventListConnection = {
|
|
1934
|
+
__typename?: 'AppObserveCustomEventListConnection';
|
|
1935
|
+
edges: Array<AppObserveCustomEventEdge>;
|
|
1936
|
+
pageInfo: PageInfo;
|
|
1937
|
+
};
|
|
1938
|
+
export type AppObserveCustomEventListFilter = {
|
|
1939
|
+
appBuildNumber?: InputMaybe<Scalars['String']['input']>;
|
|
1940
|
+
appEasBuildId?: InputMaybe<Scalars['String']['input']>;
|
|
1941
|
+
appUpdateId?: InputMaybe<Scalars['String']['input']>;
|
|
1942
|
+
appVersion?: InputMaybe<Scalars['String']['input']>;
|
|
1943
|
+
easClientId?: InputMaybe<Scalars['String']['input']>;
|
|
1944
|
+
endTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1945
|
+
environment?: InputMaybe<Scalars['String']['input']>;
|
|
1946
|
+
eventName?: InputMaybe<Scalars['String']['input']>;
|
|
1947
|
+
platform?: InputMaybe<AppObservePlatform>;
|
|
1948
|
+
propertyFilters?: InputMaybe<Array<AppObserveCustomEventPropertyFilter>>;
|
|
1949
|
+
sessionId?: InputMaybe<Scalars['String']['input']>;
|
|
1950
|
+
startTime?: InputMaybe<Scalars['DateTime']['input']>;
|
|
1951
|
+
};
|
|
1952
|
+
export type AppObserveCustomEventName = {
|
|
1953
|
+
__typename?: 'AppObserveCustomEventName';
|
|
1954
|
+
count: Scalars['Int']['output'];
|
|
1955
|
+
eventName: Scalars['String']['output'];
|
|
1956
|
+
};
|
|
1957
|
+
export type AppObserveCustomEventNames = {
|
|
1958
|
+
__typename?: 'AppObserveCustomEventNames';
|
|
1959
|
+
isTruncated: Scalars['Boolean']['output'];
|
|
1960
|
+
names: Array<AppObserveCustomEventName>;
|
|
1961
|
+
};
|
|
1962
|
+
export type AppObserveCustomEventPropertyFilter = {
|
|
1963
|
+
key: Scalars['String']['input'];
|
|
1964
|
+
value: Scalars['String']['input'];
|
|
1965
|
+
};
|
|
1866
1966
|
export type AppObserveEvent = {
|
|
1867
1967
|
__typename?: 'AppObserveEvent';
|
|
1868
1968
|
appBuildNumber: Scalars['String']['output'];
|
|
@@ -1900,6 +2000,12 @@ export type AppObserveEventEdge = {
|
|
|
1900
2000
|
cursor: Scalars['String']['output'];
|
|
1901
2001
|
node: AppObserveEvent;
|
|
1902
2002
|
};
|
|
2003
|
+
export type AppObserveEventProperty = {
|
|
2004
|
+
__typename?: 'AppObserveEventProperty';
|
|
2005
|
+
key: Scalars['String']['output'];
|
|
2006
|
+
type: AppObservePropertyType;
|
|
2007
|
+
value: Scalars['String']['output'];
|
|
2008
|
+
};
|
|
1903
2009
|
export type AppObserveEventsConnection = {
|
|
1904
2010
|
__typename?: 'AppObserveEventsConnection';
|
|
1905
2011
|
edges: Array<AppObserveEventEdge>;
|
|
@@ -1934,6 +2040,12 @@ export declare enum AppObservePlatform {
|
|
|
1934
2040
|
Android = "ANDROID",
|
|
1935
2041
|
Ios = "IOS"
|
|
1936
2042
|
}
|
|
2043
|
+
export declare enum AppObservePropertyType {
|
|
2044
|
+
Boolean = "BOOLEAN",
|
|
2045
|
+
Json = "JSON",
|
|
2046
|
+
Number = "NUMBER",
|
|
2047
|
+
String = "STRING"
|
|
2048
|
+
}
|
|
1937
2049
|
export type AppObserveReleasesInput = {
|
|
1938
2050
|
endTime: Scalars['DateTime']['input'];
|
|
1939
2051
|
environment?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2437,6 +2549,19 @@ export type AppleDeviceRegistrationRequestMutationCreateAppleDeviceRegistrationR
|
|
|
2437
2549
|
accountId: Scalars['ID']['input'];
|
|
2438
2550
|
appleTeamId: Scalars['ID']['input'];
|
|
2439
2551
|
};
|
|
2552
|
+
/** Publicly visible data for an AppleDeviceRegistrationRequest. */
|
|
2553
|
+
export type AppleDeviceRegistrationRequestPublicData = {
|
|
2554
|
+
__typename?: 'AppleDeviceRegistrationRequestPublicData';
|
|
2555
|
+
id: Scalars['ID']['output'];
|
|
2556
|
+
};
|
|
2557
|
+
export type AppleDeviceRegistrationRequestPublicDataQuery = {
|
|
2558
|
+
__typename?: 'AppleDeviceRegistrationRequestPublicDataQuery';
|
|
2559
|
+
/** Get AppleDeviceRegistrationRequest public data by ID */
|
|
2560
|
+
byId?: Maybe<AppleDeviceRegistrationRequestPublicData>;
|
|
2561
|
+
};
|
|
2562
|
+
export type AppleDeviceRegistrationRequestPublicDataQueryByIdArgs = {
|
|
2563
|
+
id: Scalars['ID']['input'];
|
|
2564
|
+
};
|
|
2440
2565
|
export type AppleDeviceRegistrationRequestQuery = {
|
|
2441
2566
|
__typename?: 'AppleDeviceRegistrationRequestQuery';
|
|
2442
2567
|
byId: AppleDeviceRegistrationRequest;
|
|
@@ -3466,6 +3591,17 @@ export type ConvexIntegrationQuery = {
|
|
|
3466
3591
|
__typename?: 'ConvexIntegrationQuery';
|
|
3467
3592
|
clientIdentifier: Scalars['String']['output'];
|
|
3468
3593
|
};
|
|
3594
|
+
export type ConvexProject = {
|
|
3595
|
+
__typename?: 'ConvexProject';
|
|
3596
|
+
app: App;
|
|
3597
|
+
convexProjectIdentifier: Scalars['String']['output'];
|
|
3598
|
+
convexProjectName: Scalars['String']['output'];
|
|
3599
|
+
convexProjectSlug: Scalars['String']['output'];
|
|
3600
|
+
convexTeamConnection: ConvexTeamConnection;
|
|
3601
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3602
|
+
id: Scalars['ID']['output'];
|
|
3603
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3604
|
+
};
|
|
3469
3605
|
export type ConvexTeamConnection = {
|
|
3470
3606
|
__typename?: 'ConvexTeamConnection';
|
|
3471
3607
|
account: Account;
|
|
@@ -3549,6 +3685,16 @@ export type CreateConvexTeamConnectionInput = {
|
|
|
3549
3685
|
convexTeamName?: InputMaybe<Scalars['String']['input']>;
|
|
3550
3686
|
deploymentRegion: Scalars['String']['input'];
|
|
3551
3687
|
};
|
|
3688
|
+
export type CreateDeviceRunSessionInput = {
|
|
3689
|
+
appId: Scalars['ID']['input'];
|
|
3690
|
+
/**
|
|
3691
|
+
* The version of the package backing the device run session (e.g. "0.1.3-alpha.3").
|
|
3692
|
+
* If omitted, consumers treat the session as pinned to "latest".
|
|
3693
|
+
*/
|
|
3694
|
+
packageVersion?: InputMaybe<Scalars['String']['input']>;
|
|
3695
|
+
platform: AppPlatform;
|
|
3696
|
+
type: DeviceRunSessionType;
|
|
3697
|
+
};
|
|
3552
3698
|
export type CreateEchoChatInput = {
|
|
3553
3699
|
agentMetadata?: InputMaybe<Scalars['JSONObject']['input']>;
|
|
3554
3700
|
agentType?: InputMaybe<EchoAgentType>;
|
|
@@ -4045,6 +4191,54 @@ export type DeploymentsMutationDeleteWorkerDeploymentByIdentifierArgs = {
|
|
|
4045
4191
|
appId: Scalars['ID']['input'];
|
|
4046
4192
|
deploymentIdentifier: Scalars['ID']['input'];
|
|
4047
4193
|
};
|
|
4194
|
+
export type DeviceRunSession = {
|
|
4195
|
+
__typename?: 'DeviceRunSession';
|
|
4196
|
+
app: App;
|
|
4197
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4198
|
+
finishedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4199
|
+
id: Scalars['ID']['output'];
|
|
4200
|
+
initiatingActor?: Maybe<Actor>;
|
|
4201
|
+
/**
|
|
4202
|
+
* The version of the package backing the device run session. Null means the session is
|
|
4203
|
+
* pinned to "latest" at the consumer side.
|
|
4204
|
+
*/
|
|
4205
|
+
packageVersion?: Maybe<Scalars['String']['output']>;
|
|
4206
|
+
platform: AppPlatform;
|
|
4207
|
+
startedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4208
|
+
status: DeviceRunSessionStatus;
|
|
4209
|
+
turtleJobRun?: Maybe<JobRun>;
|
|
4210
|
+
type: DeviceRunSessionType;
|
|
4211
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4212
|
+
};
|
|
4213
|
+
export type DeviceRunSessionMutation = {
|
|
4214
|
+
__typename?: 'DeviceRunSessionMutation';
|
|
4215
|
+
/** Create a device run session */
|
|
4216
|
+
createDeviceRunSession: DeviceRunSession;
|
|
4217
|
+
/** Stop a device run session */
|
|
4218
|
+
stopDeviceRunSession: DeviceRunSession;
|
|
4219
|
+
};
|
|
4220
|
+
export type DeviceRunSessionMutationCreateDeviceRunSessionArgs = {
|
|
4221
|
+
deviceRunSessionInput: CreateDeviceRunSessionInput;
|
|
4222
|
+
};
|
|
4223
|
+
export type DeviceRunSessionMutationStopDeviceRunSessionArgs = {
|
|
4224
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
4225
|
+
};
|
|
4226
|
+
export type DeviceRunSessionQuery = {
|
|
4227
|
+
__typename?: 'DeviceRunSessionQuery';
|
|
4228
|
+
byId: DeviceRunSession;
|
|
4229
|
+
};
|
|
4230
|
+
export type DeviceRunSessionQueryByIdArgs = {
|
|
4231
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
4232
|
+
};
|
|
4233
|
+
export declare enum DeviceRunSessionStatus {
|
|
4234
|
+
Errored = "ERRORED",
|
|
4235
|
+
InProgress = "IN_PROGRESS",
|
|
4236
|
+
New = "NEW",
|
|
4237
|
+
Stopped = "STOPPED"
|
|
4238
|
+
}
|
|
4239
|
+
export declare enum DeviceRunSessionType {
|
|
4240
|
+
AgentDevice = "AGENT_DEVICE"
|
|
4241
|
+
}
|
|
4048
4242
|
export type DiscordUser = {
|
|
4049
4243
|
__typename?: 'DiscordUser';
|
|
4050
4244
|
discordIdentifier: Scalars['String']['output'];
|
|
@@ -4668,6 +4862,8 @@ export declare enum EntityTypeName {
|
|
|
4668
4862
|
BillingContractEntity = "BillingContractEntity",
|
|
4669
4863
|
BranchEntity = "BranchEntity",
|
|
4670
4864
|
ChannelEntity = "ChannelEntity",
|
|
4865
|
+
ConvexProjectEntity = "ConvexProjectEntity",
|
|
4866
|
+
ConvexTeamConnectionEntity = "ConvexTeamConnectionEntity",
|
|
4671
4867
|
CustomerEntity = "CustomerEntity",
|
|
4672
4868
|
EchoProjectEntity = "EchoProjectEntity",
|
|
4673
4869
|
EchoVersionEntity = "EchoVersionEntity",
|
|
@@ -6402,6 +6598,8 @@ export type RootMutation = {
|
|
|
6402
6598
|
deployments: DeploymentsMutation;
|
|
6403
6599
|
/** Mutations that assign or modify DevDomainNames for apps */
|
|
6404
6600
|
devDomainName: AppDevDomainNameMutation;
|
|
6601
|
+
/** Mutations that create and stop device run sessions */
|
|
6602
|
+
deviceRunSession: DeviceRunSessionMutation;
|
|
6405
6603
|
/** Mutations for Discord users */
|
|
6406
6604
|
discordUser: DiscordUserMutation;
|
|
6407
6605
|
/** Mutations for Echo chats */
|
|
@@ -6530,6 +6728,8 @@ export type RootQuery = {
|
|
|
6530
6728
|
appStoreConnectApiKey: AppStoreConnectApiKeyQuery;
|
|
6531
6729
|
/** Top-level query object for querying Apple Device registration requests. */
|
|
6532
6730
|
appleDeviceRegistrationRequest: AppleDeviceRegistrationRequestQuery;
|
|
6731
|
+
/** Top-level query object for querying AppleDeviceRegistrationRequest publicly. */
|
|
6732
|
+
appleDeviceRegistrationRequestPublicData: AppleDeviceRegistrationRequestPublicDataQuery;
|
|
6533
6733
|
/** Top-level query object for querying Apple distribution certificates. */
|
|
6534
6734
|
appleDistributionCertificate?: Maybe<AppleDistributionCertificateQuery>;
|
|
6535
6735
|
/** Top-level query object for querying Apple provisioning profiles. */
|
|
@@ -6553,6 +6753,7 @@ export type RootQuery = {
|
|
|
6553
6753
|
convexIntegration: ConvexIntegrationQuery;
|
|
6554
6754
|
/** Top-level query object for querying Deployments. */
|
|
6555
6755
|
deployments: DeploymentQuery;
|
|
6756
|
+
deviceRunSessions: DeviceRunSessionQuery;
|
|
6556
6757
|
/** Top-level query object for querying Echo chats. */
|
|
6557
6758
|
echoChat: EchoChatQuery;
|
|
6558
6759
|
/** Top-level query object for querying Echo messages. */
|
|
@@ -13262,6 +13463,33 @@ export type CreateAppVersionMutation = {
|
|
|
13262
13463
|
};
|
|
13263
13464
|
};
|
|
13264
13465
|
};
|
|
13466
|
+
export type CreateAppStoreConnectAppMutationVariables = Exact<{
|
|
13467
|
+
appStoreConnectAppInput: AppStoreConnectAppInput;
|
|
13468
|
+
}>;
|
|
13469
|
+
export type CreateAppStoreConnectAppMutation = {
|
|
13470
|
+
__typename?: 'RootMutation';
|
|
13471
|
+
appStoreConnectApp: {
|
|
13472
|
+
__typename?: 'AppStoreConnectAppMutation';
|
|
13473
|
+
createAppStoreConnectApp: {
|
|
13474
|
+
__typename?: 'AppStoreConnectApp';
|
|
13475
|
+
id: string;
|
|
13476
|
+
ascAppIdentifier: string;
|
|
13477
|
+
};
|
|
13478
|
+
};
|
|
13479
|
+
};
|
|
13480
|
+
export type DeleteAppStoreConnectAppMutationVariables = Exact<{
|
|
13481
|
+
appStoreConnectAppId: Scalars['ID']['input'];
|
|
13482
|
+
}>;
|
|
13483
|
+
export type DeleteAppStoreConnectAppMutation = {
|
|
13484
|
+
__typename?: 'RootMutation';
|
|
13485
|
+
appStoreConnectApp: {
|
|
13486
|
+
__typename?: 'AppStoreConnectAppMutation';
|
|
13487
|
+
deleteAppStoreConnectApp: {
|
|
13488
|
+
__typename?: 'DeleteAppStoreConnectAppResult';
|
|
13489
|
+
id: string;
|
|
13490
|
+
};
|
|
13491
|
+
};
|
|
13492
|
+
};
|
|
13265
13493
|
export type CreateAndroidBuildMutationVariables = Exact<{
|
|
13266
13494
|
appId: Scalars['ID']['input'];
|
|
13267
13495
|
job: AndroidJobInput;
|
|
@@ -13658,6 +13886,48 @@ export type RetryIosBuildMutation = {
|
|
|
13658
13886
|
};
|
|
13659
13887
|
};
|
|
13660
13888
|
};
|
|
13889
|
+
export type CreateDeviceRunSessionMutationVariables = Exact<{
|
|
13890
|
+
deviceRunSessionInput: CreateDeviceRunSessionInput;
|
|
13891
|
+
}>;
|
|
13892
|
+
export type CreateDeviceRunSessionMutation = {
|
|
13893
|
+
__typename?: 'RootMutation';
|
|
13894
|
+
deviceRunSession: {
|
|
13895
|
+
__typename?: 'DeviceRunSessionMutation';
|
|
13896
|
+
createDeviceRunSession: {
|
|
13897
|
+
__typename?: 'DeviceRunSession';
|
|
13898
|
+
id: string;
|
|
13899
|
+
status: DeviceRunSessionStatus;
|
|
13900
|
+
app: {
|
|
13901
|
+
__typename?: 'App';
|
|
13902
|
+
id: string;
|
|
13903
|
+
slug: string;
|
|
13904
|
+
ownerAccount: {
|
|
13905
|
+
__typename?: 'Account';
|
|
13906
|
+
id: string;
|
|
13907
|
+
name: string;
|
|
13908
|
+
};
|
|
13909
|
+
};
|
|
13910
|
+
turtleJobRun?: {
|
|
13911
|
+
__typename?: 'JobRun';
|
|
13912
|
+
id: string;
|
|
13913
|
+
} | null;
|
|
13914
|
+
};
|
|
13915
|
+
};
|
|
13916
|
+
};
|
|
13917
|
+
export type StopDeviceRunSessionMutationVariables = Exact<{
|
|
13918
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
13919
|
+
}>;
|
|
13920
|
+
export type StopDeviceRunSessionMutation = {
|
|
13921
|
+
__typename?: 'RootMutation';
|
|
13922
|
+
deviceRunSession: {
|
|
13923
|
+
__typename?: 'DeviceRunSessionMutation';
|
|
13924
|
+
stopDeviceRunSession: {
|
|
13925
|
+
__typename?: 'DeviceRunSession';
|
|
13926
|
+
id: string;
|
|
13927
|
+
status: DeviceRunSessionStatus;
|
|
13928
|
+
};
|
|
13929
|
+
};
|
|
13930
|
+
};
|
|
13661
13931
|
export type CreateEnvironmentSecretForAccountMutationVariables = Exact<{
|
|
13662
13932
|
input: CreateEnvironmentSecretInput;
|
|
13663
13933
|
accountId: Scalars['String']['input'];
|
|
@@ -14913,6 +15183,84 @@ export type LatestAppVersionQuery = {
|
|
|
14913
15183
|
};
|
|
14914
15184
|
};
|
|
14915
15185
|
};
|
|
15186
|
+
export type AscAppLinkAppMetadataQueryVariables = Exact<{
|
|
15187
|
+
appId: Scalars['String']['input'];
|
|
15188
|
+
}>;
|
|
15189
|
+
export type AscAppLinkAppMetadataQuery = {
|
|
15190
|
+
__typename?: 'RootQuery';
|
|
15191
|
+
app: {
|
|
15192
|
+
__typename?: 'AppQuery';
|
|
15193
|
+
byId: {
|
|
15194
|
+
__typename?: 'App';
|
|
15195
|
+
id: string;
|
|
15196
|
+
fullName: string;
|
|
15197
|
+
ownerAccount: {
|
|
15198
|
+
__typename?: 'Account';
|
|
15199
|
+
id: string;
|
|
15200
|
+
name: string;
|
|
15201
|
+
ownerUserActor?: {
|
|
15202
|
+
__typename?: 'SSOUser';
|
|
15203
|
+
id: string;
|
|
15204
|
+
username: string;
|
|
15205
|
+
} | {
|
|
15206
|
+
__typename?: 'User';
|
|
15207
|
+
id: string;
|
|
15208
|
+
username: string;
|
|
15209
|
+
} | null;
|
|
15210
|
+
users: Array<{
|
|
15211
|
+
__typename?: 'UserPermission';
|
|
15212
|
+
role: Role;
|
|
15213
|
+
actor: {
|
|
15214
|
+
__typename?: 'PartnerActor';
|
|
15215
|
+
id: string;
|
|
15216
|
+
} | {
|
|
15217
|
+
__typename?: 'Robot';
|
|
15218
|
+
id: string;
|
|
15219
|
+
} | {
|
|
15220
|
+
__typename?: 'SSOUser';
|
|
15221
|
+
id: string;
|
|
15222
|
+
} | {
|
|
15223
|
+
__typename?: 'User';
|
|
15224
|
+
id: string;
|
|
15225
|
+
};
|
|
15226
|
+
}>;
|
|
15227
|
+
};
|
|
15228
|
+
appStoreConnectApp?: {
|
|
15229
|
+
__typename?: 'AppStoreConnectApp';
|
|
15230
|
+
id: string;
|
|
15231
|
+
ascAppIdentifier: string;
|
|
15232
|
+
remoteAppStoreConnectApp: {
|
|
15233
|
+
__typename?: 'RemoteAppStoreConnectApp';
|
|
15234
|
+
ascAppIdentifier: string;
|
|
15235
|
+
bundleIdentifier: string;
|
|
15236
|
+
name?: string | null;
|
|
15237
|
+
appStoreIconUrl?: string | null;
|
|
15238
|
+
};
|
|
15239
|
+
} | null;
|
|
15240
|
+
};
|
|
15241
|
+
};
|
|
15242
|
+
};
|
|
15243
|
+
export type DiscoverAccessibleAppStoreConnectAppsQueryVariables = Exact<{
|
|
15244
|
+
appStoreConnectApiKeyId: Scalars['ID']['input'];
|
|
15245
|
+
bundleIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
15246
|
+
}>;
|
|
15247
|
+
export type DiscoverAccessibleAppStoreConnectAppsQuery = {
|
|
15248
|
+
__typename?: 'RootQuery';
|
|
15249
|
+
appStoreConnectApiKey: {
|
|
15250
|
+
__typename?: 'AppStoreConnectApiKeyQuery';
|
|
15251
|
+
byId: {
|
|
15252
|
+
__typename?: 'AppStoreConnectApiKey';
|
|
15253
|
+
id: string;
|
|
15254
|
+
remoteAppStoreConnectApps: Array<{
|
|
15255
|
+
__typename?: 'RemoteAppStoreConnectApp';
|
|
15256
|
+
ascAppIdentifier: string;
|
|
15257
|
+
bundleIdentifier: string;
|
|
15258
|
+
name?: string | null;
|
|
15259
|
+
appStoreIconUrl?: string | null;
|
|
15260
|
+
}>;
|
|
15261
|
+
};
|
|
15262
|
+
};
|
|
15263
|
+
};
|
|
14916
15264
|
export type GetAssetSignedUrlsQueryVariables = Exact<{
|
|
14917
15265
|
updateId: Scalars['ID']['input'];
|
|
14918
15266
|
storageKeys: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
@@ -15953,6 +16301,26 @@ export type ViewUpdateChannelsPaginatedOnAppQuery = {
|
|
|
15953
16301
|
};
|
|
15954
16302
|
};
|
|
15955
16303
|
};
|
|
16304
|
+
export type DeviceRunSessionByIdQueryVariables = Exact<{
|
|
16305
|
+
deviceRunSessionId: Scalars['ID']['input'];
|
|
16306
|
+
}>;
|
|
16307
|
+
export type DeviceRunSessionByIdQuery = {
|
|
16308
|
+
__typename?: 'RootQuery';
|
|
16309
|
+
deviceRunSessions: {
|
|
16310
|
+
__typename?: 'DeviceRunSessionQuery';
|
|
16311
|
+
byId: {
|
|
16312
|
+
__typename?: 'DeviceRunSession';
|
|
16313
|
+
id: string;
|
|
16314
|
+
status: DeviceRunSessionStatus;
|
|
16315
|
+
turtleJobRun?: {
|
|
16316
|
+
__typename?: 'JobRun';
|
|
16317
|
+
id: string;
|
|
16318
|
+
status: JobRunStatus;
|
|
16319
|
+
logFileUrls: Array<string>;
|
|
16320
|
+
} | null;
|
|
16321
|
+
};
|
|
16322
|
+
};
|
|
16323
|
+
};
|
|
15956
16324
|
export type EnvironmentSecretsByAppIdQueryVariables = Exact<{
|
|
15957
16325
|
appId: Scalars['String']['input'];
|
|
15958
16326
|
}>;
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
* For more info and docs, visit https://graphql-code-generator.com/
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = void 0;
|
|
9
|
+
exports.EasBuildDeprecationInfoType = exports.EasBuildBillingResourceClass = exports.DistributionType = exports.DeviceRunSessionType = exports.DeviceRunSessionStatus = exports.DashboardViewPin = exports.CustomDomainStatus = exports.CustomDomainDnsRecordType = exports.CrashSampleFor = exports.ContinentCode = exports.BuildWorkflow = exports.BuildTrigger = exports.BuildStatus = exports.BuildRetryDisabledReason = exports.BuildResourceClass = exports.BuildPriority = exports.BuildPhase = exports.BuildMode = exports.BuildLimitThresholdExceededMetadataType = exports.BuildIosEnterpriseProvisioning = exports.BuildCredentialsSource = exports.BuildAnnotationType = exports.BackgroundJobState = exports.BackgroundJobResultType = exports.AuthProviderIdentifier = exports.AuthProtocolType = exports.AuditLogsExportFormat = exports.AssetMetadataStatus = exports.AssetMapSourceType = exports.AppsFilter = exports.AppleTeamType = exports.AppleDeviceClass = exports.AppUploadSessionType = exports.AppStoreConnectUserRole = exports.AppSort = exports.AppProfileImageWidth = exports.AppPrivacy = exports.AppPlatform = exports.AppObservePropertyType = exports.AppObservePlatform = exports.AppObserveEventsOrderByField = exports.AppObserveEventsOrderByDirection = exports.AppInternalDistributionBuildPrivacy = exports.AndroidKeystoreType = exports.AndroidFcmVersion = exports.AndroidBuildType = exports.ActivityTimelineProjectActivityType = exports.AccountUploadSessionType = exports.AccountMemberType = exports.AccountAppsSortByField = void 0;
|
|
10
|
+
exports.RequestsOrderByDirection = exports.RequestMethod = exports.ProjectArchiveSourceType = exports.Permission = exports.Order = exports.OnboardingEnvironment = exports.OnboardingDeviceType = exports.OfferType = exports.OAuthProvider = exports.NotificationType = exports.NotificationEvent = exports.LocalBuildArchiveSourceType = exports.JobRunStatus = exports.JobRunPriority = exports.IosSchemeBuildConfiguration = exports.IosManagedBuildType = exports.IosDistributionType = exports.IosBuildType = exports.InvoiceDiscountType = exports.InsightsFilterType = exports.GitHubJobRunTriggerType = exports.GitHubJobRunTriggerRunStatus = exports.GitHubJobRunJobType = exports.GitHubBuildTriggerType = exports.GitHubBuildTriggerRunStatus = exports.GitHubBuildTriggerExecutionBehavior = exports.GitHubAppInstallationStatus = exports.GitHubAppInstallationAccountType = exports.GitHubAppEnvironment = exports.FingerprintSourceType = exports.Feature = exports.Experiment = exports.EnvironmentVariableVisibility = exports.EnvironmentVariableScope = exports.EnvironmentSecretType = exports.EntityTypeName = exports.EchoVersionSource = exports.EchoProjectVisibility = exports.EchoProjectUploadSessionType = exports.EchoProjectIconSource = exports.EchoMessageRole = exports.EchoMessagePartType = exports.EchoChatState = exports.EchoChangeType = exports.EchoBuildStatus = exports.EchoAgentType = exports.EasTotalPlanEnablementUnit = exports.EasServiceMetric = exports.EasService = exports.EasBuildWaiverType = void 0;
|
|
11
|
+
exports.WorkflowsInsightsRunsOverTimeGranularity = exports.WorkflowsInsightsExportFormat = exports.WorkflowRunTriggerEventType = exports.WorkflowRunStatus = exports.WorkflowProjectSourceType = exports.WorkflowJobType = exports.WorkflowJobStatus = exports.WorkflowJobReviewDecision = exports.WorkflowDeviceTestCaseStatus = exports.WorkflowArtifactStorageType = exports.WorkerLoggerLevel = exports.WorkerDeploymentLogLevel = exports.WorkerDeploymentCrashKind = exports.WebhookType = exports.UserSpecifiedAccountUsage = exports.UserEntityTypeName = exports.UserAgentPlatform = exports.UserAgentOs = exports.UserAgentBrowser = exports.UsageMetricsGranularity = exports.UsageMetricType = exports.UploadSessionType = exports.UpdateDiffReceiptStateValue = exports.UpdateDiffReceiptOrderByField = exports.UpdateDiffReceiptOrderByDirection = exports.TargetEntityMutationType = exports.SubmissionStatus = exports.SubmissionPriority = exports.SubmissionArchiveSourceType = exports.SubmissionAndroidReleaseStatus = exports.SubmissionAndroidArchiveType = exports.StatuspageServiceStatus = exports.StatuspageServiceName = exports.StatuspageIncidentStatus = exports.StatuspageIncidentImpact = exports.StandardOffer = exports.SecondFactorMethod = exports.Role = exports.ResponseType = exports.ResponseStatusType = exports.ResponseCacheStatus = exports.ResourceClassExperiment = exports.RequestsOrderByField = void 0;
|
|
12
12
|
var AccountAppsSortByField;
|
|
13
13
|
(function (AccountAppsSortByField) {
|
|
14
14
|
AccountAppsSortByField["LatestActivityTime"] = "LATEST_ACTIVITY_TIME";
|
|
@@ -81,6 +81,13 @@ var AppObservePlatform;
|
|
|
81
81
|
AppObservePlatform["Android"] = "ANDROID";
|
|
82
82
|
AppObservePlatform["Ios"] = "IOS";
|
|
83
83
|
})(AppObservePlatform || (exports.AppObservePlatform = AppObservePlatform = {}));
|
|
84
|
+
var AppObservePropertyType;
|
|
85
|
+
(function (AppObservePropertyType) {
|
|
86
|
+
AppObservePropertyType["Boolean"] = "BOOLEAN";
|
|
87
|
+
AppObservePropertyType["Json"] = "JSON";
|
|
88
|
+
AppObservePropertyType["Number"] = "NUMBER";
|
|
89
|
+
AppObservePropertyType["String"] = "STRING";
|
|
90
|
+
})(AppObservePropertyType || (exports.AppObservePropertyType = AppObservePropertyType = {}));
|
|
84
91
|
var AppPlatform;
|
|
85
92
|
(function (AppPlatform) {
|
|
86
93
|
AppPlatform["Android"] = "ANDROID";
|
|
@@ -363,6 +370,17 @@ var DashboardViewPin;
|
|
|
363
370
|
DashboardViewPin["Activity"] = "ACTIVITY";
|
|
364
371
|
DashboardViewPin["Overview"] = "OVERVIEW";
|
|
365
372
|
})(DashboardViewPin || (exports.DashboardViewPin = DashboardViewPin = {}));
|
|
373
|
+
var DeviceRunSessionStatus;
|
|
374
|
+
(function (DeviceRunSessionStatus) {
|
|
375
|
+
DeviceRunSessionStatus["Errored"] = "ERRORED";
|
|
376
|
+
DeviceRunSessionStatus["InProgress"] = "IN_PROGRESS";
|
|
377
|
+
DeviceRunSessionStatus["New"] = "NEW";
|
|
378
|
+
DeviceRunSessionStatus["Stopped"] = "STOPPED";
|
|
379
|
+
})(DeviceRunSessionStatus || (exports.DeviceRunSessionStatus = DeviceRunSessionStatus = {}));
|
|
380
|
+
var DeviceRunSessionType;
|
|
381
|
+
(function (DeviceRunSessionType) {
|
|
382
|
+
DeviceRunSessionType["AgentDevice"] = "AGENT_DEVICE";
|
|
383
|
+
})(DeviceRunSessionType || (exports.DeviceRunSessionType = DeviceRunSessionType = {}));
|
|
366
384
|
var DistributionType;
|
|
367
385
|
(function (DistributionType) {
|
|
368
386
|
DistributionType["Internal"] = "INTERNAL";
|
|
@@ -494,6 +512,8 @@ var EntityTypeName;
|
|
|
494
512
|
EntityTypeName["BillingContractEntity"] = "BillingContractEntity";
|
|
495
513
|
EntityTypeName["BranchEntity"] = "BranchEntity";
|
|
496
514
|
EntityTypeName["ChannelEntity"] = "ChannelEntity";
|
|
515
|
+
EntityTypeName["ConvexProjectEntity"] = "ConvexProjectEntity";
|
|
516
|
+
EntityTypeName["ConvexTeamConnectionEntity"] = "ConvexTeamConnectionEntity";
|
|
497
517
|
EntityTypeName["CustomerEntity"] = "CustomerEntity";
|
|
498
518
|
EntityTypeName["EchoProjectEntity"] = "EchoProjectEntity";
|
|
499
519
|
EntityTypeName["EchoVersionEntity"] = "EchoVersionEntity";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
export declare const AscAppLinkMutation: {
|
|
3
|
+
createAppStoreConnectAppAsync(graphqlClient: ExpoGraphqlClient, appStoreConnectAppInput: {
|
|
4
|
+
appId: string;
|
|
5
|
+
ascAppIdentifier: string;
|
|
6
|
+
appStoreConnectApiKeyId: string;
|
|
7
|
+
}): Promise<{
|
|
8
|
+
id: string;
|
|
9
|
+
ascAppIdentifier: string;
|
|
10
|
+
}>;
|
|
11
|
+
deleteAppStoreConnectAppAsync(graphqlClient: ExpoGraphqlClient, appStoreConnectAppId: string): Promise<void>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AscAppLinkMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../client");
|
|
7
|
+
exports.AscAppLinkMutation = {
|
|
8
|
+
async createAppStoreConnectAppAsync(graphqlClient, appStoreConnectAppInput) {
|
|
9
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
10
|
+
.mutation((0, graphql_tag_1.default) `
|
|
11
|
+
mutation CreateAppStoreConnectApp($appStoreConnectAppInput: AppStoreConnectAppInput!) {
|
|
12
|
+
appStoreConnectApp {
|
|
13
|
+
createAppStoreConnectApp(appStoreConnectAppInput: $appStoreConnectAppInput) {
|
|
14
|
+
id
|
|
15
|
+
ascAppIdentifier
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`, { appStoreConnectAppInput })
|
|
20
|
+
.toPromise());
|
|
21
|
+
return data.appStoreConnectApp.createAppStoreConnectApp;
|
|
22
|
+
},
|
|
23
|
+
async deleteAppStoreConnectAppAsync(graphqlClient, appStoreConnectAppId) {
|
|
24
|
+
await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
25
|
+
.mutation((0, graphql_tag_1.default) `
|
|
26
|
+
mutation DeleteAppStoreConnectApp($appStoreConnectAppId: ID!) {
|
|
27
|
+
appStoreConnectApp {
|
|
28
|
+
deleteAppStoreConnectApp(appStoreConnectAppId: $appStoreConnectAppId) {
|
|
29
|
+
id
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`, { appStoreConnectAppId })
|
|
34
|
+
.toPromise());
|
|
35
|
+
},
|
|
36
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { CreateDeviceRunSessionInput, CreateDeviceRunSessionMutation, StopDeviceRunSessionMutation } from '../generated';
|
|
3
|
+
export declare const DeviceRunSessionMutation: {
|
|
4
|
+
createDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionInput: CreateDeviceRunSessionInput): Promise<CreateDeviceRunSessionMutation["deviceRunSession"]["createDeviceRunSession"]>;
|
|
5
|
+
stopDeviceRunSessionAsync(graphqlClient: ExpoGraphqlClient, deviceRunSessionId: string): Promise<StopDeviceRunSessionMutation["deviceRunSession"]["stopDeviceRunSession"]>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeviceRunSessionMutation = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
|
|
6
|
+
const client_1 = require("../client");
|
|
7
|
+
exports.DeviceRunSessionMutation = {
|
|
8
|
+
async createDeviceRunSessionAsync(graphqlClient, deviceRunSessionInput) {
|
|
9
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
10
|
+
.mutation((0, graphql_tag_1.default) `
|
|
11
|
+
mutation CreateDeviceRunSessionMutation($deviceRunSessionInput: CreateDeviceRunSessionInput!) {
|
|
12
|
+
deviceRunSession {
|
|
13
|
+
createDeviceRunSession(deviceRunSessionInput: $deviceRunSessionInput) {
|
|
14
|
+
id
|
|
15
|
+
status
|
|
16
|
+
app {
|
|
17
|
+
id
|
|
18
|
+
slug
|
|
19
|
+
ownerAccount {
|
|
20
|
+
id
|
|
21
|
+
name
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
turtleJobRun {
|
|
25
|
+
id
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`, { deviceRunSessionInput }, { noRetry: true })
|
|
31
|
+
.toPromise());
|
|
32
|
+
return data.deviceRunSession.createDeviceRunSession;
|
|
33
|
+
},
|
|
34
|
+
async stopDeviceRunSessionAsync(graphqlClient, deviceRunSessionId) {
|
|
35
|
+
const data = await (0, client_1.withErrorHandlingAsync)(graphqlClient
|
|
36
|
+
.mutation((0, graphql_tag_1.default) `
|
|
37
|
+
mutation StopDeviceRunSessionMutation($deviceRunSessionId: ID!) {
|
|
38
|
+
deviceRunSession {
|
|
39
|
+
stopDeviceRunSession(deviceRunSessionId: $deviceRunSessionId) {
|
|
40
|
+
id
|
|
41
|
+
status
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`, { deviceRunSessionId }, { noRetry: true })
|
|
46
|
+
.toPromise());
|
|
47
|
+
return data.deviceRunSession.stopDeviceRunSession;
|
|
48
|
+
},
|
|
49
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExpoGraphqlClient } from '../../commandUtils/context/contextUtils/createGraphqlClient';
|
|
2
|
+
import { AscAppLinkAppMetadataQuery, DiscoverAccessibleAppStoreConnectAppsQuery } from '../generated';
|
|
3
|
+
export declare const AscAppLinkQuery: {
|
|
4
|
+
getAppMetadataAsync(graphqlClient: ExpoGraphqlClient, appId: string, options?: {
|
|
5
|
+
useCache?: boolean;
|
|
6
|
+
}): Promise<AscAppLinkAppMetadataQuery["app"]["byId"]>;
|
|
7
|
+
discoverAccessibleAppsAsync(graphqlClient: ExpoGraphqlClient, appStoreConnectApiKeyId: string, bundleIdentifier?: string): Promise<DiscoverAccessibleAppStoreConnectAppsQuery["appStoreConnectApiKey"]["byId"]["remoteAppStoreConnectApps"]>;
|
|
8
|
+
};
|