@shipfox/api-runners-dto 10.0.0 → 10.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +8 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/admin-provisioner-token.d.ts +110 -0
- package/dist/schemas/admin-provisioner-token.d.ts.map +1 -0
- package/dist/schemas/admin-provisioner-token.js +54 -0
- package/dist/schemas/admin-provisioner-token.js.map +1 -0
- package/dist/schemas/admin-runner-instances.d.ts +139 -0
- package/dist/schemas/admin-runner-instances.d.ts.map +1 -0
- package/dist/schemas/admin-runner-instances.js +62 -0
- package/dist/schemas/admin-runner-instances.js.map +1 -0
- package/dist/schemas/index.d.ts +3 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +3 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/runner-enrollment.d.ts +5 -0
- package/dist/schemas/runner-enrollment.d.ts.map +1 -1
- package/dist/schemas/runner-enrollment.js +6 -1
- package/dist/schemas/runner-enrollment.js.map +1 -1
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/index.ts +29 -0
- package/src/schemas/admin-provisioner-token.ts +94 -0
- package/src/schemas/admin-runner-instances.ts +76 -0
- package/src/schemas/index.ts +33 -0
- package/src/schemas/runner-enrollment.test.ts +52 -0
- package/src/schemas/runner-enrollment.ts +7 -1
- package/tsconfig.build.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ shipfox-swc
|
|
2
|
-
Successfully compiled:
|
|
2
|
+
Successfully compiled: 18 files with swc (223.55ms)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @shipfox/api-runners-dto
|
|
2
2
|
|
|
3
|
+
## 10.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c9a188d: Add administrator creation, bounded inspection, and revocation for installation provisioner tokens.
|
|
8
|
+
- 8678943: Add a bounded administrator inventory for installation-managed runner instances.
|
|
9
|
+
- 6be5a54: Make managed runner assignment polling use an explicit bounded wait and retry transport timeouts while the control session remains healthy.
|
|
10
|
+
|
|
3
11
|
## 10.0.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type ListActiveProvisionersResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
|
|
1
|
+
export { type ActiveProvisionerDto, type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, type AdministratorProvisionerTokenDto, type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, type ClaimedJobResponseDto, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, type CreateManualRegistrationTokenBodyDto, type CreateManualRegistrationTokenResponseDto, type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponseDto, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type DemandStatDto, demandStatSchema, type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListActiveProvisionersResponseDto, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, type ListManualRegistrationTokensResponseDto, type ListProvisionerTokensResponseDto, type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, type ManualRegistrationTokenDto, manualRegistrationTokenDtoSchema, type PollDemandBodyDto, type PollDemandResponseDto, type PollDemandTemplateDto, type ProvisionerIdentityResponseDto, type ProvisionerTokenDto, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type ReservationGrantDto, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, type RevokeManualRegistrationTokenResponseDto, type RevokeProvisionerTokenResponseDto, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, type RunnerAdministratorInstanceDto, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, type RunnerHarnessToolCapabilitiesDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, type RunnerToolCapabilitiesDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from '#schemas/index.js';
|
|
2
2
|
export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, type RunnerJobClaimedEvent, type RunnerJobLeaseExpiredEvent, type RunnerJobQueuedEvent, type RunnersEventMap, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas, } from './events.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,0BAA0B,EAC1B,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,KAAK,qBAAqB,EAC1B,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,wBAAwB,EACxB,uCAAuC,EACvC,2CAA2C,EAC3C,gCAAgC,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,mCAAmC,EACnC,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACz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,6CAA6C,EAC7C,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,2BAA2B,EAC3B,gCAAgC,EAChC,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,aAAa,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, listActiveProvisionersResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, manualRegistrationTokenDtoSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
|
|
1
|
+
export { activeProvisionerDtoSchema, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, administratorProvisionerTokenSchema, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, attachRunnerControlProviderIdBodySchema, claimedJobResponseSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, createManualRegistrationTokenBodySchema, createManualRegistrationTokenResponseSchema, createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, demandStatSchema, heartbeatBodySchema, heartbeatResponseSchema, installationProvisionerTokenStatusSchema, listActiveProvisionersResponseSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, listManualRegistrationTokensResponseSchema, listProvisionerTokensResponseSchema, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS, MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, MAX_PROVISIONER_TOKEN_TTL_SECONDS, MAX_RECONCILE_OBSERVED_RUNNERS, manualRegistrationTokenDtoSchema, pollDemandBodySchema, pollDemandResponseSchema, pollDemandTemplateSchema, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, provisionerIdentityResponseSchema, provisionerTokenDtoSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, RUNNER_SESSION_EXHAUSTED_CODE, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, registerRunnerBodySchema, registerRunnerResponseSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, reservationGrantSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, revokeManualRegistrationTokenResponseSchema, revokeProvisionerTokenResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from '#schemas/index.js';
|
|
2
2
|
export { RUNNER_JOB_CLAIMED, RUNNER_JOB_LEASE_EXPIRED, RUNNER_JOB_QUEUED, runnerJobClaimedEventSchema, runnerJobLeaseExpiredEventSchema, runnerJobQueuedEventSchema, runnersEventSchemas } from './events.js';
|
|
3
3
|
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type ListActiveProvisionersResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n listActiveProvisionersResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type ReservationGrantDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n type RunnerToolCapabilitiesDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n reservationGrantSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from '#schemas/index.js';\nexport {\n RUNNER_JOB_CLAIMED,\n RUNNER_JOB_LEASE_EXPIRED,\n RUNNER_JOB_QUEUED,\n type RunnerJobClaimedEvent,\n type RunnerJobLeaseExpiredEvent,\n type RunnerJobQueuedEvent,\n type RunnersEventMap,\n runnerJobClaimedEventSchema,\n runnerJobLeaseExpiredEventSchema,\n runnerJobQueuedEventSchema,\n runnersEventSchemas,\n} from './events.js';\n"],"names":["activeProvisionerDtoSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","listActiveProvisionersResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","MAX_PROVISIONER_TOKEN_TTL_SECONDS","MAX_RECONCILE_OBSERVED_RUNNERS","manualRegistrationTokenDtoSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema","runnersEventSchemas"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n type ActiveProvisionerDto,\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n type AdministratorProvisionerTokenDto,\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n activeProvisionerDtoSchema,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n administratorProvisionerTokenSchema,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n attachRunnerControlProviderIdBodySchema,\n type ClaimedJobResponseDto,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n claimedJobResponseSchema,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type DemandStatDto,\n demandStatSchema,\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListActiveProvisionersResponseDto,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n type ListManualRegistrationTokensResponseDto,\n type ListProvisionerTokensResponseDto,\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listActiveProvisionersResponseSchema,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n listManualRegistrationTokensResponseSchema,\n listProvisionerTokensResponseSchema,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type ReservationGrantDto,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n type RevokeManualRegistrationTokenResponseDto,\n type RevokeProvisionerTokenResponseDto,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n RUNNER_SESSION_EXHAUSTED_CODE,\n type RunnerAdministratorInstanceDto,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n type RunnerToolCapabilitiesDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n reservationGrantSchema,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n revokeManualRegistrationTokenResponseSchema,\n revokeProvisionerTokenResponseSchema,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from '#schemas/index.js';\nexport {\n RUNNER_JOB_CLAIMED,\n RUNNER_JOB_LEASE_EXPIRED,\n RUNNER_JOB_QUEUED,\n type RunnerJobClaimedEvent,\n type RunnerJobLeaseExpiredEvent,\n type RunnerJobQueuedEvent,\n type RunnersEventMap,\n runnerJobClaimedEventSchema,\n runnerJobLeaseExpiredEventSchema,\n runnerJobQueuedEventSchema,\n runnersEventSchemas,\n} from './events.js';\n"],"names":["activeProvisionerDtoSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","administratorProvisionerTokenSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","claimedJobResponseSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","demandStatSchema","heartbeatBodySchema","heartbeatResponseSchema","installationProvisionerTokenStatusSchema","listActiveProvisionersResponseSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","listManualRegistrationTokensResponseSchema","listProvisionerTokensResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","MAX_PROVISIONER_TOKEN_TTL_SECONDS","MAX_RECONCILE_OBSERVED_RUNNERS","manualRegistrationTokenDtoSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","RUNNER_SESSION_EXHAUSTED_CODE","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","reservationGrantSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","revokeManualRegistrationTokenResponseSchema","revokeProvisionerTokenResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema","RUNNER_JOB_CLAIMED","RUNNER_JOB_LEASE_EXPIRED","RUNNER_JOB_QUEUED","runnerJobClaimedEventSchema","runnerJobLeaseExpiredEventSchema","runnerJobQueuedEventSchema","runnersEventSchemas"],"mappings":"AAAA,SAQEA,0BAA0B,EAC1BC,qBAAqB,EACrBC,uBAAuB,EACvBC,2BAA2B,EAC3BC,mCAAmC,EACnCC,+BAA+B,EAC/BC,mCAAmC,EACnCC,uCAAuC,EAUvCC,wBAAwB,EACxBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,uCAAuC,EACvCC,2CAA2C,EAC3CC,gCAAgC,EAChCC,oCAAoC,EACpCC,+BAA+B,EAC/BC,mCAAmC,EAEnCC,gBAAgB,EAGhBC,mBAAmB,EACnBC,uBAAuB,EAEvBC,wCAAwC,EAQxCC,oCAAoC,EACpCC,6CAA6C,EAC7CC,gDAAgD,EAChDC,0CAA0C,EAC1CC,mCAAmC,EACnCC,2CAA2C,EAC3CC,8CAA8C,EAC9CC,yCAAyC,EACzCC,sCAAsC,EACtCC,wBAAwB,EACxBC,iCAAiC,EACjCC,iCAAiC,EACjCC,iCAAiC,EACjCC,8BAA8B,EAE9BC,gCAAgC,EAMhCC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EACxBC,kBAAkB,EAClBC,+BAA+B,EAC/BC,yBAAyB,EACzBC,iCAAiC,EACjCC,yBAAyB,EAezBC,2CAA2C,EAC3CC,6BAA6B,EAW7BC,4BAA4B,EAC5BC,wBAAwB,EACxBC,8BAA8B,EAC9BC,kCAAkC,EAClCC,sCAAsC,EACtCC,wBAAwB,EACxBC,4BAA4B,EAC5BC,+BAA+B,EAC/BC,mCAAmC,EACnCC,sBAAsB,EACtBC,6CAA6C,EAC7CC,iDAAiD,EACjDC,2CAA2C,EAC3CC,oCAAoC,EACpCC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,EAC7CC,+BAA+B,EAC/BC,kCAAkC,EAClCC,iCAAiC,EACjCC,qCAAqC,EACrCC,oCAAoC,EACpCC,0BAA0B,EAC1BC,8BAA8B,EAC9BC,mCAAmC,EACnCC,4BAA4B,QACvB,oBAAoB;AAC3B,SACEC,kBAAkB,EAClBC,wBAAwB,EACxBC,iBAAiB,EAKjBC,2BAA2B,EAC3BC,gCAAgC,EAChCC,0BAA0B,EAC1BC,mBAAmB,QACd,cAAc"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const installationProvisionerTokenStatusSchema: z.ZodEnum<{
|
|
3
|
+
active: "active";
|
|
4
|
+
expired: "expired";
|
|
5
|
+
revoked: "revoked";
|
|
6
|
+
}>;
|
|
7
|
+
export type InstallationProvisionerTokenStatus = z.infer<typeof installationProvisionerTokenStatusSchema>;
|
|
8
|
+
export declare const administratorProvisionerTokenSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
scope: z.ZodLiteral<"installation">;
|
|
11
|
+
prefix: z.ZodString;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
status: z.ZodEnum<{
|
|
14
|
+
active: "active";
|
|
15
|
+
expired: "expired";
|
|
16
|
+
revoked: "revoked";
|
|
17
|
+
}>;
|
|
18
|
+
created_by_user_id: z.ZodString;
|
|
19
|
+
revoked_by_user_id: z.ZodNullable<z.ZodString>;
|
|
20
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
revoked_at: z.ZodNullable<z.ZodString>;
|
|
22
|
+
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
23
|
+
created_at: z.ZodString;
|
|
24
|
+
updated_at: z.ZodString;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type AdministratorProvisionerTokenDto = z.infer<typeof administratorProvisionerTokenSchema>;
|
|
27
|
+
export declare const createAdministratorProvisionerTokenBodySchema: z.ZodObject<{
|
|
28
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29
|
+
ttl_seconds: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
reason: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
export type CreateAdministratorProvisionerTokenBodyDto = z.infer<typeof createAdministratorProvisionerTokenBodySchema>;
|
|
33
|
+
export declare const createAdministratorProvisionerTokenResponseSchema: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
scope: z.ZodLiteral<"installation">;
|
|
36
|
+
prefix: z.ZodString;
|
|
37
|
+
name: z.ZodNullable<z.ZodString>;
|
|
38
|
+
status: z.ZodEnum<{
|
|
39
|
+
active: "active";
|
|
40
|
+
expired: "expired";
|
|
41
|
+
revoked: "revoked";
|
|
42
|
+
}>;
|
|
43
|
+
created_by_user_id: z.ZodString;
|
|
44
|
+
revoked_by_user_id: z.ZodNullable<z.ZodString>;
|
|
45
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
46
|
+
revoked_at: z.ZodNullable<z.ZodString>;
|
|
47
|
+
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
48
|
+
created_at: z.ZodString;
|
|
49
|
+
updated_at: z.ZodString;
|
|
50
|
+
raw_token: z.ZodString;
|
|
51
|
+
correlation_id: z.ZodString;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export type CreateAdministratorProvisionerTokenResponseDto = z.infer<typeof createAdministratorProvisionerTokenResponseSchema>;
|
|
54
|
+
export declare const listAdministratorProvisionerTokensQuerySchema: z.ZodObject<{
|
|
55
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
active: "active";
|
|
57
|
+
expired: "expired";
|
|
58
|
+
revoked: "revoked";
|
|
59
|
+
}>>;
|
|
60
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
61
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type ListAdministratorProvisionerTokensQueryDto = z.infer<typeof listAdministratorProvisionerTokensQuerySchema>;
|
|
64
|
+
export declare const listAdministratorProvisionerTokensResponseSchema: z.ZodObject<{
|
|
65
|
+
tokens: z.ZodArray<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
scope: z.ZodLiteral<"installation">;
|
|
68
|
+
prefix: z.ZodString;
|
|
69
|
+
name: z.ZodNullable<z.ZodString>;
|
|
70
|
+
status: z.ZodEnum<{
|
|
71
|
+
active: "active";
|
|
72
|
+
expired: "expired";
|
|
73
|
+
revoked: "revoked";
|
|
74
|
+
}>;
|
|
75
|
+
created_by_user_id: z.ZodString;
|
|
76
|
+
revoked_by_user_id: z.ZodNullable<z.ZodString>;
|
|
77
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
78
|
+
revoked_at: z.ZodNullable<z.ZodString>;
|
|
79
|
+
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
80
|
+
created_at: z.ZodString;
|
|
81
|
+
updated_at: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
export type ListAdministratorProvisionerTokensResponseDto = z.infer<typeof listAdministratorProvisionerTokensResponseSchema>;
|
|
86
|
+
export declare const revokeAdministratorProvisionerTokenBodySchema: z.ZodObject<{
|
|
87
|
+
reason: z.ZodString;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export type RevokeAdministratorProvisionerTokenBodyDto = z.infer<typeof revokeAdministratorProvisionerTokenBodySchema>;
|
|
90
|
+
export declare const revokeAdministratorProvisionerTokenResponseSchema: z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
scope: z.ZodLiteral<"installation">;
|
|
93
|
+
prefix: z.ZodString;
|
|
94
|
+
name: z.ZodNullable<z.ZodString>;
|
|
95
|
+
status: z.ZodEnum<{
|
|
96
|
+
active: "active";
|
|
97
|
+
expired: "expired";
|
|
98
|
+
revoked: "revoked";
|
|
99
|
+
}>;
|
|
100
|
+
created_by_user_id: z.ZodString;
|
|
101
|
+
revoked_by_user_id: z.ZodNullable<z.ZodString>;
|
|
102
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
103
|
+
revoked_at: z.ZodNullable<z.ZodString>;
|
|
104
|
+
last_seen_at: z.ZodNullable<z.ZodString>;
|
|
105
|
+
created_at: z.ZodString;
|
|
106
|
+
updated_at: z.ZodString;
|
|
107
|
+
correlation_id: z.ZodString;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export type RevokeAdministratorProvisionerTokenResponseDto = z.infer<typeof revokeAdministratorProvisionerTokenResponseSchema>;
|
|
110
|
+
//# sourceMappingURL=admin-provisioner-token.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-provisioner-token.d.ts","sourceRoot":"","sources":["../../src/schemas/admin-provisioner-token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAgBtB,eAAO,MAAM,wCAAwC;;;;EAA2C,CAAC;AAEjG,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,wCAAwC,CAChD,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;iBAa9C,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEnG,eAAO,MAAM,6CAA6C;;;;iBAIxD,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,6CAA6C,CACrD,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;;iBAI1D,CAAC;AAEL,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,iDAAiD,CACzD,CAAC;AAEF,eAAO,MAAM,6CAA6C;;;;;;;;iBAIxD,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,6CAA6C,CACrD,CAAC;AAEF,eAAO,MAAM,gDAAgD;;;;;;;;;;;;;;;;;;;;iBAG3D,CAAC;AAEH,MAAM,MAAM,6CAA6C,GAAG,CAAC,CAAC,KAAK,CACjE,OAAO,gDAAgD,CACxD,CAAC;AAEF,eAAO,MAAM,6CAA6C;;iBAExD,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,6CAA6C,CACrD,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;;;iBAG1D,CAAC;AAEL,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAClE,OAAO,iDAAiD,CACzD,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { MAX_PROVISIONER_TOKEN_TTL_SECONDS } from './provisioner-token.js';
|
|
3
|
+
const timestampSchema = z.string().datetime();
|
|
4
|
+
const CONTROL_OR_FORMAT_CHARACTER_RE = /[\p{Cc}\p{Cf}]/u;
|
|
5
|
+
const reasonSchema = z.string().min(1).max(512).refine((value)=>value.trim().length > 0, {
|
|
6
|
+
message: 'must not be blank'
|
|
7
|
+
}).refine((value)=>!CONTROL_OR_FORMAT_CHARACTER_RE.test(value), {
|
|
8
|
+
message: 'must not contain control or format characters'
|
|
9
|
+
});
|
|
10
|
+
export const installationProvisionerTokenStatusSchema = z.enum([
|
|
11
|
+
'active',
|
|
12
|
+
'expired',
|
|
13
|
+
'revoked'
|
|
14
|
+
]);
|
|
15
|
+
export const administratorProvisionerTokenSchema = z.object({
|
|
16
|
+
id: z.string().uuid(),
|
|
17
|
+
scope: z.literal('installation'),
|
|
18
|
+
prefix: z.string().min(1),
|
|
19
|
+
name: z.string().nullable(),
|
|
20
|
+
status: installationProvisionerTokenStatusSchema,
|
|
21
|
+
created_by_user_id: z.string().uuid(),
|
|
22
|
+
revoked_by_user_id: z.string().uuid().nullable(),
|
|
23
|
+
expires_at: timestampSchema.nullable(),
|
|
24
|
+
revoked_at: timestampSchema.nullable(),
|
|
25
|
+
last_seen_at: timestampSchema.nullable(),
|
|
26
|
+
created_at: timestampSchema,
|
|
27
|
+
updated_at: timestampSchema
|
|
28
|
+
});
|
|
29
|
+
export const createAdministratorProvisionerTokenBodySchema = z.object({
|
|
30
|
+
name: z.string().min(1).max(256).optional(),
|
|
31
|
+
ttl_seconds: z.number().int().positive().max(MAX_PROVISIONER_TOKEN_TTL_SECONDS).optional(),
|
|
32
|
+
reason: reasonSchema
|
|
33
|
+
});
|
|
34
|
+
export const createAdministratorProvisionerTokenResponseSchema = administratorProvisionerTokenSchema.extend({
|
|
35
|
+
raw_token: z.string().min(1),
|
|
36
|
+
correlation_id: z.string().min(1).max(255)
|
|
37
|
+
});
|
|
38
|
+
export const listAdministratorProvisionerTokensQuerySchema = z.object({
|
|
39
|
+
status: installationProvisionerTokenStatusSchema.optional(),
|
|
40
|
+
limit: z.coerce.number().int().min(1).max(100).default(50),
|
|
41
|
+
cursor: z.string().optional()
|
|
42
|
+
});
|
|
43
|
+
export const listAdministratorProvisionerTokensResponseSchema = z.object({
|
|
44
|
+
tokens: z.array(administratorProvisionerTokenSchema),
|
|
45
|
+
next_cursor: z.string().nullable()
|
|
46
|
+
});
|
|
47
|
+
export const revokeAdministratorProvisionerTokenBodySchema = z.object({
|
|
48
|
+
reason: reasonSchema
|
|
49
|
+
});
|
|
50
|
+
export const revokeAdministratorProvisionerTokenResponseSchema = administratorProvisionerTokenSchema.extend({
|
|
51
|
+
correlation_id: z.string().min(1).max(255)
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=admin-provisioner-token.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/admin-provisioner-token.ts"],"sourcesContent":["import {z} from 'zod';\nimport {MAX_PROVISIONER_TOKEN_TTL_SECONDS} from './provisioner-token.js';\n\nconst timestampSchema = z.string().datetime();\nconst CONTROL_OR_FORMAT_CHARACTER_RE = /[\\p{Cc}\\p{Cf}]/u;\nconst reasonSchema = z\n .string()\n .min(1)\n .max(512)\n .refine((value) => value.trim().length > 0, {\n message: 'must not be blank',\n })\n .refine((value) => !CONTROL_OR_FORMAT_CHARACTER_RE.test(value), {\n message: 'must not contain control or format characters',\n });\n\nexport const installationProvisionerTokenStatusSchema = z.enum(['active', 'expired', 'revoked']);\n\nexport type InstallationProvisionerTokenStatus = z.infer<\n typeof installationProvisionerTokenStatusSchema\n>;\n\nexport const administratorProvisionerTokenSchema = z.object({\n id: z.string().uuid(),\n scope: z.literal('installation'),\n prefix: z.string().min(1),\n name: z.string().nullable(),\n status: installationProvisionerTokenStatusSchema,\n created_by_user_id: z.string().uuid(),\n revoked_by_user_id: z.string().uuid().nullable(),\n expires_at: timestampSchema.nullable(),\n revoked_at: timestampSchema.nullable(),\n last_seen_at: timestampSchema.nullable(),\n created_at: timestampSchema,\n updated_at: timestampSchema,\n});\n\nexport type AdministratorProvisionerTokenDto = z.infer<typeof administratorProvisionerTokenSchema>;\n\nexport const createAdministratorProvisionerTokenBodySchema = z.object({\n name: z.string().min(1).max(256).optional(),\n ttl_seconds: z.number().int().positive().max(MAX_PROVISIONER_TOKEN_TTL_SECONDS).optional(),\n reason: reasonSchema,\n});\n\nexport type CreateAdministratorProvisionerTokenBodyDto = z.infer<\n typeof createAdministratorProvisionerTokenBodySchema\n>;\n\nexport const createAdministratorProvisionerTokenResponseSchema =\n administratorProvisionerTokenSchema.extend({\n raw_token: z.string().min(1),\n correlation_id: z.string().min(1).max(255),\n });\n\nexport type CreateAdministratorProvisionerTokenResponseDto = z.infer<\n typeof createAdministratorProvisionerTokenResponseSchema\n>;\n\nexport const listAdministratorProvisionerTokensQuerySchema = z.object({\n status: installationProvisionerTokenStatusSchema.optional(),\n limit: z.coerce.number().int().min(1).max(100).default(50),\n cursor: z.string().optional(),\n});\n\nexport type ListAdministratorProvisionerTokensQueryDto = z.infer<\n typeof listAdministratorProvisionerTokensQuerySchema\n>;\n\nexport const listAdministratorProvisionerTokensResponseSchema = z.object({\n tokens: z.array(administratorProvisionerTokenSchema),\n next_cursor: z.string().nullable(),\n});\n\nexport type ListAdministratorProvisionerTokensResponseDto = z.infer<\n typeof listAdministratorProvisionerTokensResponseSchema\n>;\n\nexport const revokeAdministratorProvisionerTokenBodySchema = z.object({\n reason: reasonSchema,\n});\n\nexport type RevokeAdministratorProvisionerTokenBodyDto = z.infer<\n typeof revokeAdministratorProvisionerTokenBodySchema\n>;\n\nexport const revokeAdministratorProvisionerTokenResponseSchema =\n administratorProvisionerTokenSchema.extend({\n correlation_id: z.string().min(1).max(255),\n });\n\nexport type RevokeAdministratorProvisionerTokenResponseDto = z.infer<\n typeof revokeAdministratorProvisionerTokenResponseSchema\n>;\n"],"names":["z","MAX_PROVISIONER_TOKEN_TTL_SECONDS","timestampSchema","string","datetime","CONTROL_OR_FORMAT_CHARACTER_RE","reasonSchema","min","max","refine","value","trim","length","message","test","installationProvisionerTokenStatusSchema","enum","administratorProvisionerTokenSchema","object","id","uuid","scope","literal","prefix","name","nullable","status","created_by_user_id","revoked_by_user_id","expires_at","revoked_at","last_seen_at","created_at","updated_at","createAdministratorProvisionerTokenBodySchema","optional","ttl_seconds","number","int","positive","reason","createAdministratorProvisionerTokenResponseSchema","extend","raw_token","correlation_id","listAdministratorProvisionerTokensQuerySchema","limit","coerce","default","cursor","listAdministratorProvisionerTokensResponseSchema","tokens","array","next_cursor","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema"],"mappings":"AAAA,SAAQA,CAAC,QAAO,MAAM;AACtB,SAAQC,iCAAiC,QAAO,yBAAyB;AAEzE,MAAMC,kBAAkBF,EAAEG,MAAM,GAAGC,QAAQ;AAC3C,MAAMC,iCAAiC;AACvC,MAAMC,eAAeN,EAClBG,MAAM,GACNI,GAAG,CAAC,GACJC,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EkB,MAAM,CAAC;IACpEQ,QAAQX,yCAAyCoB,QAAQ;IACzDW,OAAO9C,EAAE+C,MAAM,CAACV,MAAM,GAAGC,GAAG,GAAG/B,GAAG,CAAC,GAAGC,GAAG,CAAC,KAAKwC,OAAO,CAAC;IACvDC,QAAQjD,EAAEG,MAAM,GAAGgC,QAAQ;AAC7B,GAAG;AAMH,OAAO,MAAMe,mDAAmDlD,EAAEkB,MAAM,CAAC;IACvEiC,QAAQnD,EAAEoD,KAAK,CAACnC;IAChBoC,aAAarD,EAAEG,MAAM,GAAGsB,QAAQ;AAClC,GAAG;AAMH,OAAO,MAAM6B,gDAAgDtD,EAAEkB,MAAM,CAAC;IACpEsB,QAAQlC;AACV,GAAG;AAMH,OAAO,MAAMiD,oDACXtC,oCAAoCyB,MAAM,CAAC;IACzCE,gBAAgB5C,EAAEG,MAAM,GAAGI,GAAG,CAAC,GAAGC,GAAG,CAAC;AACxC,GAAG"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const runnerAdministratorLifecycleStateSchema: z.ZodEnum<{
|
|
3
|
+
unassigned: "unassigned";
|
|
4
|
+
assigned: "assigned";
|
|
5
|
+
activated: "activated";
|
|
6
|
+
claimed: "claimed";
|
|
7
|
+
completed: "completed";
|
|
8
|
+
}>;
|
|
9
|
+
export declare const runnerAdministratorEnrollmentStateSchema: z.ZodEnum<{
|
|
10
|
+
activated: "activated";
|
|
11
|
+
pending: "pending";
|
|
12
|
+
enrolled: "enrolled";
|
|
13
|
+
}>;
|
|
14
|
+
export declare const runnerAdministratorAssignmentPresenceSchema: z.ZodEnum<{
|
|
15
|
+
unassigned: "unassigned";
|
|
16
|
+
assigned: "assigned";
|
|
17
|
+
}>;
|
|
18
|
+
export declare const runnerAdministratorReconciliationStatusSchema: z.ZodEnum<{
|
|
19
|
+
unknown: "unknown";
|
|
20
|
+
current: "current";
|
|
21
|
+
stale: "stale";
|
|
22
|
+
terminal: "terminal";
|
|
23
|
+
}>;
|
|
24
|
+
export declare const runnerAdministratorInstanceSchema: z.ZodObject<{
|
|
25
|
+
id: z.ZodString;
|
|
26
|
+
lifecycle_state: z.ZodEnum<{
|
|
27
|
+
unassigned: "unassigned";
|
|
28
|
+
assigned: "assigned";
|
|
29
|
+
activated: "activated";
|
|
30
|
+
claimed: "claimed";
|
|
31
|
+
completed: "completed";
|
|
32
|
+
}>;
|
|
33
|
+
compute_state: z.ZodEnum<{
|
|
34
|
+
starting: "starting";
|
|
35
|
+
running: "running";
|
|
36
|
+
stopping: "stopping";
|
|
37
|
+
stopped: "stopped";
|
|
38
|
+
failed: "failed";
|
|
39
|
+
terminated: "terminated";
|
|
40
|
+
}>;
|
|
41
|
+
enrollment_state: z.ZodEnum<{
|
|
42
|
+
activated: "activated";
|
|
43
|
+
pending: "pending";
|
|
44
|
+
enrolled: "enrolled";
|
|
45
|
+
}>;
|
|
46
|
+
assignment_presence: z.ZodEnum<{
|
|
47
|
+
unassigned: "unassigned";
|
|
48
|
+
assigned: "assigned";
|
|
49
|
+
}>;
|
|
50
|
+
assigned_workspace: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
labels: z.ZodArray<z.ZodString>;
|
|
54
|
+
created_at: z.ZodString;
|
|
55
|
+
last_heartbeat_at: z.ZodString;
|
|
56
|
+
closure_reason: z.ZodNullable<z.ZodString>;
|
|
57
|
+
closed_at: z.ZodNullable<z.ZodString>;
|
|
58
|
+
provisioner: z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
scope: z.ZodLiteral<"installation">;
|
|
61
|
+
name: z.ZodNullable<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
reconciliation_status: z.ZodEnum<{
|
|
64
|
+
unknown: "unknown";
|
|
65
|
+
current: "current";
|
|
66
|
+
stale: "stale";
|
|
67
|
+
terminal: "terminal";
|
|
68
|
+
}>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export type RunnerAdministratorInstanceDto = z.infer<typeof runnerAdministratorInstanceSchema>;
|
|
71
|
+
export declare const listRunnerAdministratorInstancesQuerySchema: z.ZodObject<{
|
|
72
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
starting: "starting";
|
|
74
|
+
running: "running";
|
|
75
|
+
stopping: "stopping";
|
|
76
|
+
stopped: "stopped";
|
|
77
|
+
failed: "failed";
|
|
78
|
+
terminated: "terminated";
|
|
79
|
+
}>>;
|
|
80
|
+
assignment: z.ZodOptional<z.ZodEnum<{
|
|
81
|
+
unassigned: "unassigned";
|
|
82
|
+
assigned: "assigned";
|
|
83
|
+
}>>;
|
|
84
|
+
label: z.ZodOptional<z.ZodString>;
|
|
85
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
86
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
export type ListRunnerAdministratorInstancesQueryDto = z.infer<typeof listRunnerAdministratorInstancesQuerySchema>;
|
|
89
|
+
export declare const listRunnerAdministratorInstancesResponseSchema: z.ZodObject<{
|
|
90
|
+
runners: z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
lifecycle_state: z.ZodEnum<{
|
|
93
|
+
unassigned: "unassigned";
|
|
94
|
+
assigned: "assigned";
|
|
95
|
+
activated: "activated";
|
|
96
|
+
claimed: "claimed";
|
|
97
|
+
completed: "completed";
|
|
98
|
+
}>;
|
|
99
|
+
compute_state: z.ZodEnum<{
|
|
100
|
+
starting: "starting";
|
|
101
|
+
running: "running";
|
|
102
|
+
stopping: "stopping";
|
|
103
|
+
stopped: "stopped";
|
|
104
|
+
failed: "failed";
|
|
105
|
+
terminated: "terminated";
|
|
106
|
+
}>;
|
|
107
|
+
enrollment_state: z.ZodEnum<{
|
|
108
|
+
activated: "activated";
|
|
109
|
+
pending: "pending";
|
|
110
|
+
enrolled: "enrolled";
|
|
111
|
+
}>;
|
|
112
|
+
assignment_presence: z.ZodEnum<{
|
|
113
|
+
unassigned: "unassigned";
|
|
114
|
+
assigned: "assigned";
|
|
115
|
+
}>;
|
|
116
|
+
assigned_workspace: z.ZodNullable<z.ZodObject<{
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
labels: z.ZodArray<z.ZodString>;
|
|
120
|
+
created_at: z.ZodString;
|
|
121
|
+
last_heartbeat_at: z.ZodString;
|
|
122
|
+
closure_reason: z.ZodNullable<z.ZodString>;
|
|
123
|
+
closed_at: z.ZodNullable<z.ZodString>;
|
|
124
|
+
provisioner: z.ZodObject<{
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
scope: z.ZodLiteral<"installation">;
|
|
127
|
+
name: z.ZodNullable<z.ZodString>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
reconciliation_status: z.ZodEnum<{
|
|
130
|
+
unknown: "unknown";
|
|
131
|
+
current: "current";
|
|
132
|
+
stale: "stale";
|
|
133
|
+
terminal: "terminal";
|
|
134
|
+
}>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>;
|
|
138
|
+
export type ListRunnerAdministratorInstancesResponseDto = z.infer<typeof listRunnerAdministratorInstancesResponseSchema>;
|
|
139
|
+
//# sourceMappingURL=admin-runner-instances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-runner-instances.d.ts","sourceRoot":"","sources":["../../src/schemas/admin-runner-instances.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAItB,eAAO,MAAM,uCAAuC;;;;;;EAMlD,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;EAInD,CAAC;AAEH,eAAO,MAAM,2CAA2C;;;EAAqC,CAAC;AAE9F,eAAO,MAAM,6CAA6C;;;;;EAKxD,CAAC;AAYH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAc5C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE/F,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;iBAMtD,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC5D,OAAO,2CAA2C,CACnD,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGzD,CAAC;AAEH,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC/D,OAAO,8CAA8C,CACtD,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { MAX_RUNNER_LABELS } from '@shipfox/runner-labels';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { runnerLabelSchema } from './register.js';
|
|
4
|
+
import { providerRunnerStateSchema } from './report-runner-instances.js';
|
|
5
|
+
export const runnerAdministratorLifecycleStateSchema = z.enum([
|
|
6
|
+
'unassigned',
|
|
7
|
+
'assigned',
|
|
8
|
+
'activated',
|
|
9
|
+
'claimed',
|
|
10
|
+
'completed'
|
|
11
|
+
]);
|
|
12
|
+
export const runnerAdministratorEnrollmentStateSchema = z.enum([
|
|
13
|
+
'pending',
|
|
14
|
+
'enrolled',
|
|
15
|
+
'activated'
|
|
16
|
+
]);
|
|
17
|
+
export const runnerAdministratorAssignmentPresenceSchema = z.enum([
|
|
18
|
+
'assigned',
|
|
19
|
+
'unassigned'
|
|
20
|
+
]);
|
|
21
|
+
export const runnerAdministratorReconciliationStatusSchema = z.enum([
|
|
22
|
+
'current',
|
|
23
|
+
'stale',
|
|
24
|
+
'terminal',
|
|
25
|
+
'unknown'
|
|
26
|
+
]);
|
|
27
|
+
const runnerAdministratorAssignedWorkspaceSchema = z.object({
|
|
28
|
+
id: z.string().uuid()
|
|
29
|
+
});
|
|
30
|
+
const runnerAdministratorProvisionerSchema = z.object({
|
|
31
|
+
id: z.string().uuid(),
|
|
32
|
+
scope: z.literal('installation'),
|
|
33
|
+
name: z.string().nullable()
|
|
34
|
+
});
|
|
35
|
+
export const runnerAdministratorInstanceSchema = z.object({
|
|
36
|
+
id: z.string().uuid(),
|
|
37
|
+
lifecycle_state: runnerAdministratorLifecycleStateSchema,
|
|
38
|
+
compute_state: providerRunnerStateSchema,
|
|
39
|
+
enrollment_state: runnerAdministratorEnrollmentStateSchema,
|
|
40
|
+
assignment_presence: runnerAdministratorAssignmentPresenceSchema,
|
|
41
|
+
assigned_workspace: runnerAdministratorAssignedWorkspaceSchema.nullable(),
|
|
42
|
+
labels: z.array(runnerLabelSchema).max(MAX_RUNNER_LABELS),
|
|
43
|
+
created_at: z.string().datetime(),
|
|
44
|
+
last_heartbeat_at: z.string().datetime(),
|
|
45
|
+
closure_reason: z.string().max(500).nullable(),
|
|
46
|
+
closed_at: z.string().datetime().nullable(),
|
|
47
|
+
provisioner: runnerAdministratorProvisionerSchema,
|
|
48
|
+
reconciliation_status: runnerAdministratorReconciliationStatusSchema
|
|
49
|
+
});
|
|
50
|
+
export const listRunnerAdministratorInstancesQuerySchema = z.object({
|
|
51
|
+
state: providerRunnerStateSchema.optional(),
|
|
52
|
+
assignment: runnerAdministratorAssignmentPresenceSchema.optional(),
|
|
53
|
+
label: runnerLabelSchema.optional(),
|
|
54
|
+
limit: z.coerce.number().int().min(1).max(100).default(50),
|
|
55
|
+
cursor: z.string().optional()
|
|
56
|
+
});
|
|
57
|
+
export const listRunnerAdministratorInstancesResponseSchema = z.object({
|
|
58
|
+
runners: z.array(runnerAdministratorInstanceSchema),
|
|
59
|
+
next_cursor: z.string().nullable()
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=admin-runner-instances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/admin-runner-instances.ts"],"sourcesContent":["import {MAX_RUNNER_LABELS} from '@shipfox/runner-labels';\nimport {z} from 'zod';\nimport {runnerLabelSchema} from './register.js';\nimport {providerRunnerStateSchema} from './report-runner-instances.js';\n\nexport const runnerAdministratorLifecycleStateSchema = z.enum([\n 'unassigned',\n 'assigned',\n 'activated',\n 'claimed',\n 'completed',\n]);\n\nexport const runnerAdministratorEnrollmentStateSchema = z.enum([\n 'pending',\n 'enrolled',\n 'activated',\n]);\n\nexport const runnerAdministratorAssignmentPresenceSchema = z.enum(['assigned', 'unassigned']);\n\nexport const runnerAdministratorReconciliationStatusSchema = z.enum([\n 'current',\n 'stale',\n 'terminal',\n 'unknown',\n]);\n\nconst runnerAdministratorAssignedWorkspaceSchema = z.object({\n id: z.string().uuid(),\n});\n\nconst runnerAdministratorProvisionerSchema = z.object({\n id: z.string().uuid(),\n scope: z.literal('installation'),\n name: z.string().nullable(),\n});\n\nexport const runnerAdministratorInstanceSchema = z.object({\n id: z.string().uuid(),\n lifecycle_state: runnerAdministratorLifecycleStateSchema,\n compute_state: providerRunnerStateSchema,\n enrollment_state: runnerAdministratorEnrollmentStateSchema,\n assignment_presence: runnerAdministratorAssignmentPresenceSchema,\n assigned_workspace: runnerAdministratorAssignedWorkspaceSchema.nullable(),\n labels: z.array(runnerLabelSchema).max(MAX_RUNNER_LABELS),\n created_at: z.string().datetime(),\n last_heartbeat_at: z.string().datetime(),\n closure_reason: z.string().max(500).nullable(),\n closed_at: z.string().datetime().nullable(),\n provisioner: runnerAdministratorProvisionerSchema,\n reconciliation_status: runnerAdministratorReconciliationStatusSchema,\n});\n\nexport type RunnerAdministratorInstanceDto = z.infer<typeof runnerAdministratorInstanceSchema>;\n\nexport const listRunnerAdministratorInstancesQuerySchema = z.object({\n state: providerRunnerStateSchema.optional(),\n assignment: runnerAdministratorAssignmentPresenceSchema.optional(),\n label: runnerLabelSchema.optional(),\n limit: z.coerce.number().int().min(1).max(100).default(50),\n cursor: z.string().optional(),\n});\n\nexport type ListRunnerAdministratorInstancesQueryDto = z.infer<\n typeof listRunnerAdministratorInstancesQuerySchema\n>;\n\nexport const listRunnerAdministratorInstancesResponseSchema = z.object({\n runners: z.array(runnerAdministratorInstanceSchema),\n next_cursor: z.string().nullable(),\n});\n\nexport type ListRunnerAdministratorInstancesResponseDto = z.infer<\n typeof listRunnerAdministratorInstancesResponseSchema\n>;\n"],"names":["MAX_RUNNER_LABELS","z","runnerLabelSchema","providerRunnerStateSchema","runnerAdministratorLifecycleStateSchema","enum","runnerAdministratorEnrollmentStateSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorReconciliationStatusSchema","runnerAdministratorAssignedWorkspaceSchema","object","id","string","uuid","runnerAdministratorProvisionerSchema","scope","literal","name","nullable","runnerAdministratorInstanceSchema","lifecycle_state","compute_state","enrollment_state","assignment_presence","assigned_workspace","labels","array","max","created_at","datetime","last_heartbeat_at","closure_reason","closed_at","provisioner","reconciliation_status","listRunnerAdministratorInstancesQuerySchema","state","optional","assignment","label","limit","coerce","number","int","min","default","cursor","listRunnerAdministratorInstancesResponseSchema","runners","next_cursor"],"mappings":"AAAA,SAAQA,iBAAiB,QAAO,yBAAyB;AACzD,SAAQC,CAAC,QAAO,MAAM;AACtB,SAAQC,iBAAiB,QAAO,gBAAgB;AAChD,SAAQC,yBAAyB,QAAO,+BAA+B;AAEvE,OAAO,MAAMC,0CAA0CH,EAAEI,IAAI,CAAC;IAC5D;IACA;IACA;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAMC,2CAA2CL,EAAEI,IAAI,CAAC;IAC7D;IACA;IACA;CACD,EAAE;AAEH,OAAO,MAAME,8CAA8CN,EAAEI,IAAI,CAAC;IAAC;IAAY;CAAa,EAAE;AAE9F,OAAO,MAAMG,gDAAgDP,EAAEI,IAAI,CAAC;IAClE;IACA;IACA;IACA;CACD,EAAE;AAEH,MAAMI,6CAA6CR,EAAES,MAAM,C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GED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { type AdministratorProvisionerTokenDto, administratorProvisionerTokenSchema, type CreateAdministratorProvisionerTokenBodyDto, type CreateAdministratorProvisionerTokenResponseDto, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, type InstallationProvisionerTokenStatus, installationProvisionerTokenStatusSchema, type ListAdministratorProvisionerTokensQueryDto, type ListAdministratorProvisionerTokensResponseDto, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, type RevokeAdministratorProvisionerTokenBodyDto, type RevokeAdministratorProvisionerTokenResponseDto, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema, } from './admin-provisioner-token.js';
|
|
2
|
+
export { type ListRunnerAdministratorInstancesQueryDto, type ListRunnerAdministratorInstancesResponseDto, listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, type RunnerAdministratorInstanceDto, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema, } from './admin-runner-instances.js';
|
|
1
3
|
export { type AssignRunnerInstancesBodyDto, type AssignRunnerInstancesResponseDto, assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema, } from './assign-runner-instances.js';
|
|
2
4
|
export { type ClaimedJobResponseDto, claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE, } from './claim-job.js';
|
|
3
5
|
export { type HeartbeatBodyDto, type HeartbeatResponseDto, heartbeatBodySchema, heartbeatResponseSchema, } from './heartbeat.js';
|
|
@@ -8,6 +10,6 @@ export { type CreateProvisionerTokenBodyDto, type CreateProvisionerTokenResponse
|
|
|
8
10
|
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, type ReconcileDesiredIntentDto, type ReconciledBoundJobDto, type ReconciledRunnerInstanceDto, type ReconcileRunnerInstancesBodyDto, type ReconcileRunnerInstancesResponseDto, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema, } from './reconcile-runner-instances.js';
|
|
9
11
|
export { type RegisterRunnerBodyDto, type RegisterRunnerResponseDto, registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema, } from './register.js';
|
|
10
12
|
export { type ActiveRunnerDto, type ActiveRunnerStateDto, type ActiveRunnersResponseDto, activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, type ReportRunnerInstancesBodyDto, type ReportRunnerInstancesResponseDto, type RunnerInstanceReportEventDto, type RunnerInstanceStateDto, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema, } from './report-runner-instances.js';
|
|
11
|
-
export { attachRunnerControlProviderIdBodySchema, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, } from './runner-enrollment.js';
|
|
13
|
+
export { attachRunnerControlProviderIdBodySchema, type CreateRunnerInstancesBodyDto, type CreateRunnerInstancesResponseDto, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, type RunnerAssignmentPollQueryDto, type RunnerBootstrapExchangeBodyDto, type RunnerBootstrapExchangeResponseDto, type RunnerEnrollmentBodyDto, type RunnerEnrollmentResponseDto, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema, } from './runner-enrollment.js';
|
|
12
14
|
export { type RunnerHarnessToolCapabilitiesDto, type RunnerToolCapabilitiesDto, runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema, } from './tool-capabilities.js';
|
|
13
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,qBAAqB,EAC1B,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,iCAAiC,EACtC,oCAAoC,GACrC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,uCAAuC,EACvC,2CAA2C,EAC3C,KAAK,uCAAuC,EAC5C,0CAA0C,EAC1C,yCAAyC,EACzC,KAAK,0BAA0B,EAC/B,gCAAgC,EAChC,KAAK,wCAAwC,EAC7C,2CAA2C,GAC5C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,KAAK,aAAa,EAClB,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,oBAAoB,EACpB,w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A2B,EAChC,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,EACnC,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,6CAA6C,EAC7C,iDAAiD,EACjD,KAAK,kCAAkC,EACvC,wCAAwC,EACxC,KAAK,0CAA0C,EAC/C,KAAK,6CAA6C,EAClD,6CAA6C,EAC7C,gDAAgD,EAChD,KAAK,0CAA0C,EAC/C,KAAK,8CAA8C,EACnD,6CAA6C,EAC7C,iDAAiD,GAClD,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,wCAAwC,EAC7C,KAAK,2CAA2C,EAChD,2CAA2C,EAC3C,8CAA8C,EAC9C,KAAK,8BAA8B,EACnC,2CAA2C,EAC3C,wCAAwC,EACxC,iCAAiC,EACjC,uCAAuC,EACvC,6CAA6C,GAC9C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,qBAAqB,EAC1B,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EACzB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,oBAAoB,EACzB,0BAA0B,EAC1B,KAAK,iCAAiC,EACtC,oCAAoC,GACrC,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B,iCAAiC,EACjC,iCAAiC,EACjC,kBAAkB,EAClB,+BAA+B,EAC/B,yBAAyB,EACzB,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,uCAAuC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,+BAA+B,EAC/B,mCAAmC,EACnC,2CAA2C,EAC3C,KAAK,4BAA4B,EACjC,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EACvC,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,+BAA+B,EAC/B,kCAAkC,EAClC,iCAAiC,EACjC,qCAAqC,EACrC,oCAAoC,EACpC,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,yBAAyB,EAC9B,mCAAmC,EACnC,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC"}
|
package/dist/schemas/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { administratorProvisionerTokenSchema, createAdministratorProvisionerTokenBodySchema, createAdministratorProvisionerTokenResponseSchema, installationProvisionerTokenStatusSchema, listAdministratorProvisionerTokensQuerySchema, listAdministratorProvisionerTokensResponseSchema, revokeAdministratorProvisionerTokenBodySchema, revokeAdministratorProvisionerTokenResponseSchema } from './admin-provisioner-token.js';
|
|
2
|
+
export { listRunnerAdministratorInstancesQuerySchema, listRunnerAdministratorInstancesResponseSchema, runnerAdministratorAssignmentPresenceSchema, runnerAdministratorEnrollmentStateSchema, runnerAdministratorInstanceSchema, runnerAdministratorLifecycleStateSchema, runnerAdministratorReconciliationStatusSchema } from './admin-runner-instances.js';
|
|
1
3
|
export { assignRunnerInstancesBodySchema, assignRunnerInstancesResponseSchema } from './assign-runner-instances.js';
|
|
2
4
|
export { claimedJobResponseSchema, RUNNER_SESSION_EXHAUSTED_CODE } from './claim-job.js';
|
|
3
5
|
export { heartbeatBodySchema, heartbeatResponseSchema } from './heartbeat.js';
|
|
@@ -8,7 +10,7 @@ export { createProvisionerTokenBodySchema, createProvisionerTokenResponseSchema,
|
|
|
8
10
|
export { MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH, MAX_RECONCILE_OBSERVED_RUNNERS, reconcileDesiredIntentSchema, reconciledBoundJobSchema, reconciledRunnerInstanceSchema, reconcileRunnerInstancesBodySchema, reconcileRunnerInstancesResponseSchema } from './reconcile-runner-instances.js';
|
|
9
11
|
export { registerRunnerBodySchema, registerRunnerResponseSchema, runnerLabelSchema } from './register.js';
|
|
10
12
|
export { activeRunnerDtoSchema, activeRunnerStateSchema, activeRunnersResponseSchema, MAX_PROVIDER_KIND_LENGTH, MAX_PROVIDER_RUNNER_REASON_LENGTH, MAX_PROVIDER_RUNNER_REPORT_EVENTS, providerKindSchema, providerRunnerReportEventSchema, providerRunnerStateSchema, reportRunnerInstancesBodySchema, reportRunnerInstancesResponseSchema } from './report-runner-instances.js';
|
|
11
|
-
export { attachRunnerControlProviderIdBodySchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema } from './runner-enrollment.js';
|
|
13
|
+
export { attachRunnerControlProviderIdBodySchema, createRunnerInstancesBodySchema, createRunnerInstancesResponseSchema, RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS, runnerAssignmentPollQuerySchema, runnerAssignmentPollResponseSchema, runnerBootstrapExchangeBodySchema, runnerBootstrapExchangeResponseSchema, runnerControlHeartbeatResponseSchema, runnerEnrollmentBodySchema, runnerEnrollmentResponseSchema } from './runner-enrollment.js';
|
|
12
14
|
export { runnerHarnessToolCapabilitiesSchema, runnerToolCapabilitiesSchema } from './tool-capabilities.js';
|
|
13
15
|
|
|
14
16
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n} from './assign-runner-instances.js';\nexport {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type DemandStatDto,\n demandStatSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n type ReservationGrantDto,\n reservationGrantSchema,\n} from './poll-demand.js';\nexport {\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type ListProvisionerTokensResponseDto,\n listProvisionerTokensResponseSchema,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type RevokeProvisionerTokenResponseDto,\n revokeProvisionerTokenResponseSchema,\n} from './provisioner-token.js';\nexport {\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n} from './reconcile-runner-instances.js';\nexport {\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n runnerLabelSchema,\n} from './register.js';\nexport {\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n} from './report-runner-instances.js';\nexport {\n attachRunnerControlProviderIdBodySchema,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","claimedJobResponseSchema","RUNNER_SESSION_EXHAUSTED_CODE","heartbeatBodySchema","heartbeatResponseSchema","activeProvisionerDtoSchema","listActiveProvisionersResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","listManualRegistrationTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","manualRegistrationTokenDtoSchema","revokeManualRegistrationTokenResponseSchema","demandStatSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","reservationGrantSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","listProvisionerTokensResponseSchema","MAX_PROVISIONER_TOKEN_TTL_SECONDS","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","revokeProvisionerTokenResponseSchema","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_RECONCILE_OBSERVED_RUNNERS","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","runnerLabelSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["../../src/schemas/index.ts"],"sourcesContent":["export {\n type AdministratorProvisionerTokenDto,\n administratorProvisionerTokenSchema,\n type CreateAdministratorProvisionerTokenBodyDto,\n type CreateAdministratorProvisionerTokenResponseDto,\n createAdministratorProvisionerTokenBodySchema,\n createAdministratorProvisionerTokenResponseSchema,\n type InstallationProvisionerTokenStatus,\n installationProvisionerTokenStatusSchema,\n type ListAdministratorProvisionerTokensQueryDto,\n type ListAdministratorProvisionerTokensResponseDto,\n listAdministratorProvisionerTokensQuerySchema,\n listAdministratorProvisionerTokensResponseSchema,\n type RevokeAdministratorProvisionerTokenBodyDto,\n type RevokeAdministratorProvisionerTokenResponseDto,\n revokeAdministratorProvisionerTokenBodySchema,\n revokeAdministratorProvisionerTokenResponseSchema,\n} from './admin-provisioner-token.js';\nexport {\n type ListRunnerAdministratorInstancesQueryDto,\n type ListRunnerAdministratorInstancesResponseDto,\n listRunnerAdministratorInstancesQuerySchema,\n listRunnerAdministratorInstancesResponseSchema,\n type RunnerAdministratorInstanceDto,\n runnerAdministratorAssignmentPresenceSchema,\n runnerAdministratorEnrollmentStateSchema,\n runnerAdministratorInstanceSchema,\n runnerAdministratorLifecycleStateSchema,\n runnerAdministratorReconciliationStatusSchema,\n} from './admin-runner-instances.js';\nexport {\n type AssignRunnerInstancesBodyDto,\n type AssignRunnerInstancesResponseDto,\n assignRunnerInstancesBodySchema,\n assignRunnerInstancesResponseSchema,\n} from './assign-runner-instances.js';\nexport {\n type ClaimedJobResponseDto,\n claimedJobResponseSchema,\n RUNNER_SESSION_EXHAUSTED_CODE,\n} from './claim-job.js';\nexport {\n type HeartbeatBodyDto,\n type HeartbeatResponseDto,\n heartbeatBodySchema,\n heartbeatResponseSchema,\n} from './heartbeat.js';\nexport {\n type ActiveProvisionerDto,\n activeProvisionerDtoSchema,\n type ListActiveProvisionersResponseDto,\n listActiveProvisionersResponseSchema,\n} from './list-active-provisioners.js';\nexport {\n type CreateManualRegistrationTokenBodyDto,\n type CreateManualRegistrationTokenResponseDto,\n createManualRegistrationTokenBodySchema,\n createManualRegistrationTokenResponseSchema,\n type ListManualRegistrationTokensResponseDto,\n listManualRegistrationTokensResponseSchema,\n MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS,\n type ManualRegistrationTokenDto,\n manualRegistrationTokenDtoSchema,\n type RevokeManualRegistrationTokenResponseDto,\n revokeManualRegistrationTokenResponseSchema,\n} from './manual-registration-token.js';\nexport {\n type DemandStatDto,\n demandStatSchema,\n type PollDemandBodyDto,\n type PollDemandResponseDto,\n type PollDemandTemplateDto,\n pollDemandBodySchema,\n pollDemandResponseSchema,\n pollDemandTemplateSchema,\n type ReservationGrantDto,\n reservationGrantSchema,\n} from './poll-demand.js';\nexport {\n type CreateProvisionerTokenBodyDto,\n type CreateProvisionerTokenResponseDto,\n createProvisionerTokenBodySchema,\n createProvisionerTokenResponseSchema,\n type ListProvisionerTokensResponseDto,\n listProvisionerTokensResponseSchema,\n MAX_PROVISIONER_TOKEN_TTL_SECONDS,\n type ProvisionerIdentityResponseDto,\n type ProvisionerTokenDto,\n provisionerIdentityResponseSchema,\n provisionerTokenDtoSchema,\n type RevokeProvisionerTokenResponseDto,\n revokeProvisionerTokenResponseSchema,\n} from './provisioner-token.js';\nexport {\n MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH,\n MAX_RECONCILE_OBSERVED_RUNNERS,\n type ReconcileDesiredIntentDto,\n type ReconciledBoundJobDto,\n type ReconciledRunnerInstanceDto,\n type ReconcileRunnerInstancesBodyDto,\n type ReconcileRunnerInstancesResponseDto,\n reconcileDesiredIntentSchema,\n reconciledBoundJobSchema,\n reconciledRunnerInstanceSchema,\n reconcileRunnerInstancesBodySchema,\n reconcileRunnerInstancesResponseSchema,\n} from './reconcile-runner-instances.js';\nexport {\n type RegisterRunnerBodyDto,\n type RegisterRunnerResponseDto,\n registerRunnerBodySchema,\n registerRunnerResponseSchema,\n runnerLabelSchema,\n} from './register.js';\nexport {\n type ActiveRunnerDto,\n type ActiveRunnerStateDto,\n type ActiveRunnersResponseDto,\n activeRunnerDtoSchema,\n activeRunnerStateSchema,\n activeRunnersResponseSchema,\n MAX_PROVIDER_KIND_LENGTH,\n MAX_PROVIDER_RUNNER_REASON_LENGTH,\n MAX_PROVIDER_RUNNER_REPORT_EVENTS,\n providerKindSchema,\n providerRunnerReportEventSchema,\n providerRunnerStateSchema,\n type ReportRunnerInstancesBodyDto,\n type ReportRunnerInstancesResponseDto,\n type RunnerInstanceReportEventDto,\n type RunnerInstanceStateDto,\n reportRunnerInstancesBodySchema,\n reportRunnerInstancesResponseSchema,\n} from './report-runner-instances.js';\nexport {\n attachRunnerControlProviderIdBodySchema,\n type CreateRunnerInstancesBodyDto,\n type CreateRunnerInstancesResponseDto,\n createRunnerInstancesBodySchema,\n createRunnerInstancesResponseSchema,\n RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS,\n type RunnerAssignmentPollQueryDto,\n type RunnerBootstrapExchangeBodyDto,\n type RunnerBootstrapExchangeResponseDto,\n type RunnerEnrollmentBodyDto,\n type RunnerEnrollmentResponseDto,\n runnerAssignmentPollQuerySchema,\n runnerAssignmentPollResponseSchema,\n runnerBootstrapExchangeBodySchema,\n runnerBootstrapExchangeResponseSchema,\n runnerControlHeartbeatResponseSchema,\n runnerEnrollmentBodySchema,\n runnerEnrollmentResponseSchema,\n} from './runner-enrollment.js';\nexport {\n type RunnerHarnessToolCapabilitiesDto,\n type RunnerToolCapabilitiesDto,\n runnerHarnessToolCapabilitiesSchema,\n runnerToolCapabilitiesSchema,\n} from './tool-capabilities.js';\n"],"names":["administratorProvisionerTokenSchema","createAdministratorProvisionerTokenBodySchema","createAdministratorProvisionerTokenResponseSchema","installationProvisionerTokenStatusSchema","listAdministratorProvisionerTokensQuerySchema","listAdministratorProvisionerTokensResponseSchema","revokeAdministratorProvisionerTokenBodySchema","revokeAdministratorProvisionerTokenResponseSchema","listRunnerAdministratorInstancesQuerySchema","listRunnerAdministratorInstancesResponseSchema","runnerAdministratorAssignmentPresenceSchema","runnerAdministratorEnrollmentStateSchema","runnerAdministratorInstanceSchema","runnerAdministratorLifecycleStateSchema","runnerAdministratorReconciliationStatusSchema","assignRunnerInstancesBodySchema","assignRunnerInstancesResponseSchema","claimedJobResponseSchema","RUNNER_SESSION_EXHAUSTED_CODE","heartbeatBodySchema","heartbeatResponseSchema","activeProvisionerDtoSchema","listActiveProvisionersResponseSchema","createManualRegistrationTokenBodySchema","createManualRegistrationTokenResponseSchema","listManualRegistrationTokensResponseSchema","MAX_MANUAL_REGISTRATION_TOKEN_TTL_SECONDS","manualRegistrationTokenDtoSchema","revokeManualRegistrationTokenResponseSchema","demandStatSchema","pollDemandBodySchema","pollDemandResponseSchema","pollDemandTemplateSchema","reservationGrantSchema","createProvisionerTokenBodySchema","createProvisionerTokenResponseSchema","listProvisionerTokensResponseSchema","MAX_PROVISIONER_TOKEN_TTL_SECONDS","provisionerIdentityResponseSchema","provisionerTokenDtoSchema","revokeProvisionerTokenResponseSchema","MAX_OBSERVED_PROVIDER_RUNNER_ID_LENGTH","MAX_RECONCILE_OBSERVED_RUNNERS","reconcileDesiredIntentSchema","reconciledBoundJobSchema","reconciledRunnerInstanceSchema","reconcileRunnerInstancesBodySchema","reconcileRunnerInstancesResponseSchema","registerRunnerBodySchema","registerRunnerResponseSchema","runnerLabelSchema","activeRunnerDtoSchema","activeRunnerStateSchema","activeRunnersResponseSchema","MAX_PROVIDER_KIND_LENGTH","MAX_PROVIDER_RUNNER_REASON_LENGTH","MAX_PROVIDER_RUNNER_REPORT_EVENTS","providerKindSchema","providerRunnerReportEventSchema","providerRunnerStateSchema","reportRunnerInstancesBodySchema","reportRunnerInstancesResponseSchema","attachRunnerControlProviderIdBodySchema","createRunnerInstancesBodySchema","createRunnerInstancesResponseSchema","RUNNER_ASSIGNMENT_POLL_DEFAULT_WAIT_SECONDS","runnerAssignmentPollQuerySchema","runnerAssignmentPollResponseSchema","runnerBootstrapExchangeBodySchema","runnerBootstrapExchangeResponseSchema","runnerControlHeartbeatResponseSchema","runnerEnrollmentBodySchema","runnerEnrollmentResponseSchema","runnerHarnessToolCapabilitiesSchema","runnerToolCapabilitiesSchema"],"mappings":"AAAA,SAEEA,mCAAmC,EAGnCC,6CAA6C,EAC7CC,iDAAiD,EAEjDC,wCAAwC,EAGxCC,6CAA6C,EAC7CC,gDAAgD,EAGhDC,6CAA6C,EAC7CC,iDAAiD,QAC5C,+BAA+B;AACtC,SAGEC,2CAA2C,EAC3CC,8CAA8C,EAE9CC,2CAA2C,EAC3CC,wCAAwC,EACxCC,iCAAiC,EACjCC,uCAAuC,EACvCC,6CAA6C,QACxC,8BAA8B;AACrC,SAGEC,+BAA+B,EAC/BC,mCAAmC,QAC9B,+BAA+B;AACtC,SAEEC,wBAAwB,EACxBC,6BAA6B,QACxB,iBAAiB;AACxB,SAGEC,mBAAmB,EACnBC,uBAAuB,QAClB,iBAAiB;AACxB,SAEEC,0BAA0B,EAE1BC,oCAAoC,QAC/B,gCAAgC;AACvC,SAGEC,uCAAuC,EACvCC,2CAA2C,EAE3CC,0CAA0C,EAC1CC,yCAAyC,EAEzCC,gCAAgC,EAEhCC,2CAA2C,QACtC,iCAAiC;AACxC,SAEEC,gBAAgB,EAIhBC,oBAAoB,EACpBC,wBAAwB,EACxBC,wBAAwB,EAExBC,sBAAsB,QACjB,mBAAmB;AAC1B,SAGEC,gCAAgC,EAChCC,oCAAoC,EAEpCC,mCAAmC,EACnCC,iCAAiC,EAGjCC,iCAAiC,EACjCC,yBAAyB,EAEzBC,oCAAoC,QAC/B,yBAAyB;AAChC,SACEC,sCAAsC,EACtCC,8BAA8B,E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