@forge/cli-shared 9.7.0-next.8 → 9.7.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +155 -0
  2. package/out/app-logs/graphql-client.d.ts.map +1 -1
  3. package/out/app-logs/graphql-client.js +29 -27
  4. package/out/apps/create-an-app.d.ts +3 -3
  5. package/out/apps/create-an-app.d.ts.map +1 -1
  6. package/out/apps/create-an-app.js +2 -2
  7. package/out/apps/create-app-graphql-client.d.ts.map +1 -1
  8. package/out/apps/create-app-graphql-client.js +4 -3
  9. package/out/apps/get-app-owner.d.ts +17 -2
  10. package/out/apps/get-app-owner.d.ts.map +1 -1
  11. package/out/apps/get-app-owner.js +12 -12
  12. package/out/apps/register-app.d.ts +5 -2
  13. package/out/apps/register-app.d.ts.map +1 -1
  14. package/out/apps/register-app.js +2 -8
  15. package/out/ari/ari.d.ts +5 -0
  16. package/out/ari/ari.d.ts.map +1 -1
  17. package/out/ari/ari.js +13 -1
  18. package/out/auth/personal/me-graphql-client.d.ts.map +1 -1
  19. package/out/auth/personal/me-graphql-client.js +4 -2
  20. package/out/graphql/app-environment-graphql-client.d.ts.map +1 -1
  21. package/out/graphql/app-environment-graphql-client.js +6 -5
  22. package/out/graphql/app-oauth-client-id-graphql-client.d.ts.map +1 -1
  23. package/out/graphql/app-oauth-client-id-graphql-client.js +3 -2
  24. package/out/graphql/get-mutation-error.d.ts +11 -2
  25. package/out/graphql/get-mutation-error.d.ts.map +1 -1
  26. package/out/graphql/get-mutation-error.js +8 -0
  27. package/out/graphql/gql/gql.d.ts +78 -0
  28. package/out/graphql/gql/gql.d.ts.map +1 -0
  29. package/out/graphql/gql/gql.js +87 -0
  30. package/out/graphql/gql/graphql.d.ts +47747 -0
  31. package/out/graphql/gql/graphql.d.ts.map +1 -0
  32. package/out/graphql/gql/graphql.js +1460 -0
  33. package/out/graphql/gql/index.d.ts +2 -0
  34. package/out/graphql/gql/index.d.ts.map +1 -0
  35. package/out/graphql/gql/index.js +4 -0
  36. package/out/graphql/graphql-client.d.ts +5 -8
  37. package/out/graphql/graphql-client.d.ts.map +1 -1
  38. package/out/graphql/graphql-domain-types.d.ts +111 -0
  39. package/out/graphql/graphql-domain-types.d.ts.map +1 -0
  40. package/out/graphql/graphql-domain-types.js +2 -0
  41. package/out/graphql/graphql-runtime-enums.d.ts +88 -0
  42. package/out/graphql/graphql-runtime-enums.d.ts.map +1 -0
  43. package/out/graphql/graphql-runtime-enums.js +77 -0
  44. package/out/graphql/index.d.ts +3 -1
  45. package/out/graphql/index.d.ts.map +1 -1
  46. package/out/graphql/index.js +5 -1
  47. package/out/graphql/mutation-aware-graphql-client.d.ts +4 -9
  48. package/out/graphql/mutation-aware-graphql-client.d.ts.map +1 -1
  49. package/out/graphql/mutation-aware-graphql-client.js +6 -10
  50. package/out/service/statsig-service.d.ts +1 -2
  51. package/out/service/statsig-service.d.ts.map +1 -1
  52. package/out/service/statsig-service.js +0 -3
  53. package/out/shared/environment.d.ts +1 -1
  54. package/out/shared/environment.d.ts.map +1 -1
  55. package/out/shared/environment.js +4 -4
  56. package/out/shared/test.d.ts.map +1 -1
  57. package/out/shared/test.js +2 -1
  58. package/out/ui/command-line-ui.d.ts +1 -0
  59. package/out/ui/command-line-ui.d.ts.map +1 -1
  60. package/out/ui/command-line-ui.js +22 -0
  61. package/out/ui/text.d.ts +64 -8
  62. package/out/ui/text.d.ts.map +1 -1
  63. package/out/ui/text.js +58 -9
  64. package/out/ui/ui.d.ts +1 -0
  65. package/out/ui/ui.d.ts.map +1 -1
  66. package/package.json +7 -5
  67. package/out/graphql/graphql-types.d.ts +0 -261260
  68. package/out/graphql/graphql-types.d.ts.map +0 -1
  69. package/out/graphql/graphql-types.js +0 -21639
@@ -0,0 +1,1460 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Forge_Cli_GetHostnameForTenantContextsByCloudIdsDocument = exports.Forge_Cli_GetApplicationVersionListByMajorDocument = exports.Forge_Cli_GetApplicationEnvironmentLatestVersionsDocument = exports.Forge_Cli_GetEcosystemInstallationsByAppDocument = exports.Forge_Cli_GetInstallationTaskDocument = exports.Forge_Cli_HasNoAppInstallationsForEnvDocument = exports.Forge_Cli_DeprovisionInstallationLinkDocument = exports.Forge_Cli_ProvisionInstallationLinkDocument = exports.Forge_Cli_UninstallApplicationDocument = exports.GetEntitlementOfferingDocument = exports.Forge_Cli_UpgradeApplicationDocument = exports.Forge_Cli_InstallApplicationDocument = exports.Forge_Cli_DeleteEnvironmentDocument = exports.Forge_Cli_ListEnvironmentDocument = exports.Forge_Cli_GetEnvironmentByKeyDocument = exports.Forge_Cli_CreateEnvironmentDocument = exports.Forge_Cli_DeleteAppEnvironmentVariableDocument = exports.Forge_Cli_SetAppEnvironmentVariableDocument = exports.Forge_Cli_GetAppEnvironmentVariablesDocument = exports.Forge_Cli_GetEntitiesDefinitionsDocument = exports.Forge_Cli_GetApplicationRoaEligibilityDocument = exports.GetAppEnforcementMetadataDocument = exports.CreateDeveloperSpaceDocument = exports.GetDevSpaceDetailsDocument = exports.GetDevSpaceWithLinkingAccessDocument = exports.GetAppDeploymentsDocument = exports.Forge_Cli_GetHostedResourcesUploadUrlsDocument = exports.Forge_Cli_ProcessCombinedAppBuildDocument = exports.Forge_Cli_GetDeploymentUrlDocument = exports.Forge_Cli_DeployApplicationDocument = exports.Forge_Cli_GetApplicationDeploymentStatusDocument = exports.Forge_Cli_CreateAppCustomScopesDocument = exports.Forge_Cli_GetAppCustomScopesDocument = exports.Forge_Cli_AppContainerDocument = exports.Forge_Cli_AppContainerRegistryLoginDocument = exports.Forge_Cli_DeleteAppContainerDocument = exports.Forge_Cli_AppContainerServicesDocument = exports.Forge_Cli_AppContainersDocument = exports.Forge_Cli_CreateAppContainerDocument = exports.GetBuildsByAppDocument = exports.Forge_Cli_GetAppOauthClientIdDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentDetailsDocument = exports.Forge_Cli_GetApplicationEnvironmentIdDocument = exports.Forge_Cli_GetUserDetailsDocument = exports.Forge_Cli_GetAppOwnerDocument = exports.Forge_Cli_CreateApplicationDocument = exports.Forge_Cli_GetInvocationLogsDocument = exports.Forge_Cli_GetApplicationLogsDocument = exports.Forge_Cli_GetApplicationLogsV2Document = exports.TypedDocumentString = void 0;
4
+ exports.Forge_Cli_DeleteApplicationTunnelsDocument = exports.Forge_Cli_CreateApplicationTunnelsDocument = exports.Forge_Cli_SetupApplicationTunnelDocument = exports.Forge_Cli_AppPreDeploymentCheckDocument = exports.Forge_Cli_CreateAppManifestUploadUrlDocument = exports.Forge_Cli_DeleteWebTriggerUrlDocument = exports.Forge_Cli_ListWebTriggerUrlsDocument = exports.Forge_Cli_CreateWebTriggerUrlDocument = exports.Forge_Cli_CancelAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutDocument = exports.Forge_Cli_GetAppVersionRolloutsListDocument = exports.Forge_Cli_GetApplicationIdentityVersionDetailsDocument = exports.Forge_Cli_CreateAppVersionUpgradeRolloutDocument = exports.Forge_Cli_GetAppUpgradableToListDocument = exports.Forge_Cli_GetAppUpgradeVersionsListDocument = exports.Forge_Cli_GetApplicationVersionListDocument = exports.Forge_Cli_GetApplicationVersionDetailsDocument = exports.Forge_Cli_DemoSiteDocument = exports.Forge_Cli_DemoSiteProvisioningDocument = exports.Forge_Cli_ProvisionDemoSiteDocument = exports.Forge_Cli_ListDeployedWebtriggerExtensionKeysDocument = exports.Forge_Cli_CreateRollingReleaseDocument = exports.Forge_Cli_SetExternalAuthCredentialsDocument = exports.Forge_Cli_GetMigrationKeysWithMarketplaceDocument = exports.Forge_Cli_GetMigrationKeysDocument = exports.Forge_Cli_AppManifestTransformationDocument = exports.GetTenantContextDetailsDocument = exports.Forge_Cli_GetHostnameForTenantContextsByActivationIdsDocument = void 0;
5
+ class TypedDocumentString extends String {
6
+ __apiType;
7
+ value;
8
+ __meta__;
9
+ constructor(value, __meta__) {
10
+ super(value);
11
+ this.value = value;
12
+ this.__meta__ = __meta__;
13
+ }
14
+ toString() {
15
+ return this.value;
16
+ }
17
+ }
18
+ exports.TypedDocumentString = TypedDocumentString;
19
+ exports.Forge_Cli_GetApplicationLogsV2Document = new TypedDocumentString(`
20
+ query forge_cli_getApplicationLogsV2($appId: String!, $environmentId: String!, $dateSearchInput: DateSearchInput, $offset: Int!, $limit: Int!, $queryStartTime: String!, $runtime: String, $functionKeys: [String], $containers: [String], $instances: [String], $services: [String]) {
21
+ appLogsWithMetaData(
22
+ appId: $appId
23
+ environmentId: $environmentId
24
+ limit: $limit
25
+ offset: $offset
26
+ queryStartTime: $queryStartTime
27
+ query: {dates: $dateSearchInput, runtime: $runtime, functionKeys: $functionKeys, containers: $containers, instances: $instances, services: $services}
28
+ ) {
29
+ appLogs {
30
+ appId
31
+ appVersion
32
+ message
33
+ environmentId
34
+ invocationId
35
+ functionKey
36
+ lvl
37
+ error
38
+ other
39
+ ts
40
+ browserName
41
+ browserVersion
42
+ errorType
43
+ extensionType
44
+ installationId
45
+ logSource
46
+ osName
47
+ renderType
48
+ userAgent
49
+ }
50
+ appLogsFilterBuckets {
51
+ containers {
52
+ key
53
+ count
54
+ __typename
55
+ }
56
+ services {
57
+ key
58
+ count
59
+ __typename
60
+ }
61
+ functionKeys {
62
+ key
63
+ count
64
+ __typename
65
+ }
66
+ __typename
67
+ }
68
+ hasNextPage
69
+ totalLogs
70
+ __typename
71
+ }
72
+ }
73
+ `);
74
+ exports.Forge_Cli_GetApplicationLogsDocument = new TypedDocumentString(`
75
+ query forge_cli_getApplicationLogs($appId: ID!, $environmentId: [ID!]!, $limit: Int!, $contextAri: [ID!], $startTime: String) {
76
+ appLogs(
77
+ appId: $appId
78
+ environmentId: $environmentId
79
+ last: $limit
80
+ query: {installationContexts: $contextAri, dates: {earliestStart: $startTime}}
81
+ ) {
82
+ nodes {
83
+ id
84
+ function {
85
+ key
86
+ }
87
+ appVersion
88
+ trigger {
89
+ type
90
+ }
91
+ appLogLines {
92
+ edges {
93
+ node {
94
+ timestamp
95
+ level
96
+ message
97
+ other
98
+ }
99
+ cursor
100
+ }
101
+ pageInfo {
102
+ hasNextPage
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ `);
109
+ exports.Forge_Cli_GetInvocationLogsDocument = new TypedDocumentString(`
110
+ query forge_cli_getInvocationLogs($invocationId: ID!, $after: String) {
111
+ appLogLines(after: $after, invocation: $invocationId) {
112
+ metadata {
113
+ id
114
+ function {
115
+ key
116
+ }
117
+ appVersion
118
+ trigger {
119
+ type
120
+ }
121
+ }
122
+ edges {
123
+ node {
124
+ timestamp
125
+ level
126
+ message
127
+ other
128
+ }
129
+ cursor
130
+ }
131
+ pageInfo {
132
+ hasNextPage
133
+ }
134
+ }
135
+ }
136
+ `);
137
+ exports.Forge_Cli_CreateApplicationDocument = new TypedDocumentString(`
138
+ mutation forge_cli_createApplication($input: CreateAppInput!) {
139
+ createApp(input: $input) {
140
+ success
141
+ errors {
142
+ message
143
+ extensions {
144
+ errorType
145
+ statusCode
146
+ }
147
+ }
148
+ app {
149
+ id
150
+ environments {
151
+ key
152
+ }
153
+ }
154
+ }
155
+ }
156
+ `);
157
+ exports.Forge_Cli_GetAppOwnerDocument = new TypedDocumentString(`
158
+ query forge_cli_getAppOwner($id: ID!) {
159
+ app(id: $id) {
160
+ createdBy {
161
+ name
162
+ accountId
163
+ }
164
+ }
165
+ }
166
+ `);
167
+ exports.Forge_Cli_GetUserDetailsDocument = new TypedDocumentString(`
168
+ query forge_cli_getUserDetails {
169
+ me {
170
+ user {
171
+ name
172
+ accountStatus
173
+ accountId
174
+ }
175
+ }
176
+ }
177
+ `);
178
+ exports.Forge_Cli_GetApplicationEnvironmentIdDocument = new TypedDocumentString(`
179
+ query forge_cli_getApplicationEnvironmentId($id: ID!, $key: String!) {
180
+ app(id: $id) {
181
+ environmentByKey(key: $key) {
182
+ id
183
+ }
184
+ }
185
+ }
186
+ `);
187
+ exports.Forge_Cli_GetApplicationEnvironmentDetailsDocument = new TypedDocumentString(`
188
+ query forge_cli_getApplicationEnvironmentDetails($id: ID!, $key: String!) {
189
+ app(id: $id) {
190
+ name
191
+ environmentByKey(key: $key) {
192
+ id
193
+ type
194
+ }
195
+ }
196
+ }
197
+ `);
198
+ exports.Forge_Cli_GetAppOauthClientIdDetailsDocument = new TypedDocumentString(`
199
+ query forge_cli_getAppOauthClientIdDetails($id: ID!, $key: String!) {
200
+ app(id: $id) {
201
+ name
202
+ environmentByKey(key: $key) {
203
+ id
204
+ type
205
+ oauthClient {
206
+ clientID
207
+ }
208
+ }
209
+ }
210
+ }
211
+ `);
212
+ exports.GetBuildsByAppDocument = new TypedDocumentString(`
213
+ query getBuildsByApp($appId: ID!, $last: Int, $before: String) {
214
+ buildsByApp(appId: $appId, last: $last, before: $before) {
215
+ nodes {
216
+ createdAt
217
+ tag
218
+ createdByUser {
219
+ name
220
+ ... on AtlassianAccountUser {
221
+ email
222
+ }
223
+ ... on CustomerUser {
224
+ email
225
+ }
226
+ }
227
+ }
228
+ pageInfo {
229
+ hasPreviousPage
230
+ endCursor
231
+ }
232
+ totalCount
233
+ }
234
+ }
235
+ `);
236
+ exports.Forge_Cli_CreateAppContainerDocument = new TypedDocumentString(`
237
+ mutation forge_cli_createAppContainer($input: AppContainerInput!) {
238
+ createAppContainer(input: $input) {
239
+ container {
240
+ key
241
+ repositoryURI
242
+ }
243
+ success
244
+ errors {
245
+ message
246
+ extensions {
247
+ errorType
248
+ statusCode
249
+ }
250
+ }
251
+ }
252
+ }
253
+ `);
254
+ exports.Forge_Cli_AppContainersDocument = new TypedDocumentString(`
255
+ query forge_cli_appContainers($appId: ID!) {
256
+ appContainers(appId: $appId) {
257
+ key
258
+ repositoryURI
259
+ }
260
+ }
261
+ `);
262
+ exports.Forge_Cli_AppContainerServicesDocument = new TypedDocumentString(`
263
+ query forge_cli_appContainerServices($appId: ID!, $environmentKey: String!, $serviceNames: [String!]!, $contextFilter: AppContainerServiceContextFilter, $first: Int, $after: String) {
264
+ appContainerServices(
265
+ appId: $appId
266
+ environmentKey: $environmentKey
267
+ serviceNames: $serviceNames
268
+ contextFilter: $contextFilter
269
+ first: $first
270
+ after: $after
271
+ ) {
272
+ services {
273
+ key
274
+ placementAri
275
+ runningCount
276
+ pendingCount
277
+ maxCount
278
+ minCount
279
+ serviceStatus
280
+ versionStatus
281
+ createdAt
282
+ updatedAt
283
+ containers {
284
+ key
285
+ instances {
286
+ id
287
+ createdAt
288
+ healthStatus
289
+ containerStatus
290
+ imageURI
291
+ cpu
292
+ memory
293
+ instance
294
+ }
295
+ }
296
+ }
297
+ pageInfo {
298
+ hasNextPage
299
+ endCursor
300
+ }
301
+ }
302
+ }
303
+ `);
304
+ exports.Forge_Cli_DeleteAppContainerDocument = new TypedDocumentString(`
305
+ mutation forge_cli_deleteAppContainer($input: AppContainerInput!) {
306
+ deleteAppContainer(input: $input) {
307
+ success
308
+ errors {
309
+ message
310
+ extensions {
311
+ errorType
312
+ statusCode
313
+ }
314
+ }
315
+ }
316
+ }
317
+ `);
318
+ exports.Forge_Cli_AppContainerRegistryLoginDocument = new TypedDocumentString(`
319
+ query forge_cli_appContainerRegistryLogin($appId: ID!) {
320
+ appContainerRegistryLogin(appId: $appId) {
321
+ username
322
+ password
323
+ endpoint
324
+ }
325
+ }
326
+ `);
327
+ exports.Forge_Cli_AppContainerDocument = new TypedDocumentString(`
328
+ query forge_cli_appContainer($appId: ID!, $containerKey: String!, $after: ID, $imageTag: String) {
329
+ appContainer(appId: $appId, containerKey: $containerKey) {
330
+ images(first: 10, after: $after, imageTag: $imageTag) {
331
+ edges {
332
+ node {
333
+ digest
334
+ sizeInBytes
335
+ pushedAt
336
+ lastPulledAt
337
+ tags
338
+ }
339
+ }
340
+ pageInfo {
341
+ hasNextPage
342
+ endCursor
343
+ }
344
+ }
345
+ }
346
+ }
347
+ `);
348
+ exports.Forge_Cli_GetAppCustomScopesDocument = new TypedDocumentString(`
349
+ query forge_cli_getAppCustomScopes($appId: ID!, $environmentId: ID!, $first: Int, $after: String) {
350
+ appCustomScopes(
351
+ appId: $appId
352
+ environmentId: $environmentId
353
+ first: $first
354
+ after: $after
355
+ ) @optIn(to: ["custom-scopes-eap"]) {
356
+ nodes {
357
+ name
358
+ displayName
359
+ }
360
+ pageInfo {
361
+ hasNextPage
362
+ endCursor
363
+ }
364
+ }
365
+ }
366
+ `);
367
+ exports.Forge_Cli_CreateAppCustomScopesDocument = new TypedDocumentString(`
368
+ mutation forge_cli_createAppCustomScopes($input: CreateAppCustomScopesInput!) {
369
+ createAppCustomScopes(input: $input) @optIn(to: ["custom-scopes-eap"]) {
370
+ success
371
+ errors {
372
+ message
373
+ extensions {
374
+ errorType
375
+ statusCode
376
+ }
377
+ }
378
+ }
379
+ }
380
+ `);
381
+ exports.Forge_Cli_GetApplicationDeploymentStatusDocument = new TypedDocumentString(`
382
+ query forge_cli_getApplicationDeploymentStatus($appId: ID!, $environmentKey: String!, $id: ID!) {
383
+ appDeployment(appId: $appId, environmentKey: $environmentKey, id: $id) {
384
+ status
385
+ errorDetails {
386
+ code
387
+ message
388
+ fields
389
+ }
390
+ stages {
391
+ description
392
+ events {
393
+ __typename
394
+ stepName
395
+ createdAt
396
+ ... on AppDeploymentLogEvent {
397
+ message
398
+ level
399
+ }
400
+ ... on AppDeploymentDisplayEvent {
401
+ message
402
+ }
403
+ ... on AppDeploymentTransitionEvent {
404
+ newStatus
405
+ }
406
+ }
407
+ }
408
+ }
409
+ }
410
+ `);
411
+ exports.Forge_Cli_DeployApplicationDocument = new TypedDocumentString(`
412
+ mutation forge_cli_deployApplication($input: CreateAppDeploymentInput!) {
413
+ createAppDeployment(input: $input) {
414
+ success
415
+ errors {
416
+ message
417
+ extensions {
418
+ errorType
419
+ statusCode
420
+ }
421
+ }
422
+ deployment {
423
+ id
424
+ }
425
+ }
426
+ }
427
+ `);
428
+ exports.Forge_Cli_GetDeploymentUrlDocument = new TypedDocumentString(`
429
+ mutation forge_cli_getDeploymentUrl($input: CreateAppDeploymentUrlInput!) {
430
+ createAppDeploymentUrl(input: $input) {
431
+ success
432
+ errors {
433
+ message
434
+ extensions {
435
+ errorType
436
+ statusCode
437
+ }
438
+ }
439
+ deploymentUrl
440
+ }
441
+ }
442
+ `);
443
+ exports.Forge_Cli_ProcessCombinedAppBuildDocument = new TypedDocumentString(`
444
+ mutation forge_cli_processCombinedAppBuild($input: ProcessCombinedAppBuildInput!) {
445
+ processCombinedAppBuild(input: $input) {
446
+ success
447
+ errors {
448
+ message
449
+ extensions {
450
+ errorType
451
+ statusCode
452
+ }
453
+ }
454
+ buildTag
455
+ }
456
+ }
457
+ `);
458
+ exports.Forge_Cli_GetHostedResourcesUploadUrlsDocument = new TypedDocumentString(`
459
+ mutation forge_cli_getHostedResourcesUploadUrls($input: CreateHostedResourceUploadUrlInput!) {
460
+ createHostedResourceUploadUrl(input: $input) {
461
+ success
462
+ errors {
463
+ message
464
+ extensions {
465
+ errorType
466
+ statusCode
467
+ }
468
+ }
469
+ preSignedUrls {
470
+ uploadUrl
471
+ uploadFormData
472
+ }
473
+ uploadId
474
+ }
475
+ }
476
+ `);
477
+ exports.GetAppDeploymentsDocument = new TypedDocumentString(`
478
+ query getAppDeployments($appId: ID!, $interval: IntervalInput!, $first: Int, $after: String) {
479
+ app(id: $appId) {
480
+ deployments(interval: $interval, first: $first, after: $after) @optIn(to: ["xls-deployments-by-interval", "xls-deployments-major-version"]) {
481
+ nodes {
482
+ status
483
+ environmentKey
484
+ buildTag
485
+ majorVersion {
486
+ version
487
+ }
488
+ createdBy {
489
+ accountId
490
+ accountStatus
491
+ name
492
+ }
493
+ createdAt
494
+ }
495
+ pageInfo {
496
+ hasNextPage
497
+ endCursor
498
+ }
499
+ }
500
+ }
501
+ }
502
+ `);
503
+ exports.GetDevSpaceWithLinkingAccessDocument = new TypedDocumentString(`
504
+ query GetDevSpaceWithLinkingAccess {
505
+ ecosystem {
506
+ devConsole {
507
+ getDeveloperSpaceWithLinkingAccess
508
+ }
509
+ }
510
+ }
511
+ `);
512
+ exports.GetDevSpaceDetailsDocument = new TypedDocumentString(`
513
+ query GetDevSpaceDetails($devSpaceIds: [String!]!) {
514
+ ecosystem {
515
+ devConsole {
516
+ getDeveloperSpaceDetails(developerSpaceIds: $devSpaceIds) {
517
+ results {
518
+ developerSpaceId
519
+ error {
520
+ message
521
+ }
522
+ details {
523
+ name
524
+ }
525
+ }
526
+ }
527
+ }
528
+ }
529
+ }
530
+ `);
531
+ exports.CreateDeveloperSpaceDocument = new TypedDocumentString(`
532
+ mutation CreateDeveloperSpace($input: DevConsoleCreateDeveloperSpaceInput!) {
533
+ ecosystem {
534
+ devConsole {
535
+ createDeveloperSpace(input: $input) {
536
+ devSpace {
537
+ id
538
+ name
539
+ }
540
+ success
541
+ errors {
542
+ message
543
+ extensions {
544
+ statusCode
545
+ errorType
546
+ }
547
+ }
548
+ }
549
+ }
550
+ }
551
+ }
552
+ `);
553
+ exports.GetAppEnforcementMetadataDocument = new TypedDocumentString(`
554
+ query getAppEnforcementMetadata($appId: ID!) {
555
+ ecosystem {
556
+ devConsole {
557
+ getAppEnforcementMetadata(appId: $appId) {
558
+ metadata {
559
+ developerSpaceId
560
+ ccpEntitlementId
561
+ }
562
+ error {
563
+ message
564
+ }
565
+ }
566
+ }
567
+ }
568
+ }
569
+ `);
570
+ exports.Forge_Cli_GetApplicationRoaEligibilityDocument = new TypedDocumentString(`
571
+ query forge_cli_getApplicationRoaEligibility($appId: ID!, $environmentKey: String!, $firstN: Int!, $majorVersion: Int) {
572
+ app(id: $appId) {
573
+ environmentByKey(key: $environmentKey) {
574
+ type
575
+ versions(first: $firstN, majorVersion: $majorVersion) {
576
+ nodes {
577
+ version
578
+ isLatest
579
+ trustSignal(key: "RUNS_ON_ATLASSIAN") @optIn(to: ["AppEnvironmentVersionTrustSignal"]) {
580
+ key
581
+ result
582
+ rules {
583
+ name
584
+ value
585
+ }
586
+ }
587
+ }
588
+ }
589
+ }
590
+ }
591
+ }
592
+ `);
593
+ exports.Forge_Cli_GetEntitiesDefinitionsDocument = new TypedDocumentString(`
594
+ query forge_cli_getEntitiesDefinitions($oauthClientId: String!) {
595
+ ersLifecycle {
596
+ doneEntitiesFromERS(oauthClientId: $oauthClientId) {
597
+ indexes {
598
+ name
599
+ partition
600
+ range
601
+ status
602
+ }
603
+ name
604
+ status
605
+ }
606
+ }
607
+ }
608
+ `);
609
+ exports.Forge_Cli_GetAppEnvironmentVariablesDocument = new TypedDocumentString(`
610
+ query forge_cli_getAppEnvironmentVariables($appId: ID!, $key: String!) {
611
+ app(id: $appId) {
612
+ name
613
+ description
614
+ environmentByKey(key: $key) {
615
+ id
616
+ variables {
617
+ key
618
+ value
619
+ encrypt
620
+ }
621
+ }
622
+ }
623
+ }
624
+ `);
625
+ exports.Forge_Cli_SetAppEnvironmentVariableDocument = new TypedDocumentString(`
626
+ mutation forge_cli_setAppEnvironmentVariable($input: SetAppEnvironmentVariableInput!) {
627
+ setAppEnvironmentVariable(input: $input) {
628
+ success
629
+ errors {
630
+ message
631
+ extensions {
632
+ errorType
633
+ statusCode
634
+ }
635
+ }
636
+ }
637
+ }
638
+ `);
639
+ exports.Forge_Cli_DeleteAppEnvironmentVariableDocument = new TypedDocumentString(`
640
+ mutation forge_cli_deleteAppEnvironmentVariable($input: DeleteAppEnvironmentVariableInput!) {
641
+ deleteAppEnvironmentVariable(input: $input) {
642
+ success
643
+ errors {
644
+ message
645
+ extensions {
646
+ errorType
647
+ statusCode
648
+ }
649
+ }
650
+ }
651
+ }
652
+ `);
653
+ exports.Forge_Cli_CreateEnvironmentDocument = new TypedDocumentString(`
654
+ mutation forge_cli_createEnvironment($input: CreateAppEnvironmentInput!) {
655
+ ecosystem {
656
+ createAppEnvironment(input: $input) {
657
+ success
658
+ errors {
659
+ message
660
+ extensions {
661
+ errorType
662
+ statusCode
663
+ }
664
+ }
665
+ }
666
+ }
667
+ }
668
+ `);
669
+ exports.Forge_Cli_GetEnvironmentByKeyDocument = new TypedDocumentString(`
670
+ query forge_cli_getEnvironmentByKey($appAri: ID!, $environmentKey: String!) {
671
+ app(id: $appAri) {
672
+ id
673
+ environmentByKey(key: $environmentKey) {
674
+ id
675
+ appId
676
+ key
677
+ type
678
+ }
679
+ }
680
+ }
681
+ `);
682
+ exports.Forge_Cli_ListEnvironmentDocument = new TypedDocumentString(`
683
+ query forge_cli_listEnvironment($id: ID!, $first: Int!, $after: String) {
684
+ app(id: $id) {
685
+ environmentsPage(first: $first, after: $after) {
686
+ nodes {
687
+ id
688
+ key
689
+ type
690
+ createdAt
691
+ versions(first: 1) {
692
+ nodes {
693
+ updatedAt
694
+ requiredProducts
695
+ }
696
+ }
697
+ }
698
+ pageInfo {
699
+ hasNextPage
700
+ endCursor
701
+ }
702
+ totalCount
703
+ }
704
+ }
705
+ }
706
+ `);
707
+ exports.Forge_Cli_DeleteEnvironmentDocument = new TypedDocumentString(`
708
+ mutation forge_cli_deleteEnvironment($input: DeleteAppEnvironmentInput!) {
709
+ ecosystem {
710
+ deleteAppEnvironment(input: $input) {
711
+ success
712
+ errors {
713
+ message
714
+ extensions {
715
+ errorType
716
+ statusCode
717
+ }
718
+ }
719
+ }
720
+ }
721
+ }
722
+ `);
723
+ exports.Forge_Cli_InstallApplicationDocument = new TypedDocumentString(`
724
+ mutation forge_cli_installApplication($input: AppInstallationInput!) {
725
+ installApp(input: $input) {
726
+ success
727
+ taskId
728
+ installationId
729
+ errors {
730
+ message
731
+ extensions {
732
+ errorType
733
+ statusCode
734
+ }
735
+ }
736
+ }
737
+ }
738
+ `);
739
+ exports.Forge_Cli_UpgradeApplicationDocument = new TypedDocumentString(`
740
+ mutation forge_cli_upgradeApplication($input: AppInstallationUpgradeInput!) {
741
+ upgradeApp(input: $input) {
742
+ success
743
+ taskId
744
+ errors {
745
+ message
746
+ extensions {
747
+ errorType
748
+ statusCode
749
+ }
750
+ }
751
+ }
752
+ }
753
+ `);
754
+ exports.GetEntitlementOfferingDocument = new TypedDocumentString(`
755
+ query getEntitlementOffering($hostNames: [String!], $product: String!) {
756
+ tenantContexts(hostNames: $hostNames) {
757
+ cloudUrl
758
+ entitlementInfo(hamsProductKey: $product) {
759
+ entitlement {
760
+ ... on HamsEntitlement {
761
+ id
762
+ name
763
+ currentEdition
764
+ }
765
+ ... on CcpEntitlement {
766
+ id
767
+ offering {
768
+ name
769
+ }
770
+ }
771
+ }
772
+ }
773
+ }
774
+ }
775
+ `);
776
+ exports.Forge_Cli_UninstallApplicationDocument = new TypedDocumentString(`
777
+ mutation forge_cli_uninstallApplication($input: AppUninstallationInput!) {
778
+ uninstallApp(input: $input) {
779
+ success
780
+ taskId
781
+ errors {
782
+ message
783
+ extensions {
784
+ errorType
785
+ statusCode
786
+ }
787
+ }
788
+ }
789
+ }
790
+ `);
791
+ exports.Forge_Cli_ProvisionInstallationLinkDocument = new TypedDocumentString(`
792
+ mutation forge_cli_provisionInstallationLink($input: ProvisionInstallationLinkInput!) {
793
+ ecosystem {
794
+ provisionInstallationLink(input: $input) {
795
+ success
796
+ taskId
797
+ errors {
798
+ message
799
+ extensions {
800
+ errorType
801
+ statusCode
802
+ }
803
+ }
804
+ }
805
+ }
806
+ }
807
+ `);
808
+ exports.Forge_Cli_DeprovisionInstallationLinkDocument = new TypedDocumentString(`
809
+ mutation forge_cli_deprovisionInstallationLink($input: DeprovisionInstallationLinkInput!) {
810
+ ecosystem {
811
+ deprovisionInstallationLink(input: $input) {
812
+ success
813
+ taskId
814
+ errors {
815
+ message
816
+ extensions {
817
+ errorType
818
+ statusCode
819
+ }
820
+ }
821
+ }
822
+ }
823
+ }
824
+ `);
825
+ exports.Forge_Cli_HasNoAppInstallationsForEnvDocument = new TypedDocumentString(`
826
+ query forge_cli_hasNoAppInstallationsForEnv($filter: AppInstallationsByAppFilter!) {
827
+ ecosystem {
828
+ appInstallationsByApp(filter: $filter, first: 1) {
829
+ totalCount
830
+ }
831
+ }
832
+ }
833
+ `);
834
+ exports.Forge_Cli_GetInstallationTaskDocument = new TypedDocumentString(`
835
+ query forge_cli_getInstallationTask($id: ID!) {
836
+ appInstallationTask(id: $id) {
837
+ state
838
+ errors {
839
+ message
840
+ extensions {
841
+ errorType
842
+ statusCode
843
+ }
844
+ }
845
+ }
846
+ }
847
+ `);
848
+ exports.Forge_Cli_GetEcosystemInstallationsByAppDocument = new TypedDocumentString(`
849
+ query forge_cli_getEcosystemInstallationsByApp($filter: AppInstallationsByAppFilter!, $first: Int, $after: String) {
850
+ ecosystem {
851
+ appInstallationsByApp(filter: $filter, first: $first, after: $after) {
852
+ nodes {
853
+ id
854
+ installationContext
855
+ secondaryInstallationContexts
856
+ appEnvironment {
857
+ key
858
+ type
859
+ }
860
+ appEnvironmentVersion {
861
+ isLatest
862
+ version
863
+ permissions {
864
+ scopes {
865
+ key
866
+ }
867
+ egress {
868
+ addresses
869
+ }
870
+ }
871
+ }
872
+ computeVersion {
873
+ isLatest
874
+ version
875
+ permissions {
876
+ scopes {
877
+ key
878
+ }
879
+ egress {
880
+ addresses
881
+ }
882
+ }
883
+ }
884
+ }
885
+ pageInfo {
886
+ hasNextPage
887
+ endCursor
888
+ }
889
+ }
890
+ }
891
+ }
892
+ `);
893
+ exports.Forge_Cli_GetApplicationEnvironmentLatestVersionsDocument = new TypedDocumentString(`
894
+ query forge_cli_getApplicationEnvironmentLatestVersions($appId: ID!, $environmentKey: String!, $firstN: Int!) {
895
+ app(id: $appId) {
896
+ appFeatures {
897
+ key
898
+ value
899
+ }
900
+ environmentByKey(key: $environmentKey) {
901
+ id
902
+ type
903
+ versions(first: $firstN) {
904
+ nodes {
905
+ version
906
+ isLatest
907
+ installationTarget
908
+ requiredProducts
909
+ permissions {
910
+ egress {
911
+ addresses
912
+ }
913
+ scopes {
914
+ key
915
+ }
916
+ }
917
+ }
918
+ }
919
+ }
920
+ }
921
+ }
922
+ `);
923
+ exports.Forge_Cli_GetApplicationVersionListByMajorDocument = new TypedDocumentString(`
924
+ query forge_cli_getApplicationVersionListByMajor($id: ID!, $environmentKey: String!, $majorVersion: Int!) {
925
+ app(id: $id) {
926
+ appFeatures {
927
+ key
928
+ value
929
+ }
930
+ environmentByKey(key: $environmentKey) {
931
+ id
932
+ type
933
+ versions(majorVersion: $majorVersion) {
934
+ nodes {
935
+ id
936
+ version
937
+ isLatest
938
+ installationTarget
939
+ requiredProducts
940
+ permissions {
941
+ egress {
942
+ addresses
943
+ }
944
+ scopes {
945
+ key
946
+ }
947
+ }
948
+ }
949
+ }
950
+ }
951
+ }
952
+ }
953
+ `);
954
+ exports.Forge_Cli_GetHostnameForTenantContextsByCloudIdsDocument = new TypedDocumentString(`
955
+ query forge_cli_getHostnameForTenantContextsByCloudIds($cloudIds: [ID!]!) {
956
+ tenantContexts(cloudIds: $cloudIds) {
957
+ hostName
958
+ }
959
+ }
960
+ `);
961
+ exports.Forge_Cli_GetHostnameForTenantContextsByActivationIdsDocument = new TypedDocumentString(`
962
+ query forge_cli_getHostnameForTenantContextsByActivationIds($activationIds: [ID!]!) {
963
+ tenantContexts(activationIds: $activationIds) {
964
+ hostName
965
+ }
966
+ }
967
+ `);
968
+ exports.GetTenantContextDetailsDocument = new TypedDocumentString(`
969
+ query getTenantContextDetails($hostNames: [String!], $product: String!) {
970
+ tenantContexts(hostNames: $hostNames) {
971
+ cloudId
972
+ activationIdByProduct(product: $product) {
973
+ active
974
+ }
975
+ }
976
+ }
977
+ `);
978
+ exports.Forge_Cli_AppManifestTransformationDocument = new TypedDocumentString(`
979
+ query forge_cli_appManifestTransformation($appId: ID!, $environmentKey: String!, $manifest: JSON!, $contextFilter: AppManifestTransformationContextFilter) {
980
+ appManifestTransformation(
981
+ appId: $appId
982
+ environmentKey: $environmentKey
983
+ manifest: $manifest
984
+ contextFilter: $contextFilter
985
+ ) {
986
+ manifest
987
+ }
988
+ }
989
+ `);
990
+ exports.Forge_Cli_GetMigrationKeysDocument = new TypedDocumentString(`
991
+ query forge_cli_getMigrationKeys($id: ID!, $key: String!) {
992
+ app(id: $id) {
993
+ environmentByKey(key: $key) {
994
+ id
995
+ versions(first: 1) {
996
+ edges {
997
+ node {
998
+ isLatest
999
+ migrationKeys {
1000
+ jira
1001
+ confluence
1002
+ }
1003
+ version
1004
+ }
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ }
1010
+ `);
1011
+ exports.Forge_Cli_GetMigrationKeysWithMarketplaceDocument = new TypedDocumentString(`
1012
+ query forge_cli_getMigrationKeysWithMarketplace($id: ID!, $key: String!) {
1013
+ app(id: $id) {
1014
+ environmentByKey(key: $key) {
1015
+ id
1016
+ versions(first: 1) {
1017
+ edges {
1018
+ node {
1019
+ isLatest
1020
+ migrationKeys {
1021
+ jira
1022
+ confluence
1023
+ }
1024
+ version
1025
+ }
1026
+ }
1027
+ }
1028
+ }
1029
+ marketplaceApp {
1030
+ appKey
1031
+ }
1032
+ }
1033
+ }
1034
+ `);
1035
+ exports.Forge_Cli_SetExternalAuthCredentialsDocument = new TypedDocumentString(`
1036
+ mutation forge_cli_setExternalAuthCredentials($input: SetExternalAuthCredentialsInput!) {
1037
+ setExternalAuthCredentials(input: $input) {
1038
+ success
1039
+ errors {
1040
+ message
1041
+ extensions {
1042
+ errorType
1043
+ statusCode
1044
+ }
1045
+ }
1046
+ }
1047
+ }
1048
+ `);
1049
+ exports.Forge_Cli_CreateRollingReleaseDocument = new TypedDocumentString(`
1050
+ mutation forge_cli_createRollingRelease($appId: ID!, $environmentId: ID!, $limit: Int) {
1051
+ ecosystem {
1052
+ createRollingRelease(
1053
+ appId: $appId
1054
+ environmentId: $environmentId
1055
+ limit: $limit
1056
+ ) {
1057
+ success
1058
+ rolloutId
1059
+ targetVersionId
1060
+ errors {
1061
+ message
1062
+ extensions {
1063
+ errorType
1064
+ statusCode
1065
+ }
1066
+ }
1067
+ }
1068
+ }
1069
+ }
1070
+ `);
1071
+ exports.Forge_Cli_ListDeployedWebtriggerExtensionKeysDocument = new TypedDocumentString(`
1072
+ query forge_cli_listDeployedWebtriggerExtensionKeys($contextId: ID!, $filter: [ExtensionContextsFilter!]!) {
1073
+ extensionContext(contextId: $contextId) {
1074
+ extensions(filter: $filter) {
1075
+ key
1076
+ }
1077
+ }
1078
+ }
1079
+ `);
1080
+ exports.Forge_Cli_ProvisionDemoSiteDocument = new TypedDocumentString(`
1081
+ mutation forge_cli_provisionDemoSite {
1082
+ provisionDemoSite {
1083
+ success
1084
+ errors {
1085
+ message
1086
+ extensions {
1087
+ errorType
1088
+ statusCode
1089
+ }
1090
+ }
1091
+ taskId
1092
+ cloudName
1093
+ xnId
1094
+ }
1095
+ }
1096
+ `);
1097
+ exports.Forge_Cli_DemoSiteProvisioningDocument = new TypedDocumentString(`
1098
+ query forge_cli_demoSiteProvisioning($taskId: ID!) {
1099
+ demoSiteProvisioning(taskId: $taskId) {
1100
+ taskId
1101
+ cloudName
1102
+ status
1103
+ startedAt
1104
+ finishedAt
1105
+ site {
1106
+ dfId
1107
+ cloudName
1108
+ siteUrl
1109
+ status
1110
+ createdAt
1111
+ expiresAt
1112
+ }
1113
+ }
1114
+ }
1115
+ `);
1116
+ exports.Forge_Cli_DemoSiteDocument = new TypedDocumentString(`
1117
+ query forge_cli_demoSite {
1118
+ demoSite {
1119
+ dfId
1120
+ cloudName
1121
+ siteUrl
1122
+ status
1123
+ createdAt
1124
+ expiresAt
1125
+ }
1126
+ }
1127
+ `);
1128
+ exports.Forge_Cli_GetApplicationVersionDetailsDocument = new TypedDocumentString(`
1129
+ query forge_cli_getApplicationVersionDetails($appId: ID!, $environmentKey: String!, $firstN: Int!, $majorVersion: Int) {
1130
+ app(id: $appId) {
1131
+ environmentByKey(key: $environmentKey) {
1132
+ type
1133
+ key
1134
+ versions(first: $firstN, majorVersion: $majorVersion) {
1135
+ nodes {
1136
+ version
1137
+ createdAt
1138
+ isLatest
1139
+ requiresLicense
1140
+ permissions {
1141
+ scopes {
1142
+ key
1143
+ }
1144
+ egress {
1145
+ type
1146
+ addresses
1147
+ category
1148
+ inScopeEUD
1149
+ }
1150
+ securityPolicies {
1151
+ type
1152
+ policies
1153
+ }
1154
+ }
1155
+ extensions {
1156
+ nodes {
1157
+ id
1158
+ key
1159
+ extensionData
1160
+ }
1161
+ }
1162
+ storage {
1163
+ hosted {
1164
+ classifications
1165
+ locations
1166
+ }
1167
+ remotes {
1168
+ key
1169
+ baseUrl
1170
+ classifications
1171
+ locations
1172
+ }
1173
+ }
1174
+ migrationKeys {
1175
+ jira
1176
+ confluence
1177
+ }
1178
+ }
1179
+ }
1180
+ }
1181
+ }
1182
+ }
1183
+ `);
1184
+ exports.Forge_Cli_GetApplicationVersionListDocument = new TypedDocumentString(`
1185
+ query forge_cli_getApplicationVersionList($appId: ID!, $first: Int, $after: String) {
1186
+ app(id: $appId) {
1187
+ environments {
1188
+ key
1189
+ versions(first: $first, after: $after) {
1190
+ nodes {
1191
+ version
1192
+ }
1193
+ pageInfo {
1194
+ hasNextPage
1195
+ endCursor
1196
+ }
1197
+ }
1198
+ }
1199
+ }
1200
+ }
1201
+ `);
1202
+ exports.Forge_Cli_GetAppUpgradeVersionsListDocument = new TypedDocumentString(`
1203
+ query forge_cli_getAppUpgradeVersionsList($appId: ID!, $environmentKey: String!) {
1204
+ app(id: $appId) {
1205
+ environmentByKey(key: $environmentKey) {
1206
+ key
1207
+ versions {
1208
+ nodes {
1209
+ createdAt
1210
+ id
1211
+ installations {
1212
+ totalCount
1213
+ }
1214
+ version
1215
+ }
1216
+ }
1217
+ }
1218
+ }
1219
+ }
1220
+ `);
1221
+ exports.Forge_Cli_GetAppUpgradableToListDocument = new TypedDocumentString(`
1222
+ query forge_cli_getAppUpgradableToList($appId: ID!, $environmentKey: String!, $sourceVersionId: ID!) {
1223
+ app(id: $appId) {
1224
+ environmentByKey(key: $environmentKey) {
1225
+ key
1226
+ versions {
1227
+ nodes {
1228
+ createdAt
1229
+ id
1230
+ version
1231
+ upgradeableByRolloutFromVersion(sourceVersionId: $sourceVersionId) {
1232
+ upgradeableByRollout
1233
+ upgradeLimit
1234
+ }
1235
+ }
1236
+ }
1237
+ }
1238
+ }
1239
+ }
1240
+ `);
1241
+ exports.Forge_Cli_CreateAppVersionUpgradeRolloutDocument = new TypedDocumentString(`
1242
+ mutation forge_cli_createAppVersionUpgradeRollout($input: CreateAppVersionRolloutInput!) {
1243
+ ecosystem {
1244
+ createAppVersionRollout(input: $input) {
1245
+ success
1246
+ appVersionRollout {
1247
+ id
1248
+ status
1249
+ upgradeLimit
1250
+ }
1251
+ totalEligibleUpgrades
1252
+ expectedRemainingUpgrades
1253
+ errors {
1254
+ message
1255
+ extensions {
1256
+ errorType
1257
+ statusCode
1258
+ }
1259
+ }
1260
+ }
1261
+ }
1262
+ }
1263
+ `);
1264
+ exports.Forge_Cli_GetApplicationIdentityVersionDetailsDocument = new TypedDocumentString(`
1265
+ query forge_cli_getApplicationIdentityVersionDetails($appId: ID!, $environmentKey: String!, $firstN: Int!, $majorVersion: Int) {
1266
+ app(id: $appId) {
1267
+ environmentByKey(key: $environmentKey) {
1268
+ type
1269
+ versions(first: $firstN, majorVersion: $majorVersion) {
1270
+ nodes {
1271
+ version
1272
+ id
1273
+ }
1274
+ }
1275
+ }
1276
+ }
1277
+ }
1278
+ `);
1279
+ exports.Forge_Cli_GetAppVersionRolloutsListDocument = new TypedDocumentString(`
1280
+ query forge_cli_getAppVersionRolloutsList($appId: ID!, $environmentKey: String!) {
1281
+ app(id: $appId) {
1282
+ environmentByKey(key: $environmentKey) {
1283
+ id
1284
+ type
1285
+ versions {
1286
+ nodes {
1287
+ version
1288
+ id
1289
+ }
1290
+ }
1291
+ appVersionRollouts {
1292
+ nodes {
1293
+ id
1294
+ appId
1295
+ appEnvironmentId
1296
+ createdAt
1297
+ completedAt
1298
+ status
1299
+ sourceVersionId
1300
+ targetVersionId
1301
+ progress {
1302
+ completedUpgradeCount
1303
+ failedUpgradeCount
1304
+ pendingUpgradeCount
1305
+ }
1306
+ }
1307
+ }
1308
+ }
1309
+ }
1310
+ }
1311
+ `);
1312
+ exports.Forge_Cli_GetAppVersionRolloutDocument = new TypedDocumentString(`
1313
+ query forge_cli_getAppVersionRollout($appRolloutId: ID!) {
1314
+ ecosystem {
1315
+ appVersionRollout(id: $appRolloutId) {
1316
+ progress {
1317
+ completedUpgradeCount
1318
+ failedUpgradeCount
1319
+ pendingUpgradeCount
1320
+ }
1321
+ sourceVersionId
1322
+ targetVersionId
1323
+ status
1324
+ id
1325
+ appId
1326
+ completedAt
1327
+ upgradeLimit
1328
+ }
1329
+ }
1330
+ }
1331
+ `);
1332
+ exports.Forge_Cli_CancelAppVersionUpgradeRolloutDocument = new TypedDocumentString(`
1333
+ mutation forge_cli_cancelAppVersionUpgradeRollout($input: CancelAppVersionRolloutInput!) {
1334
+ ecosystem {
1335
+ cancelAppVersionRollout(input: $input) {
1336
+ success
1337
+ errors {
1338
+ extensions {
1339
+ errorType
1340
+ statusCode
1341
+ }
1342
+ message
1343
+ }
1344
+ }
1345
+ }
1346
+ }
1347
+ `);
1348
+ exports.Forge_Cli_CreateWebTriggerUrlDocument = new TypedDocumentString(`
1349
+ mutation forge_cli_createWebTriggerUrl($input: WebTriggerUrlInput!) {
1350
+ createWebTriggerUrl(input: $input) {
1351
+ statusCode
1352
+ success
1353
+ message
1354
+ url
1355
+ }
1356
+ }
1357
+ `);
1358
+ exports.Forge_Cli_ListWebTriggerUrlsDocument = new TypedDocumentString(`
1359
+ query forge_cli_listWebTriggerUrls($appId: ID!, $contextId: ID!, $envId: ID!) {
1360
+ webTriggerUrlsByAppContext(appId: $appId, contextId: $contextId, envId: $envId) {
1361
+ id
1362
+ triggerKey
1363
+ url
1364
+ }
1365
+ }
1366
+ `);
1367
+ exports.Forge_Cli_DeleteWebTriggerUrlDocument = new TypedDocumentString(`
1368
+ mutation forge_cli_deleteWebTriggerUrl($id: ID!) {
1369
+ deleteWebTriggerUrl(id: $id) {
1370
+ statusCode
1371
+ success
1372
+ message
1373
+ }
1374
+ }
1375
+ `);
1376
+ exports.Forge_Cli_CreateAppManifestUploadUrlDocument = new TypedDocumentString(`
1377
+ mutation forge_cli_createAppManifestUploadUrl($input: CreateAppManifestUploadUrlInput!) {
1378
+ createAppManifestUploadUrl(input: $input) {
1379
+ success
1380
+ preSignedUrl
1381
+ errors {
1382
+ message
1383
+ extensions {
1384
+ errorType
1385
+ statusCode
1386
+ }
1387
+ }
1388
+ }
1389
+ }
1390
+ `);
1391
+ exports.Forge_Cli_AppPreDeploymentCheckDocument = new TypedDocumentString(`
1392
+ query forge_cli_appPreDeploymentCheck($input: AppPreDeploymentCheckInput!) {
1393
+ appPreDeploymentCheck(input: $input) {
1394
+ outcome {
1395
+ rule
1396
+ category
1397
+ value
1398
+ reason
1399
+ changes {
1400
+ key
1401
+ added
1402
+ removed
1403
+ }
1404
+ errors {
1405
+ key
1406
+ message
1407
+ line
1408
+ column
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ `);
1414
+ exports.Forge_Cli_SetupApplicationTunnelDocument = new TypedDocumentString(`
1415
+ mutation forge_cli_setupApplicationTunnel($input: RegisterTunnelInput!) {
1416
+ registerTunnel(input: $input) {
1417
+ success
1418
+ errors {
1419
+ message
1420
+ extensions {
1421
+ errorType
1422
+ statusCode
1423
+ }
1424
+ }
1425
+ tunnelId
1426
+ tunnelToken
1427
+ tunnelUrl
1428
+ tunnelK8AuthToken
1429
+ }
1430
+ }
1431
+ `);
1432
+ exports.Forge_Cli_CreateApplicationTunnelsDocument = new TypedDocumentString(`
1433
+ mutation forge_cli_createApplicationTunnels($input: CreateAppTunnelsInput!) {
1434
+ createAppTunnels(input: $input) {
1435
+ success
1436
+ errors {
1437
+ message
1438
+ extensions {
1439
+ errorType
1440
+ statusCode
1441
+ }
1442
+ }
1443
+ keepAlive
1444
+ }
1445
+ }
1446
+ `);
1447
+ exports.Forge_Cli_DeleteApplicationTunnelsDocument = new TypedDocumentString(`
1448
+ mutation forge_cli_deleteApplicationTunnels($input: DeleteAppTunnelInput!) {
1449
+ deleteAppTunnels(input: $input) {
1450
+ success
1451
+ errors {
1452
+ message
1453
+ extensions {
1454
+ errorType
1455
+ statusCode
1456
+ }
1457
+ }
1458
+ }
1459
+ }
1460
+ `);