@wix/auto_sdk_containers_project-jobs 1.0.6 → 1.0.7
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +33 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +225 -125
- package/build/cjs/index.typings.js +33 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +221 -124
- package/build/cjs/meta.js +27 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +31 -7
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +225 -125
- package/build/es/index.typings.mjs +31 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +221 -124
- package/build/es/meta.mjs +25 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.typings.d.ts +234 -134
- package/build/internal/cjs/meta.d.ts +221 -124
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.typings.d.mts +234 -134
- package/build/internal/es/meta.d.mts +221 -124
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MaybeContext, BuildRESTFunction, HttpClient } from '@wix/sdk-types';
|
|
2
2
|
import { ProjectJobQuery, QueryProjectJobsOptions, typedQueryProjectJobs, ProjectJobsQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, ActionEvent, ActivityBatch, ActivityEvent, ActivityEventType, ActivityEventTypeWithLiterals, ActivitySource, ActivitySourceWithLiterals, ActivityWorkflow, ActivityWorkflowWithLiterals, Attachment, AttachmentType, AttachmentTypeWithLiterals, CancelProjectJobRequest, CancelProjectJobResponse, CancelReason, CancelReasonWithLiterals, ClearProjectJobAssistantResponseRequest, ClearProjectJobAssistantResponseResponse, CommonQueryWithEntityContext, CreateProjectJobRequest, CreateProjectJobResponse, CreateSuggestionsJobOptions, CreateSuggestionsJobRequest, CreateSuggestionsJobResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetCurrentProjectJobRequest, GetCurrentProjectJobResponse, GetLatestProjectJobRequest, GetLatestProjectJobResponse, GetProjectJobRequest, GetProjectJobResponse, IdentificationData, IdentificationDataIdOneOf, JobStatus, JobStatusWithLiterals, JobType, JobTypeWithLiterals, MessageEnvelope, OpenProjectJobActivityRequest, OpenProjectJobActivityResponse, Platform, PlatformWithLiterals, ProjectJob, ProjectJobQuerySpec, ProjectJobsQueryResult, QueryProjectJobActivityOptions, QueryProjectJobActivityRequest, QueryProjectJobActivityResponse, QueryProjectJobsRequest, QueryProjectJobsResponse, ReportProjectJobActivityRequest, ReportProjectJobActivityResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, StopProjectJobRequest, StopProjectJobResponse, Suggestion, UpdateProjectJobStatusOptions, UpdateProjectJobStatusRequest, UpdateProjectJobStatusResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
3
|
+
export { AccountInfo, ActionEvent, ActivityBatch, ActivityEvent, ActivityEventType, ActivityEventTypeWithLiterals, ActivitySource, ActivitySourceWithLiterals, ActivityWorkflow, ActivityWorkflowWithLiterals, Attachment, AttachmentType, AttachmentTypeWithLiterals, CancelProjectJobRequest, CancelProjectJobResponse, CancelReason, CancelReasonWithLiterals, ClearProjectJobAssistantResponseRequest, ClearProjectJobAssistantResponseResponse, CommonQueryWithEntityContext, CompleteOneAppMigrationJobRequest, CompleteOneAppMigrationJobResponse, CreateOneAppMigrationJobRequest, CreateOneAppMigrationJobResponse, CreateProjectJobRequest, CreateProjectJobResponse, CreateSuggestionsJobOptions, CreateSuggestionsJobRequest, CreateSuggestionsJobResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetCurrentProjectJobRequest, GetCurrentProjectJobResponse, GetLatestProjectJobRequest, GetLatestProjectJobResponse, GetOneAppMigrationJobForTeamRequest, GetOneAppMigrationJobForTeamResponse, GetProjectJobRequest, GetProjectJobResponse, IdentificationData, IdentificationDataIdOneOf, JobStatus, JobStatusWithLiterals, JobType, JobTypeWithLiterals, MessageEnvelope, OneAppMigrationFailureCode, OneAppMigrationFailureCodeWithLiterals, OneAppMigrationJob, OneAppMigrationOutcome, OneAppMigrationOutcomeWithLiterals, OpenProjectJobActivityRequest, OpenProjectJobActivityResponse, Platform, PlatformWithLiterals, ProjectJob, ProjectJobQuerySpec, ProjectJobsQueryResult, QueryOneAppMigrationActivityForTeamRequest, QueryOneAppMigrationActivityForTeamResponse, QueryProjectJobActivityOptions, QueryProjectJobActivityRequest, QueryProjectJobActivityResponse, QueryProjectJobsRequest, QueryProjectJobsResponse, ReportProjectJobActivityRequest, ReportProjectJobActivityResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, StopProjectJobRequest, StopProjectJobResponse, Suggestion, UpdateProjectJobStatusOptions, UpdateProjectJobStatusRequest, UpdateProjectJobStatusResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function customQueryProjectJobs(httpClient: HttpClient): {
|
|
6
6
|
(query: ProjectJobQuery, options: QueryProjectJobsOptions): ReturnType<typeof typedQueryProjectJobs>;
|
package/build/cjs/index.js
CHANGED
|
@@ -27,6 +27,8 @@ __export(index_exports, {
|
|
|
27
27
|
CancelReason: () => CancelReason,
|
|
28
28
|
JobStatus: () => JobStatus,
|
|
29
29
|
JobType: () => JobType,
|
|
30
|
+
OneAppMigrationFailureCode: () => OneAppMigrationFailureCode,
|
|
31
|
+
OneAppMigrationOutcome: () => OneAppMigrationOutcome,
|
|
30
32
|
Platform: () => Platform,
|
|
31
33
|
SortOrder: () => SortOrder,
|
|
32
34
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
@@ -440,6 +442,8 @@ var JobType = /* @__PURE__ */ ((JobType2) => {
|
|
|
440
442
|
JobType2["INITIAL_GENERATION"] = "INITIAL_GENERATION";
|
|
441
443
|
JobType2["USER_REQUEST"] = "USER_REQUEST";
|
|
442
444
|
JobType2["GENERATE_SUGGESTIONS"] = "GENERATE_SUGGESTIONS";
|
|
445
|
+
JobType2["ONE_APP_MIGRATION_INITIAL_GENERATION"] = "ONE_APP_MIGRATION_INITIAL_GENERATION";
|
|
446
|
+
JobType2["ONE_APP_MIGRATION_EDIT"] = "ONE_APP_MIGRATION_EDIT";
|
|
443
447
|
return JobType2;
|
|
444
448
|
})(JobType || {});
|
|
445
449
|
var Platform = /* @__PURE__ */ ((Platform2) => {
|
|
@@ -468,15 +472,26 @@ var CancelReason = /* @__PURE__ */ ((CancelReason2) => {
|
|
|
468
472
|
CancelReason2["USER_STOPPED"] = "USER_STOPPED";
|
|
469
473
|
return CancelReason2;
|
|
470
474
|
})(CancelReason || {});
|
|
471
|
-
var
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
475
|
+
var OneAppMigrationOutcome = /* @__PURE__ */ ((OneAppMigrationOutcome2) => {
|
|
476
|
+
OneAppMigrationOutcome2["DRAFT_SAVED"] = "DRAFT_SAVED";
|
|
477
|
+
return OneAppMigrationOutcome2;
|
|
478
|
+
})(OneAppMigrationOutcome || {});
|
|
479
|
+
var OneAppMigrationFailureCode = /* @__PURE__ */ ((OneAppMigrationFailureCode2) => {
|
|
480
|
+
OneAppMigrationFailureCode2["SOURCE_ACCESS_DENIED"] = "SOURCE_ACCESS_DENIED";
|
|
481
|
+
OneAppMigrationFailureCode2["SOURCE_COLLECTION_FAILED"] = "SOURCE_COLLECTION_FAILED";
|
|
482
|
+
OneAppMigrationFailureCode2["DRAFT_RESTORE_FAILED"] = "DRAFT_RESTORE_FAILED";
|
|
483
|
+
OneAppMigrationFailureCode2["DRAFT_PUBLISH_FAILED"] = "DRAFT_PUBLISH_FAILED";
|
|
484
|
+
OneAppMigrationFailureCode2["WORKER_START_FAILED"] = "WORKER_START_FAILED";
|
|
485
|
+
OneAppMigrationFailureCode2["INVALID_RESULT"] = "INVALID_RESULT";
|
|
486
|
+
OneAppMigrationFailureCode2["WORKER_TIMED_OUT"] = "WORKER_TIMED_OUT";
|
|
487
|
+
return OneAppMigrationFailureCode2;
|
|
488
|
+
})(OneAppMigrationFailureCode || {});
|
|
476
489
|
var ActivityWorkflow = /* @__PURE__ */ ((ActivityWorkflow2) => {
|
|
477
490
|
ActivityWorkflow2["ACTIVITY_WORKFLOW_UNKNOWN"] = "ACTIVITY_WORKFLOW_UNKNOWN";
|
|
478
491
|
ActivityWorkflow2["ACTIVITY_INITIAL_GENERATION"] = "ACTIVITY_INITIAL_GENERATION";
|
|
479
492
|
ActivityWorkflow2["ACTIVITY_USER_REQUEST"] = "ACTIVITY_USER_REQUEST";
|
|
493
|
+
ActivityWorkflow2["ACTIVITY_ONE_APP_MIGRATION_INITIAL_GENERATION"] = "ACTIVITY_ONE_APP_MIGRATION_INITIAL_GENERATION";
|
|
494
|
+
ActivityWorkflow2["ACTIVITY_ONE_APP_MIGRATION_EDIT"] = "ACTIVITY_ONE_APP_MIGRATION_EDIT";
|
|
480
495
|
return ActivityWorkflow2;
|
|
481
496
|
})(ActivityWorkflow || {});
|
|
482
497
|
var ActivitySource = /* @__PURE__ */ ((ActivitySource2) => {
|
|
@@ -499,6 +514,11 @@ var ActivityEventType = /* @__PURE__ */ ((ActivityEventType2) => {
|
|
|
499
514
|
ActivityEventType2["WORK_ITEM_PLANNED"] = "WORK_ITEM_PLANNED";
|
|
500
515
|
return ActivityEventType2;
|
|
501
516
|
})(ActivityEventType || {});
|
|
517
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
518
|
+
SortOrder2["ASC"] = "ASC";
|
|
519
|
+
SortOrder2["DESC"] = "DESC";
|
|
520
|
+
return SortOrder2;
|
|
521
|
+
})(SortOrder || {});
|
|
502
522
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
503
523
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
504
524
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -593,7 +613,9 @@ async function updateProjectJobStatus2(projectJobId, jobStatus, options) {
|
|
|
593
613
|
failureReason: options?.failureReason,
|
|
594
614
|
suggestions: options?.suggestions,
|
|
595
615
|
assistantResponse: options?.assistantResponse,
|
|
596
|
-
himalayaReleaseId: options?.himalayaReleaseId
|
|
616
|
+
himalayaReleaseId: options?.himalayaReleaseId,
|
|
617
|
+
oneAppMigrationOutcome: options?.oneAppMigrationOutcome,
|
|
618
|
+
oneAppMigrationFailureCode: options?.oneAppMigrationFailureCode
|
|
597
619
|
});
|
|
598
620
|
const reqOpts = updateProjectJobStatus(
|
|
599
621
|
payload
|
|
@@ -615,7 +637,9 @@ async function updateProjectJobStatus2(projectJobId, jobStatus, options) {
|
|
|
615
637
|
failureReason: "$[2].failureReason",
|
|
616
638
|
suggestions: "$[2].suggestions",
|
|
617
639
|
assistantResponse: "$[2].assistantResponse",
|
|
618
|
-
himalayaReleaseId: "$[2].himalayaReleaseId"
|
|
640
|
+
himalayaReleaseId: "$[2].himalayaReleaseId",
|
|
641
|
+
oneAppMigrationOutcome: "$[2].oneAppMigrationOutcome",
|
|
642
|
+
oneAppMigrationFailureCode: "$[2].oneAppMigrationFailureCode"
|
|
619
643
|
},
|
|
620
644
|
singleArgumentUnchanged: false
|
|
621
645
|
},
|
|
@@ -1072,6 +1096,8 @@ var queryProjectJobs4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModul
|
|
|
1072
1096
|
CancelReason,
|
|
1073
1097
|
JobStatus,
|
|
1074
1098
|
JobType,
|
|
1099
|
+
OneAppMigrationFailureCode,
|
|
1100
|
+
OneAppMigrationOutcome,
|
|
1075
1101
|
Platform,
|
|
1076
1102
|
SortOrder,
|
|
1077
1103
|
WebhookIdentityType,
|