@apollo-deploy/typescript-sdk 1.0.1 → 1.2.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 +51 -111
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/client.d.ts +6 -9
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/client.js +4 -6
- package/dist/src/client.js.map +1 -1
- package/dist/src/domain/apps.d.ts +1 -3
- package/dist/src/domain/apps.d.ts.map +1 -1
- package/dist/src/domain/apps.js +0 -9
- package/dist/src/domain/apps.js.map +1 -1
- package/dist/src/domain/health.d.ts +1 -3
- package/dist/src/domain/health.d.ts.map +1 -1
- package/dist/src/domain/health.js +0 -16
- package/dist/src/domain/health.js.map +1 -1
- package/dist/src/domain/index.d.ts +4 -6
- package/dist/src/domain/index.d.ts.map +1 -1
- package/dist/src/domain/index.js +2 -3
- package/dist/src/domain/index.js.map +1 -1
- package/dist/src/domain/integrations-admin.d.ts +17 -0
- package/dist/src/domain/integrations-admin.d.ts.map +1 -0
- package/dist/src/domain/integrations-admin.js +36 -0
- package/dist/src/domain/integrations-admin.js.map +1 -0
- package/dist/src/domain/integrations.d.ts +26 -38
- package/dist/src/domain/integrations.d.ts.map +1 -1
- package/dist/src/domain/integrations.js +33 -98
- package/dist/src/domain/integrations.js.map +1 -1
- package/dist/src/domain/settings.d.ts +3 -1
- package/dist/src/domain/settings.d.ts.map +1 -1
- package/dist/src/domain/settings.js +8 -0
- package/dist/src/domain/settings.js.map +1 -1
- package/dist/src/types/index.d.ts +463 -782
- package/dist/src/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/domain/credentials.d.ts +0 -25
- package/dist/src/domain/credentials.d.ts.map +0 -1
- package/dist/src/domain/credentials.js +0 -81
- package/dist/src/domain/credentials.js.map +0 -1
- package/dist/src/domain/deployments.d.ts +0 -31
- package/dist/src/domain/deployments.d.ts.map +0 -1
- package/dist/src/domain/deployments.js +0 -121
- package/dist/src/domain/deployments.js.map +0 -1
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@ const client = createApolloDeployApiClient({
|
|
|
137
137
|
| `getCombinedOrgUser` | GET | `/orgs/${orgId}/settings/all` | Get combined org and user settings for the current user context |
|
|
138
138
|
| `listOrgMergedSystem` | GET | `/orgs/${orgId}/settings` | List org settings merged with system defaults |
|
|
139
139
|
| `partiallyUpdateOrgPartial` | PATCH | `/orgs/${orgId}/settings` | Partially update org settings with partial success |
|
|
140
|
+
| `listRegistryOrganizationPlan` | GET | `/orgs/${orgId}/settings/registry` | List settings registry for current organization plan |
|
|
140
141
|
| `getSingleOrg` | GET | `/orgs/${orgId}/settings/${key}` | Get a single org setting |
|
|
141
142
|
| `resetOrgSystemDefault` | DELETE | `/orgs/${orgId}/settings/${key}` | Reset an org setting to system default |
|
|
142
143
|
| `listUserMergedSystem` | GET | `/users/me/settings` | List user settings merged with system defaults |
|
|
@@ -156,7 +157,6 @@ const client = createApolloDeployApiClient({
|
|
|
156
157
|
| `generatePresignedUploadUrl` | POST | `/apps/${appId}/artifacts/presign` | Generate a presigned upload URL for an artifact |
|
|
157
158
|
| `markArtifactUploadComplete` | POST | `/apps/${appId}/artifacts/${artifactId}/complete` | Mark an artifact upload as complete |
|
|
158
159
|
| `getPricingInformation` | GET | `/apps/${appId}/pricing` | Retrieve pricing information for an application |
|
|
159
|
-
| `updatePricingConfiguration` | PATCH | `/apps/${appId}/pricing` | Update pricing configuration for an application |
|
|
160
160
|
|
|
161
161
|
### ReleasesAPI
|
|
162
162
|
|
|
@@ -212,18 +212,6 @@ const client = createApolloDeployApiClient({
|
|
|
212
212
|
| `getMetricRegistry` | GET | `/analytics/registry` | Get metric registry |
|
|
213
213
|
| `triggerJob` | POST | `/analytics/trigger` | Trigger analytics job |
|
|
214
214
|
|
|
215
|
-
### CredentialsAPI
|
|
216
|
-
|
|
217
|
-
| Method | HTTP | Path | Description |
|
|
218
|
-
|--------|------|------|-------------|
|
|
219
|
-
| `listStoreOrganization` | GET | `/credentials/` | List store credentials for the active organization |
|
|
220
|
-
| `get` | GET | `/credentials/${credentialId}` | Retrieve an individual credential by ID |
|
|
221
|
-
| `updateMetadata` | PATCH | `/credentials/${credentialId}` | Update credential metadata |
|
|
222
|
-
| `revoke` | DELETE | `/credentials/${credentialId}` | Revoke (soft delete) a credential |
|
|
223
|
-
| `create` | POST | `/credentials/${provider}` | Create a new credential |
|
|
224
|
-
| `rotateSecrets` | POST | `/credentials/${credentialId}/rotate` | Rotate credential secrets |
|
|
225
|
-
| `mintFreshAccessToken` | POST | `/credentials/${credentialId}/refresh-token` | Mint a fresh access token for a credential |
|
|
226
|
-
|
|
227
215
|
### BillingAPI
|
|
228
216
|
|
|
229
217
|
| Method | HTTP | Path | Description |
|
|
@@ -237,30 +225,6 @@ const client = createApolloDeployApiClient({
|
|
|
237
225
|
| `listOrders` | GET | `/billing/orders` | List orders |
|
|
238
226
|
| `getOrderDetails` | GET | `/billing/orders/${orderId}` | Get order details |
|
|
239
227
|
|
|
240
|
-
### IntegrationsAPI
|
|
241
|
-
|
|
242
|
-
| Method | HTTP | Path | Description |
|
|
243
|
-
|--------|------|------|-------------|
|
|
244
|
-
| `listOrganization` | GET | `/integrations/` | List integrations for organization |
|
|
245
|
-
| `getDetails` | GET | `/integrations/${integrationKey}` | Get integration details |
|
|
246
|
-
| `install` | POST | `/integrations/${integrationKey}/install` | Install integration |
|
|
247
|
-
| `uninstall` | POST | `/integrations/${integrationKey}/uninstall` | Uninstall integration |
|
|
248
|
-
| `enable` | POST | `/integrations/${integrationKey}/enable` | Enable integration |
|
|
249
|
-
| `disable` | POST | `/integrations/${integrationKey}/disable` | Disable integration |
|
|
250
|
-
| `listCatalogEntries` | GET | `/admin/integrations/` | List all catalog entries |
|
|
251
|
-
| `getCatalogEntry` | GET | `/admin/integrations/${integrationKey}` | Get catalog entry |
|
|
252
|
-
| `searchInstallations` | GET | `/admin/integrations/installations` | Search installations |
|
|
253
|
-
| `listOrgInstallations` | GET | `/admin/integrations/orgs/${orgId}` | List org installations |
|
|
254
|
-
| `getOrgEntitlements` | GET | `/admin/integrations/orgs/${orgId}/entitlements` | Get org entitlements |
|
|
255
|
-
| `forceInstall` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/install` | Force install integration |
|
|
256
|
-
| `forceUninstall` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/uninstall` | Force uninstall integration |
|
|
257
|
-
| `forceEnable` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/enable` | Force enable integration |
|
|
258
|
-
| `forceDisable` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/disable` | Force disable integration |
|
|
259
|
-
| `revalidate` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/revalidate` | Revalidate integration |
|
|
260
|
-
| `triggerSync` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/trigger-sync` | Trigger sync |
|
|
261
|
-
| `createAllowOverride` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/entitlements/allow` | Create ALLOW override |
|
|
262
|
-
| `createDenyOverride` | POST | `/admin/integrations/orgs/${orgId}/${integrationKey}/entitlements/deny` | Create DENY override |
|
|
263
|
-
|
|
264
228
|
### ShareLinksAPI
|
|
265
229
|
|
|
266
230
|
| Method | HTTP | Path | Description |
|
|
@@ -350,6 +314,32 @@ const client = createApolloDeployApiClient({
|
|
|
350
314
|
| `get` | GET | `/audit-logs/${id}` | Get audit log by ID |
|
|
351
315
|
| `export` | POST | `/audit-logs/export` | Export audit logs |
|
|
352
316
|
|
|
317
|
+
### IntegrationsAPI
|
|
318
|
+
|
|
319
|
+
| Method | HTTP | Path | Description |
|
|
320
|
+
|--------|------|------|-------------|
|
|
321
|
+
| `listAvailable` | GET | `/integrations/available` | List available integrations |
|
|
322
|
+
| `listInstalled` | GET | `/integrations/installed` | List installed integrations |
|
|
323
|
+
| `install` | POST | `/integrations/install` | Install an integration |
|
|
324
|
+
| `uninstall` | DELETE | `/integrations/${integrationKey}` | Uninstall an integration |
|
|
325
|
+
| `initiateOauthAuthorisation` | POST | `/integrations/oauth/init` | Initiate OAuth authorisation |
|
|
326
|
+
| `completeOauthAuthorisation` | POST | `/integrations/oauth/callback` | Complete OAuth authorisation |
|
|
327
|
+
| `listConnectionsProvider` | GET | `/integrations/connections/${provider}` | List connections for a provider |
|
|
328
|
+
| `revokeConnection` | DELETE | `/integrations/connections/${connectionId}` | Revoke a connection |
|
|
329
|
+
| `refreshConnectionTokens` | POST | `/integrations/connections/${connectionId}/refresh` | Refresh connection tokens |
|
|
330
|
+
| `listAppConfigs` | GET | `/integrations/apps/${appId}/configs` | List app integration configs |
|
|
331
|
+
| `createAppConfig` | POST | `/integrations/apps/${appId}/configs` | Create app integration config |
|
|
332
|
+
| `updateAppConfig` | PATCH | `/integrations/apps/${appId}/configs/${configId}` | Update app integration config |
|
|
333
|
+
| `deleteAppConfig` | DELETE | `/integrations/apps/${appId}/configs/${configId}` | Delete app integration config |
|
|
334
|
+
|
|
335
|
+
### IntegrationsAdminAPI
|
|
336
|
+
|
|
337
|
+
| Method | HTTP | Path | Description |
|
|
338
|
+
|--------|------|------|-------------|
|
|
339
|
+
| `listEntitlementOverridesOrganisation` | GET | `/integrations/entitlements/${orgId}` | List entitlement overrides for an organisation |
|
|
340
|
+
| `createEntitlementOverride` | POST | `/integrations/entitlements` | Create entitlement override |
|
|
341
|
+
| `deleteEntitlementOverride` | DELETE | `/integrations/entitlements/${overrideId}` | Delete entitlement override |
|
|
342
|
+
|
|
353
343
|
### WebhooksAPI
|
|
354
344
|
|
|
355
345
|
| Method | HTTP | Path | Description |
|
|
@@ -390,21 +380,6 @@ const client = createApolloDeployApiClient({
|
|
|
390
380
|
| `execute` | POST | `/workflows/${id}/execute` | Execute workflow |
|
|
391
381
|
| `listNodeTypes` | GET | `/workflows/node-types` | List node types |
|
|
392
382
|
|
|
393
|
-
### DeploymentsAPI
|
|
394
|
-
|
|
395
|
-
| Method | HTTP | Path | Description |
|
|
396
|
-
|--------|------|------|-------------|
|
|
397
|
-
| `getAwsBootstrapTemplate` | GET | `/distribution/providers/aws/bootstrap-template` | Get AWS bootstrap template for deployment onboarding |
|
|
398
|
-
| `listTargets` | GET | `/distribution/deployment-targets` | List deployment targets |
|
|
399
|
-
| `createTarget` | POST | `/distribution/deployment-targets` | Create deployment target |
|
|
400
|
-
| `getTarget` | GET | `/distribution/deployment-targets/${id}` | Get deployment target |
|
|
401
|
-
| `validateTargetConnectivityPermissions` | POST | `/distribution/deployment-targets/${id}/validate` | Validate deployment target connectivity and permissions |
|
|
402
|
-
| `list` | GET | `/distribution/deployments` | List deployments |
|
|
403
|
-
| `create` | POST | `/distribution/deployments` | Create deployment (asynchronous) |
|
|
404
|
-
| `getDetails` | GET | `/distribution/deployments/${id}` | Get deployment details |
|
|
405
|
-
| `listEventHistory` | GET | `/distribution/deployments/${id}/events` | List deployment event history |
|
|
406
|
-
| `ingestAwsEvents` | POST | `/distribution/providers/aws/events` | Ingest AWS deployment events (signed) |
|
|
407
|
-
|
|
408
383
|
### HealthAPI
|
|
409
384
|
|
|
410
385
|
| Method | HTTP | Path | Description |
|
|
@@ -413,7 +388,6 @@ const client = createApolloDeployApiClient({
|
|
|
413
388
|
| `integrationSystemCheck` | GET | `/health/integration` | Integration system health check |
|
|
414
389
|
| `webhookDeliveryCheck` | GET | `/health/webhooks` | Webhook delivery health check |
|
|
415
390
|
| `billingServiceCheck` | GET | `/health/billing` | Billing service health check |
|
|
416
|
-
| `checkStoreCredential` | GET | `/health/credentials` | Check store credential health |
|
|
417
391
|
| `getAnalyticsStatus` | GET | `/health/analytics` | Get analytics health status |
|
|
418
392
|
|
|
419
393
|
## Types
|
|
@@ -510,6 +484,7 @@ const client = createApolloDeployApiClient({
|
|
|
510
484
|
- `SettingsListOrgMergedSystemResponse`
|
|
511
485
|
- `SettingsPartiallyUpdateOrgPartialInput`
|
|
512
486
|
- `SettingsPartiallyUpdateOrgPartialResponse`
|
|
487
|
+
- `SettingsListRegistryOrganizationPlanResponse`
|
|
513
488
|
- `SettingsGetSingleOrgResponse`
|
|
514
489
|
- `SettingsResetOrgSystemDefaultResponse`
|
|
515
490
|
- `AppsListItem`
|
|
@@ -523,7 +498,6 @@ const client = createApolloDeployApiClient({
|
|
|
523
498
|
- `AppsMarkArtifactUploadCompleteInput`
|
|
524
499
|
- `AppsMarkArtifactUploadCompleteResponse`
|
|
525
500
|
- `AppsGetPricingInformationResponse`
|
|
526
|
-
- `AppsUpdatePricingConfigurationResponse`
|
|
527
501
|
- `ReleasesListApplicationItem`
|
|
528
502
|
- `ReleasesCreateApplicationInput`
|
|
529
503
|
- `ReleasesCreateApplicationResponse`
|
|
@@ -567,17 +541,6 @@ const client = createApolloDeployApiClient({
|
|
|
567
541
|
- `AnalyticsGetMetricRegistryResponse`
|
|
568
542
|
- `AnalyticsTriggerJobInput`
|
|
569
543
|
- `AnalyticsTriggerJobResponse`
|
|
570
|
-
- `CredentialsListStoreOrganizationItem`
|
|
571
|
-
- `CredentialsGetResponse`
|
|
572
|
-
- `CredentialsUpdateMetadataInput`
|
|
573
|
-
- `CredentialsUpdateMetadataResponse`
|
|
574
|
-
- `CredentialsRevokeInput`
|
|
575
|
-
- `CredentialsRevokeResponse`
|
|
576
|
-
- `CredentialsCreateInput`
|
|
577
|
-
- `CredentialsCreateResponse`
|
|
578
|
-
- `CredentialsRotateSecretsInput`
|
|
579
|
-
- `CredentialsRotateSecretsResponse`
|
|
580
|
-
- `CredentialsMintFreshAccessTokenResponse`
|
|
581
544
|
- `BillingGetOverviewResponse`
|
|
582
545
|
- `BillingGetEntitlementsSummaryResponse`
|
|
583
546
|
- `BillingCancelSubscriptionInput`
|
|
@@ -589,32 +552,6 @@ const client = createApolloDeployApiClient({
|
|
|
589
552
|
- `BillingCreateCheckoutSessionResponse`
|
|
590
553
|
- `BillingListOrdersItem`
|
|
591
554
|
- `BillingGetOrderDetailsResponse`
|
|
592
|
-
- `IntegrationsListOrganizationResponse`
|
|
593
|
-
- `IntegrationsGetDetailsResponse`
|
|
594
|
-
- `IntegrationsInstallInput`
|
|
595
|
-
- `IntegrationsInstallResponse`
|
|
596
|
-
- `IntegrationsUninstallResponse`
|
|
597
|
-
- `IntegrationsEnableResponse`
|
|
598
|
-
- `IntegrationsDisableResponse`
|
|
599
|
-
- `IntegrationsListCatalogEntriesResponse`
|
|
600
|
-
- `IntegrationsGetCatalogEntryResponse`
|
|
601
|
-
- `IntegrationsSearchInstallationsResponse`
|
|
602
|
-
- `IntegrationsListOrgInstallationsResponse`
|
|
603
|
-
- `IntegrationsGetOrgEntitlementsResponse`
|
|
604
|
-
- `IntegrationsForceInstallInput`
|
|
605
|
-
- `IntegrationsForceInstallResponse`
|
|
606
|
-
- `IntegrationsForceUninstallInput`
|
|
607
|
-
- `IntegrationsForceUninstallResponse`
|
|
608
|
-
- `IntegrationsForceEnableInput`
|
|
609
|
-
- `IntegrationsForceEnableResponse`
|
|
610
|
-
- `IntegrationsForceDisableInput`
|
|
611
|
-
- `IntegrationsForceDisableResponse`
|
|
612
|
-
- `IntegrationsRevalidateResponse`
|
|
613
|
-
- `IntegrationsTriggerSyncResponse`
|
|
614
|
-
- `IntegrationsCreateAllowOverrideInput`
|
|
615
|
-
- `IntegrationsCreateAllowOverrideResponse`
|
|
616
|
-
- `IntegrationsCreateDenyOverrideInput`
|
|
617
|
-
- `IntegrationsCreateDenyOverrideResponse`
|
|
618
555
|
- `ShareLinksListItem`
|
|
619
556
|
- `ShareLinksCreateInput`
|
|
620
557
|
- `ShareLinksCreateResponse`
|
|
@@ -707,6 +644,28 @@ const client = createApolloDeployApiClient({
|
|
|
707
644
|
- `AuditLogsGetResponse`
|
|
708
645
|
- `AuditLogsExportInput`
|
|
709
646
|
- `AuditLogsExportResponse`
|
|
647
|
+
- `IntegrationsListAvailableResponse`
|
|
648
|
+
- `IntegrationsListInstalledResponse`
|
|
649
|
+
- `IntegrationsInstallInput`
|
|
650
|
+
- `IntegrationsInstallResponse`
|
|
651
|
+
- `IntegrationsUninstallResponse`
|
|
652
|
+
- `IntegrationsInitiateOauthAuthorisationInput`
|
|
653
|
+
- `IntegrationsInitiateOauthAuthorisationResponse`
|
|
654
|
+
- `IntegrationsCompleteOauthAuthorisationInput`
|
|
655
|
+
- `IntegrationsCompleteOauthAuthorisationResponse`
|
|
656
|
+
- `IntegrationsListConnectionsProviderResponse`
|
|
657
|
+
- `IntegrationsRevokeConnectionResponse`
|
|
658
|
+
- `IntegrationsRefreshConnectionTokensResponse`
|
|
659
|
+
- `IntegrationsListAppConfigsResponse`
|
|
660
|
+
- `IntegrationsCreateAppConfigInput`
|
|
661
|
+
- `IntegrationsCreateAppConfigResponse`
|
|
662
|
+
- `IntegrationsUpdateAppConfigInput`
|
|
663
|
+
- `IntegrationsUpdateAppConfigResponse`
|
|
664
|
+
- `IntegrationsDeleteAppConfigResponse`
|
|
665
|
+
- `IntegrationsAdminListEntitlementOverridesOrganisationResponse`
|
|
666
|
+
- `IntegrationsAdminCreateEntitlementOverrideInput`
|
|
667
|
+
- `IntegrationsAdminCreateEntitlementOverrideResponse`
|
|
668
|
+
- `IntegrationsAdminDeleteEntitlementOverrideResponse`
|
|
710
669
|
- `WebhooksReceiveExternalProviderResponse`
|
|
711
670
|
- `WebhooksWebhookHealthCheckResponse`
|
|
712
671
|
- `WebhooksListEndpointsItem`
|
|
@@ -742,23 +701,10 @@ const client = createApolloDeployApiClient({
|
|
|
742
701
|
- `WorkflowsExecuteInput`
|
|
743
702
|
- `WorkflowsExecuteResponse`
|
|
744
703
|
- `WorkflowsListNodeTypesItem`
|
|
745
|
-
- `DeploymentsGetAwsBootstrapTemplateResponse`
|
|
746
|
-
- `DeploymentsListTargetsItem`
|
|
747
|
-
- `DeploymentsCreateTargetResponse`
|
|
748
|
-
- `DeploymentsGetTargetResponse`
|
|
749
|
-
- `DeploymentsValidateTargetConnectivityPermissionsResponse`
|
|
750
|
-
- `DeploymentsListItem`
|
|
751
|
-
- `DeploymentsCreateInput`
|
|
752
|
-
- `DeploymentsCreateResponse`
|
|
753
|
-
- `DeploymentsGetDetailsResponse`
|
|
754
|
-
- `DeploymentsListEventHistoryItem`
|
|
755
|
-
- `DeploymentsIngestAwsEventsInput`
|
|
756
|
-
- `DeploymentsIngestAwsEventsResponse`
|
|
757
704
|
- `HealthReadinessProbeCoreServicesResponse`
|
|
758
705
|
- `HealthIntegrationSystemCheckResponse`
|
|
759
706
|
- `HealthWebhookDeliveryCheckResponse`
|
|
760
707
|
- `HealthBillingServiceCheckResponse`
|
|
761
|
-
- `HealthCheckStoreCredentialResponse`
|
|
762
708
|
- `HealthGetAnalyticsStatusResponse`
|
|
763
709
|
- `SettingsListUserMergedSystemResponse`
|
|
764
710
|
- `SettingsPartiallyUpdateUserPartialInput`
|
|
@@ -784,11 +730,8 @@ const client = createApolloDeployApiClient({
|
|
|
784
730
|
- `GetAnalyticsOverviewQuery` — Query parameters for getOverview
|
|
785
731
|
- `GetAnalyticsMetricsByMetricKeyQuery` — Query parameters for getMetricDetail
|
|
786
732
|
- `GetAnalyticsRegistryQuery` — Query parameters for getMetricRegistry
|
|
787
|
-
- `GetCredentialsQuery` — Query parameters for listStoreOrganization
|
|
788
733
|
- `GetBillingPortalQuery` — Query parameters for getPortalUrl
|
|
789
734
|
- `GetBillingOrdersQuery` — Query parameters for listOrders
|
|
790
|
-
- `GetIntegrationsQuery` — Query parameters for listOrganization
|
|
791
|
-
- `GetAdminIntegrationsInstallationsQuery` — Query parameters for searchInstallations
|
|
792
735
|
- `GetShareLinksQuery` — Query parameters for list
|
|
793
736
|
- `GetShareLinksByShareLinkIdDownloadsQuery` — Query parameters for getDownloadHistory
|
|
794
737
|
- `GetPoliciesRulesQuery` — Query parameters for listRules
|
|
@@ -805,6 +748,7 @@ const client = createApolloDeployApiClient({
|
|
|
805
748
|
- `GetAuditLogsUsersByUserIdTimelineQuery` — Query parameters for getUserActivityTimeline
|
|
806
749
|
- `GetAuditLogsResourcesByResourceTypeByResourceIdHistoryQuery` — Query parameters for getResourceChangeHistory
|
|
807
750
|
- `GetAuditLogsQuery` — Query parameters for list
|
|
751
|
+
- `GetIntegrationsAvailableQuery` — Query parameters for listAvailable
|
|
808
752
|
- `GetWebhooksEndpointsQuery` — Query parameters for listEndpoints
|
|
809
753
|
- `GetWebhooksEndpointsByIdPayloadsQuery` — Query parameters for getPayloadHistoryEndpoint
|
|
810
754
|
- `GetWebhooksSubscriptionsQuery` — Query parameters for listSubscriptions
|
|
@@ -812,10 +756,6 @@ const client = createApolloDeployApiClient({
|
|
|
812
756
|
- `GetWorkflowsQuery` — Query parameters for list
|
|
813
757
|
- `GetWorkflowsByIdExecutionsQuery` — Query parameters for listExecutions
|
|
814
758
|
- `GetWorkflowsNodeTypesQuery` — Query parameters for listNodeTypes
|
|
815
|
-
- `GetDistributionDeploymentTargetsQuery` — Query parameters for listTargets
|
|
816
|
-
- `GetDistributionDeploymentsQuery` — Query parameters for list
|
|
817
|
-
- `GetDistributionDeploymentsByIdEventsQuery` — Query parameters for listEventHistory
|
|
818
|
-
- `GetHealthCredentialsQuery` — Query parameters for checkStoreCredential
|
|
819
759
|
|
|
820
760
|
## Error Handling
|
|
821
761
|
|
package/dist/index.d.ts
CHANGED
|
@@ -20,17 +20,16 @@ export type { ReleasesAPI } from './src/domain/releases.js';
|
|
|
20
20
|
export type { ReleasePipelinesAPI } from './src/domain/release-pipelines.js';
|
|
21
21
|
export type { ArtifactsAPI } from './src/domain/artifacts.js';
|
|
22
22
|
export type { AnalyticsAPI } from './src/domain/analytics.js';
|
|
23
|
-
export type { CredentialsAPI } from './src/domain/credentials.js';
|
|
24
23
|
export type { BillingAPI } from './src/domain/billing.js';
|
|
25
|
-
export type { IntegrationsAPI } from './src/domain/integrations.js';
|
|
26
24
|
export type { ShareLinksAPI } from './src/domain/share-links.js';
|
|
27
25
|
export type { PoliciesAPI } from './src/domain/policies.js';
|
|
28
26
|
export type { ApprovalsAPI } from './src/domain/approvals.js';
|
|
29
27
|
export type { WaitlistAPI } from './src/domain/waitlist.js';
|
|
30
28
|
export type { AuditLogsAPI } from './src/domain/audit-logs.js';
|
|
29
|
+
export type { IntegrationsAPI } from './src/domain/integrations.js';
|
|
30
|
+
export type { IntegrationsAdminAPI } from './src/domain/integrations-admin.js';
|
|
31
31
|
export type { WebhooksAPI } from './src/domain/webhooks.js';
|
|
32
32
|
export type { WorkflowsAPI } from './src/domain/workflows.js';
|
|
33
|
-
export type { DeploymentsAPI } from './src/domain/deployments.js';
|
|
34
33
|
export type { HealthAPI } from './src/domain/health.js';
|
|
35
34
|
export * from './src/types/index.js';
|
|
36
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,YAAY,EAAE,qBAAqB,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAG1F,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,YAAY,EACV,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAG/B,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,YAAY,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,YAAY,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACtD,YAAY,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACtE,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA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7E,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,YAAY,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,YAAY,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,YAAY,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGxD,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,SAAS;AACT,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAG9D,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,SAAS;AACT,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAG9D,cAAc;AACd,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAsCjD,QAAQ;AACR,cAAc,sBAAsB,CAAC"}
|
package/dist/src/client.d.ts
CHANGED
|
@@ -17,17 +17,16 @@ import { type ReleasesAPI } from './domain/releases.js';
|
|
|
17
17
|
import { type ReleasePipelinesAPI } from './domain/release-pipelines.js';
|
|
18
18
|
import { type ArtifactsAPI } from './domain/artifacts.js';
|
|
19
19
|
import { type AnalyticsAPI } from './domain/analytics.js';
|
|
20
|
-
import { type CredentialsAPI } from './domain/credentials.js';
|
|
21
20
|
import { type BillingAPI } from './domain/billing.js';
|
|
22
|
-
import { type IntegrationsAPI } from './domain/integrations.js';
|
|
23
21
|
import { type ShareLinksAPI } from './domain/share-links.js';
|
|
24
22
|
import { type PoliciesAPI } from './domain/policies.js';
|
|
25
23
|
import { type ApprovalsAPI } from './domain/approvals.js';
|
|
26
24
|
import { type WaitlistAPI } from './domain/waitlist.js';
|
|
27
25
|
import { type AuditLogsAPI } from './domain/audit-logs.js';
|
|
26
|
+
import { type IntegrationsAPI } from './domain/integrations.js';
|
|
27
|
+
import { type IntegrationsAdminAPI } from './domain/integrations-admin.js';
|
|
28
28
|
import { type WebhooksAPI } from './domain/webhooks.js';
|
|
29
29
|
import { type WorkflowsAPI } from './domain/workflows.js';
|
|
30
|
-
import { type DeploymentsAPI } from './domain/deployments.js';
|
|
31
30
|
import { type HealthAPI } from './domain/health.js';
|
|
32
31
|
/**
|
|
33
32
|
* Client configuration for Apollo Deploy API
|
|
@@ -106,12 +105,8 @@ export interface ApolloDeployApiClient {
|
|
|
106
105
|
artifacts: ArtifactsAPI;
|
|
107
106
|
/** AnalyticsAPI operations */
|
|
108
107
|
analytics: AnalyticsAPI;
|
|
109
|
-
/** CredentialsAPI operations */
|
|
110
|
-
credentials: CredentialsAPI;
|
|
111
108
|
/** BillingAPI operations */
|
|
112
109
|
billing: BillingAPI;
|
|
113
|
-
/** IntegrationsAPI operations */
|
|
114
|
-
integrations: IntegrationsAPI;
|
|
115
110
|
/** ShareLinksAPI operations */
|
|
116
111
|
shareLinks: ShareLinksAPI;
|
|
117
112
|
/** PoliciesAPI operations */
|
|
@@ -122,12 +117,14 @@ export interface ApolloDeployApiClient {
|
|
|
122
117
|
waitlist: WaitlistAPI;
|
|
123
118
|
/** AuditLogsAPI operations */
|
|
124
119
|
auditLogs: AuditLogsAPI;
|
|
120
|
+
/** IntegrationsAPI operations */
|
|
121
|
+
integrations: IntegrationsAPI;
|
|
122
|
+
/** IntegrationsAdminAPI operations */
|
|
123
|
+
integrationsAdmin: IntegrationsAdminAPI;
|
|
125
124
|
/** WebhooksAPI operations */
|
|
126
125
|
webhooks: WebhooksAPI;
|
|
127
126
|
/** WorkflowsAPI operations */
|
|
128
127
|
workflows: WorkflowsAPI;
|
|
129
|
-
/** DeploymentsAPI operations */
|
|
130
|
-
deployments: DeploymentsAPI;
|
|
131
128
|
/** HealthAPI operations */
|
|
132
129
|
health: HealthAPI;
|
|
133
130
|
}
|
package/dist/src/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAClF,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC1F,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAiB,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OA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,aAAa,CAAC;IAC1B,6BAA6B;IAC7B,QAAQ,EAAE,WAAW,CAAC;IACtB,8BAA8B;IAC9B,SAAS,EAAE,YAAY,CAAC;IACxB,6BAA6B;IAC7B,QAAQ,EAAE,WAAW,CAAC;IACtB,8BAA8B;IAC9B,SAAS,EAAE,YAAY,CAAC;IACxB,iCAAiC;IACjC,YAAY,EAAE,eAAe,CAAC;IAC9B,sCAAsC;IACtC,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,6BAA6B;IAC7B,QAAQ,EAAE,WAAW,CAAC;IACtB,8BAA8B;IAC9B,SAAS,EAAE,YAAY,CAAC;IACxB,2BAA2B;IAC3B,MAAM,EAAE,SAAS,CAAC;CACnB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,GAAE,2BAAgC,GAAG,qBAAqB,CAuDxG"}
|
package/dist/src/client.js
CHANGED
|
@@ -17,17 +17,16 @@ import { createReleasesAPI } from './domain/releases.js';
|
|
|
17
17
|
import { createReleasePipelinesAPI } from './domain/release-pipelines.js';
|
|
18
18
|
import { createArtifactsAPI } from './domain/artifacts.js';
|
|
19
19
|
import { createAnalyticsAPI } from './domain/analytics.js';
|
|
20
|
-
import { createCredentialsAPI } from './domain/credentials.js';
|
|
21
20
|
import { createBillingAPI } from './domain/billing.js';
|
|
22
|
-
import { createIntegrationsAPI } from './domain/integrations.js';
|
|
23
21
|
import { createShareLinksAPI } from './domain/share-links.js';
|
|
24
22
|
import { createPoliciesAPI } from './domain/policies.js';
|
|
25
23
|
import { createApprovalsAPI } from './domain/approvals.js';
|
|
26
24
|
import { createWaitlistAPI } from './domain/waitlist.js';
|
|
27
25
|
import { createAuditLogsAPI } from './domain/audit-logs.js';
|
|
26
|
+
import { createIntegrationsAPI } from './domain/integrations.js';
|
|
27
|
+
import { createIntegrationsAdminAPI } from './domain/integrations-admin.js';
|
|
28
28
|
import { createWebhooksAPI } from './domain/webhooks.js';
|
|
29
29
|
import { createWorkflowsAPI } from './domain/workflows.js';
|
|
30
|
-
import { createDeploymentsAPI } from './domain/deployments.js';
|
|
31
30
|
import { createHealthAPI } from './domain/health.js';
|
|
32
31
|
/**
|
|
33
32
|
* Create a new Apollo Deploy API SDK client
|
|
@@ -73,17 +72,16 @@ export function createApolloDeployApiClient(cfg = {}) {
|
|
|
73
72
|
releasePipelines: createReleasePipelinesAPI(transport),
|
|
74
73
|
artifacts: createArtifactsAPI(transport),
|
|
75
74
|
analytics: createAnalyticsAPI(transport),
|
|
76
|
-
credentials: createCredentialsAPI(transport),
|
|
77
75
|
billing: createBillingAPI(transport),
|
|
78
|
-
integrations: createIntegrationsAPI(transport),
|
|
79
76
|
shareLinks: createShareLinksAPI(transport),
|
|
80
77
|
policies: createPoliciesAPI(transport),
|
|
81
78
|
approvals: createApprovalsAPI(transport),
|
|
82
79
|
waitlist: createWaitlistAPI(transport),
|
|
83
80
|
auditLogs: createAuditLogsAPI(transport),
|
|
81
|
+
integrations: createIntegrationsAPI(transport),
|
|
82
|
+
integrationsAdmin: createIntegrationsAdminAPI(transport),
|
|
84
83
|
webhooks: createWebhooksAPI(transport),
|
|
85
84
|
workflows: createWorkflowsAPI(transport),
|
|
86
|
-
deployments: createDeploymentsAPI(transport),
|
|
87
85
|
health: createHealthAPI(transport),
|
|
88
86
|
};
|
|
89
87
|
}
|
package/dist/src/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAiB,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAoB,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,mBAAmB,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AC;QACtC,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC;QACxC,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC;QACtC,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC;QACxC,YAAY,EAAE,qBAAqB,CAAC,SAAS,CAAC;QAC9C,iBAAiB,EAAE,0BAA0B,CAAC,SAAS,CAAC;QACxD,QAAQ,EAAE,iBAAiB,CAAC,SAAS,CAAC;QACtC,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC;QACxC,MAAM,EAAE,eAAe,CAAC,SAAS,CAAC;KACnC,CAAC;AACJ,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* DO NOT MODIFY THIS FILE DIRECTLY.
|
|
5
5
|
*/
|
|
6
6
|
import type { AxiosInstance } from 'axios';
|
|
7
|
-
import type { AppsCreateInput, AppsCreateResponse, AppsGeneratePresignedUploadUrlInput, AppsGeneratePresignedUploadUrlResponse, AppsGetDetailsResponse, AppsGetPricingInformationResponse, AppsListItem, AppsMarkArtifactUploadCompleteInput, AppsMarkArtifactUploadCompleteResponse, AppsUpdateMetadataInput, AppsUpdateMetadataResponse,
|
|
7
|
+
import type { AppsCreateInput, AppsCreateResponse, AppsGeneratePresignedUploadUrlInput, AppsGeneratePresignedUploadUrlResponse, AppsGetDetailsResponse, AppsGetPricingInformationResponse, AppsListItem, AppsMarkArtifactUploadCompleteInput, AppsMarkArtifactUploadCompleteResponse, AppsUpdateMetadataInput, AppsUpdateMetadataResponse, GetAppsByAppIdPricingQuery, GetAppsQuery, Page } from '../types/index.js';
|
|
8
8
|
export interface AppsAPI {
|
|
9
9
|
/** List all applications */
|
|
10
10
|
list(query?: GetAppsQuery): Promise<Page<AppsListItem>>;
|
|
@@ -22,8 +22,6 @@ export interface AppsAPI {
|
|
|
22
22
|
markArtifactUploadComplete(appId: string, artifactId: string, input: AppsMarkArtifactUploadCompleteInput): Promise<AppsMarkArtifactUploadCompleteResponse>;
|
|
23
23
|
/** Retrieve pricing information for an application */
|
|
24
24
|
getPricingInformation(appId: string, query?: GetAppsByAppIdPricingQuery): Promise<AppsGetPricingInformationResponse[]>;
|
|
25
|
-
/** Update pricing configuration for an application */
|
|
26
|
-
updatePricingConfiguration(appId: string, input?: Record<string, unknown>): Promise<AppsUpdatePricingConfigurationResponse>;
|
|
27
25
|
}
|
|
28
26
|
export declare function createAppsAPI(axios: AxiosInstance): AppsAPI;
|
|
29
27
|
//# sourceMappingURL=apps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../src/domain/apps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,mCAAmC,EACnC,sCAAsC,EACtC,sBAAsB,EACtB,iCAAiC,EACjC,YAAY,EACZ,mCAAmC,EACnC,sCAAsC,EACtC,uBAAuB,EACvB,0BAA0B,EAC1B,
|
|
1
|
+
{"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../../src/domain/apps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,mCAAmC,EACnC,sCAAsC,EACtC,sBAAsB,EACtB,iCAAiC,EACjC,YAAY,EACZ,mCAAmC,EACnC,sCAAsC,EACtC,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,YAAY,EACZ,IAAI,EACL,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,OAAO;IACtB,4BAA4B;IAC5B,IAAI,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAExD,+BAA+B;IAC/B,MAAM,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAE5D,8BAA8B;IAC9B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAE3D,kCAAkC;IAClC,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,uBAAuB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAAC;IAEpG,4BAA4B;IAC5B,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErC,sDAAsD;IACtD,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,mCAAmC,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAAC;IAEvI,0CAA0C;IAC1C,0BAA0B,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,mCAAmC,GAAG,OAAO,CAAC,sCAAsC,CAAC,CAAC;IAE3J,sDAAsD;IACtD,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,0BAA0B,GAAG,OAAO,CAAC,iCAAiC,EAAE,CAAC,CAAC;CAExH;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CA+F3D"}
|
package/dist/src/domain/apps.js
CHANGED
|
@@ -90,15 +90,6 @@ export function createAppsAPI(axios) {
|
|
|
90
90
|
headers: Object.keys(requestHeaders).length > 0 ? requestHeaders : undefined,
|
|
91
91
|
});
|
|
92
92
|
},
|
|
93
|
-
async updatePricingConfiguration(appId, input) {
|
|
94
|
-
const requestHeaders = {};
|
|
95
|
-
return executeRequest(axios, {
|
|
96
|
-
method: 'PATCH',
|
|
97
|
-
url: `/apps/${appId}/pricing`,
|
|
98
|
-
data: input,
|
|
99
|
-
headers: Object.keys(requestHeaders).length > 0 ? requestHeaders : undefined,
|
|
100
|
-
});
|
|
101
|
-
},
|
|
102
93
|
};
|
|
103
94
|
}
|
|
104
95
|
//# sourceMappingURL=apps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/domain/apps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"apps.js","sourceRoot":"","sources":["../../../src/domain/apps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AA6CvD,MAAM,UAAU,aAAa,CAAC,KAAoB;IAChD,OAAO;QACL,KAAK,CAAC,IAAI,CAAC,KAAoB;YAC7B,MAAM,MAAM,GAAG,KAAK;gBAClB,CAAC,CAAC;oBACE,MAAM,EAAE,KAAK,CAAC,IAAI;oBAClB,OAAO,EAAE,KAAK,CAAC,KAAK;oBACpB,QAAQ,EAAE,KAAK,CAAC,MAAM;oBACtB,WAAW,EAAE,KAAK,CAAC,SAAS;oBAC5B,QAAQ,EAAE,KAAK,CAAC,MAAM;iBACvB;gBACH,CAAC,CAAC,SAAS,CAAC;YACd,MAAM,cAAc,GAA2B,EAAE,CAAC;YAClD,OAAO,cAAc,CAAC,KAAK,EAAE;gBAC3B,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,QAAQ;gBACb,MAAM;gBACN,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;aAC7E,CAAC,CAAC;QACL,CAAC;QAED,KAAK,CAAC,MAAM,CAAC,KAAsB;YACjC,MAAM,cAAc,GAA2B,EAAE,CAAC;YAClD,OAAO,cAAc,CAAC,KAAK,EAAE;gBAC3B,MAAM,EAAE,MAAM;gBACd,GAAG,EAAE,QAAQ;gBACb,IAAI,EAAE,KAAK;gBACX,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC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FY THIS FILE DIRECTLY.
|
|
5
5
|
*/
|
|
6
6
|
import type { AxiosInstance } from 'axios';
|
|
7
|
-
import type {
|
|
7
|
+
import type { HealthBillingServiceCheckResponse, HealthGetAnalyticsStatusResponse, HealthIntegrationSystemCheckResponse, HealthReadinessProbeCoreServicesResponse, HealthWebhookDeliveryCheckResponse } from '../types/index.js';
|
|
8
8
|
export interface HealthAPI {
|
|
9
9
|
/** Readiness probe for core services */
|
|
10
10
|
readinessProbeCoreServices(): Promise<HealthReadinessProbeCoreServicesResponse>;
|
|
@@ -14,8 +14,6 @@ export interface HealthAPI {
|
|
|
14
14
|
webhookDeliveryCheck(): Promise<HealthWebhookDeliveryCheckResponse>;
|
|
15
15
|
/** Billing service health check */
|
|
16
16
|
billingServiceCheck(): Promise<HealthBillingServiceCheckResponse>;
|
|
17
|
-
/** Check store credential health */
|
|
18
|
-
checkStoreCredential(query?: GetHealthCredentialsQuery): Promise<HealthCheckStoreCredentialResponse>;
|
|
19
17
|
/** Get analytics health status */
|
|
20
18
|
getAnalyticsStatus(): Promise<HealthGetAnalyticsStatusResponse>;
|
|
21
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../src/domain/health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../src/domain/health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EACV,iCAAiC,EACjC,gCAAgC,EAChC,oCAAoC,EACpC,wCAAwC,EACxC,kCAAkC,EACnC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,SAAS;IACxB,wCAAwC;IACxC,0BAA0B,IAAI,OAAO,CAAC,wCAAwC,CAAC,CAAC;IAEhF,sCAAsC;IACtC,sBAAsB,IAAI,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAExE,oCAAoC;IACpC,oBAAoB,IAAI,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAEpE,mCAAmC;IACnC,mBAAmB,IAAI,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAElE,kCAAkC;IAClC,kBAAkB,IAAI,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAEjE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,GAAG,SAAS,CAgD/D"}
|
|
@@ -38,22 +38,6 @@ export function createHealthAPI(axios) {
|
|
|
38
38
|
headers: Object.keys(requestHeaders).length > 0 ? requestHeaders : undefined,
|
|
39
39
|
});
|
|
40
40
|
},
|
|
41
|
-
async checkStoreCredential(query) {
|
|
42
|
-
const params = query
|
|
43
|
-
? {
|
|
44
|
-
'provider': query.provider,
|
|
45
|
-
'appId': query.appId,
|
|
46
|
-
'credentialId': query.credentialId,
|
|
47
|
-
}
|
|
48
|
-
: undefined;
|
|
49
|
-
const requestHeaders = {};
|
|
50
|
-
return executeRequest(axios, {
|
|
51
|
-
method: 'GET',
|
|
52
|
-
url: `/health/credentials`,
|
|
53
|
-
params,
|
|
54
|
-
headers: Object.keys(requestHeaders).length > 0 ? requestHeaders : undefined,
|
|
55
|
-
});
|
|
56
|
-
},
|
|
57
41
|
async getAnalyticsStatus() {
|
|
58
42
|
const requestHeaders = {};
|
|
59
43
|
return executeRequest(axios, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health.js","sourceRoot":"","sources":["../../../src/domain/health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"health.js","sourceRoot":"","sources":["../../../src/domain/health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,cAAc,EAAE,MAAM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CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;aAC7E,CAAC,CAAC;QACL,CAAC;QAED,KAAK,CAAC,kBAAkB;YACtB,MAAM,cAAc,GAA2B,EAAE,CAAC;YAClD,OAAO,cAAc,CAAC,KAAK,EAAE;gBAC3B,MAAM,EAAE,KAAK;gBACb,GAAG,EAAE,mBAAmB;gBACxB,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS;aAC7E,CAAC,CAAC;QACL,CAAC;KAEF,CAAC;AACJ,CAAC"}
|
|
@@ -29,12 +29,8 @@ export { createArtifactsAPI } from './artifacts.js';
|
|
|
29
29
|
export type { ArtifactsAPI } from './artifacts.js';
|
|
30
30
|
export { createAnalyticsAPI } from './analytics.js';
|
|
31
31
|
export type { AnalyticsAPI } from './analytics.js';
|
|
32
|
-
export { createCredentialsAPI } from './credentials.js';
|
|
33
|
-
export type { CredentialsAPI } from './credentials.js';
|
|
34
32
|
export { createBillingAPI } from './billing.js';
|
|
35
33
|
export type { BillingAPI } from './billing.js';
|
|
36
|
-
export { createIntegrationsAPI } from './integrations.js';
|
|
37
|
-
export type { IntegrationsAPI } from './integrations.js';
|
|
38
34
|
export { createShareLinksAPI } from './share-links.js';
|
|
39
35
|
export type { ShareLinksAPI } from './share-links.js';
|
|
40
36
|
export { createPoliciesAPI } from './policies.js';
|
|
@@ -45,12 +41,14 @@ export { createWaitlistAPI } from './waitlist.js';
|
|
|
45
41
|
export type { WaitlistAPI } from './waitlist.js';
|
|
46
42
|
export { createAuditLogsAPI } from './audit-logs.js';
|
|
47
43
|
export type { AuditLogsAPI } from './audit-logs.js';
|
|
44
|
+
export { createIntegrationsAPI } from './integrations.js';
|
|
45
|
+
export type { IntegrationsAPI } from './integrations.js';
|
|
46
|
+
export { createIntegrationsAdminAPI } from './integrations-admin.js';
|
|
47
|
+
export type { IntegrationsAdminAPI } from './integrations-admin.js';
|
|
48
48
|
export { createWebhooksAPI } from './webhooks.js';
|
|
49
49
|
export type { WebhooksAPI } from './webhooks.js';
|
|
50
50
|
export { createWorkflowsAPI } from './workflows.js';
|
|
51
51
|
export type { WorkflowsAPI } from './workflows.js';
|
|
52
|
-
export { createDeploymentsAPI } from './deployments.js';
|
|
53
|
-
export type { DeploymentsAPI } from './deployments.js';
|
|
54
52
|
export { createHealthAPI } from './health.js';
|
|
55
53
|
export type { HealthAPI } from './health.js';
|
|
56
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domain/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,YA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