@kudo.io/artworker-grpc-client-ts 2.0.324 → 2.0.325
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/lib/artworking/v1/artwork_pb.d.ts +131 -0
- package/lib/artworking/v1/artwork_pb.js +162 -2
- package/lib/artworking/v1/artwork_pb.js.map +1 -1
- package/lib/artworking/v1/job-share_pb.d.ts +0 -4
- package/lib/artworking/v1/job-share_pb.js +0 -5
- package/lib/artworking/v1/job-share_pb.js.map +1 -1
- package/package.json +1 -1
- package/src/artworking/v1/artwork_pb.ts +226 -0
- package/src/artworking/v1/job-share_pb.ts +0 -6
|
@@ -571,6 +571,85 @@ export declare class ArtworkRejectionReason extends Message<ArtworkRejectionReas
|
|
|
571
571
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArtworkRejectionReason;
|
|
572
572
|
static equals(a: ArtworkRejectionReason | PlainMessage<ArtworkRejectionReason> | undefined, b: ArtworkRejectionReason | PlainMessage<ArtworkRejectionReason> | undefined): boolean;
|
|
573
573
|
}
|
|
574
|
+
/**
|
|
575
|
+
* Typed settings for JobActionTypeProofSubmit
|
|
576
|
+
*
|
|
577
|
+
* @generated from message artworking.v1.ProofSubmitSettings
|
|
578
|
+
*/
|
|
579
|
+
export declare class ProofSubmitSettings extends Message<ProofSubmitSettings> {
|
|
580
|
+
/**
|
|
581
|
+
* @generated from field: bool enable_flipbook = 1;
|
|
582
|
+
*/
|
|
583
|
+
enableFlipbook: boolean;
|
|
584
|
+
constructor(data?: PartialMessage<ProofSubmitSettings>);
|
|
585
|
+
static readonly runtime: typeof proto3;
|
|
586
|
+
static readonly typeName = "artworking.v1.ProofSubmitSettings";
|
|
587
|
+
static readonly fields: FieldList;
|
|
588
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ProofSubmitSettings;
|
|
589
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ProofSubmitSettings;
|
|
590
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ProofSubmitSettings;
|
|
591
|
+
static equals(a: ProofSubmitSettings | PlainMessage<ProofSubmitSettings> | undefined, b: ProofSubmitSettings | PlainMessage<ProofSubmitSettings> | undefined): boolean;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* Typed settings for FileActionTypeApprove
|
|
595
|
+
*
|
|
596
|
+
* @generated from message artworking.v1.FileApprovalSettings
|
|
597
|
+
*/
|
|
598
|
+
export declare class FileApprovalSettings extends Message<FileApprovalSettings> {
|
|
599
|
+
constructor(data?: PartialMessage<FileApprovalSettings>);
|
|
600
|
+
static readonly runtime: typeof proto3;
|
|
601
|
+
static readonly typeName = "artworking.v1.FileApprovalSettings";
|
|
602
|
+
static readonly fields: FieldList;
|
|
603
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileApprovalSettings;
|
|
604
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileApprovalSettings;
|
|
605
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileApprovalSettings;
|
|
606
|
+
static equals(a: FileApprovalSettings | PlainMessage<FileApprovalSettings> | undefined, b: FileApprovalSettings | PlainMessage<FileApprovalSettings> | undefined): boolean;
|
|
607
|
+
}
|
|
608
|
+
/**
|
|
609
|
+
* Typed settings for FileActionTypeSubmit
|
|
610
|
+
*
|
|
611
|
+
* @generated from message artworking.v1.FileSubmitSettings
|
|
612
|
+
*/
|
|
613
|
+
export declare class FileSubmitSettings extends Message<FileSubmitSettings> {
|
|
614
|
+
constructor(data?: PartialMessage<FileSubmitSettings>);
|
|
615
|
+
static readonly runtime: typeof proto3;
|
|
616
|
+
static readonly typeName = "artworking.v1.FileSubmitSettings";
|
|
617
|
+
static readonly fields: FieldList;
|
|
618
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileSubmitSettings;
|
|
619
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileSubmitSettings;
|
|
620
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileSubmitSettings;
|
|
621
|
+
static equals(a: FileSubmitSettings | PlainMessage<FileSubmitSettings> | undefined, b: FileSubmitSettings | PlainMessage<FileSubmitSettings> | undefined): boolean;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Typed settings for JobActionTypeComplete
|
|
625
|
+
*
|
|
626
|
+
* @generated from message artworking.v1.CompleteJobSettings
|
|
627
|
+
*/
|
|
628
|
+
export declare class CompleteJobSettings extends Message<CompleteJobSettings> {
|
|
629
|
+
constructor(data?: PartialMessage<CompleteJobSettings>);
|
|
630
|
+
static readonly runtime: typeof proto3;
|
|
631
|
+
static readonly typeName = "artworking.v1.CompleteJobSettings";
|
|
632
|
+
static readonly fields: FieldList;
|
|
633
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CompleteJobSettings;
|
|
634
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CompleteJobSettings;
|
|
635
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CompleteJobSettings;
|
|
636
|
+
static equals(a: CompleteJobSettings | PlainMessage<CompleteJobSettings> | undefined, b: CompleteJobSettings | PlainMessage<CompleteJobSettings> | undefined): boolean;
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Typed settings for JobActionUploadArtwork
|
|
640
|
+
*
|
|
641
|
+
* @generated from message artworking.v1.ArtworkUploadSettings
|
|
642
|
+
*/
|
|
643
|
+
export declare class ArtworkUploadSettings extends Message<ArtworkUploadSettings> {
|
|
644
|
+
constructor(data?: PartialMessage<ArtworkUploadSettings>);
|
|
645
|
+
static readonly runtime: typeof proto3;
|
|
646
|
+
static readonly typeName = "artworking.v1.ArtworkUploadSettings";
|
|
647
|
+
static readonly fields: FieldList;
|
|
648
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ArtworkUploadSettings;
|
|
649
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ArtworkUploadSettings;
|
|
650
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ArtworkUploadSettings;
|
|
651
|
+
static equals(a: ArtworkUploadSettings | PlainMessage<ArtworkUploadSettings> | undefined, b: ArtworkUploadSettings | PlainMessage<ArtworkUploadSettings> | undefined): boolean;
|
|
652
|
+
}
|
|
574
653
|
/**
|
|
575
654
|
* @generated from message artworking.v1.DraftAction
|
|
576
655
|
*/
|
|
@@ -808,6 +887,10 @@ export declare class Proofs extends Message<Proofs> {
|
|
|
808
887
|
* @generated from field: bool allow_download = 5;
|
|
809
888
|
*/
|
|
810
889
|
allowDownload: boolean;
|
|
890
|
+
/**
|
|
891
|
+
* @generated from field: artworking.v1.ProofSubmitSettings settings = 6;
|
|
892
|
+
*/
|
|
893
|
+
settings?: ProofSubmitSettings;
|
|
811
894
|
constructor(data?: PartialMessage<Proofs>);
|
|
812
895
|
static readonly runtime: typeof proto3;
|
|
813
896
|
static readonly typeName = "artworking.v1.Proofs";
|
|
@@ -1851,6 +1934,27 @@ export declare class SubmitJobActionRequest_FileAction extends Message<SubmitJob
|
|
|
1851
1934
|
* @generated from field: artworking.v1.ImageTaskAction image_task_action = 9;
|
|
1852
1935
|
*/
|
|
1853
1936
|
imageTaskAction?: ImageTaskAction;
|
|
1937
|
+
/**
|
|
1938
|
+
* Typed settings based on action type
|
|
1939
|
+
*
|
|
1940
|
+
* @generated from oneof artworking.v1.SubmitJobActionRequest.FileAction.action_settings
|
|
1941
|
+
*/
|
|
1942
|
+
actionSettings: {
|
|
1943
|
+
/**
|
|
1944
|
+
* @generated from field: artworking.v1.FileApprovalSettings file_approval_settings = 11;
|
|
1945
|
+
*/
|
|
1946
|
+
value: FileApprovalSettings;
|
|
1947
|
+
case: "fileApprovalSettings";
|
|
1948
|
+
} | {
|
|
1949
|
+
/**
|
|
1950
|
+
* @generated from field: artworking.v1.FileSubmitSettings file_submit_settings = 12;
|
|
1951
|
+
*/
|
|
1952
|
+
value: FileSubmitSettings;
|
|
1953
|
+
case: "fileSubmitSettings";
|
|
1954
|
+
} | {
|
|
1955
|
+
case: undefined;
|
|
1956
|
+
value?: undefined;
|
|
1957
|
+
};
|
|
1854
1958
|
constructor(data?: PartialMessage<SubmitJobActionRequest_FileAction>);
|
|
1855
1959
|
static readonly runtime: typeof proto3;
|
|
1856
1960
|
static readonly typeName = "artworking.v1.SubmitJobActionRequest.FileAction";
|
|
@@ -1916,6 +2020,33 @@ export declare class SubmitJobActionRequest_JobActionItem extends Message<Submit
|
|
|
1916
2020
|
additionalInfo: {
|
|
1917
2021
|
[key: string]: string;
|
|
1918
2022
|
};
|
|
2023
|
+
/**
|
|
2024
|
+
* Typed settings based on action type
|
|
2025
|
+
*
|
|
2026
|
+
* @generated from oneof artworking.v1.SubmitJobActionRequest.JobActionItem.action_settings
|
|
2027
|
+
*/
|
|
2028
|
+
actionSettings: {
|
|
2029
|
+
/**
|
|
2030
|
+
* @generated from field: artworking.v1.ProofSubmitSettings proof_submit_settings = 10;
|
|
2031
|
+
*/
|
|
2032
|
+
value: ProofSubmitSettings;
|
|
2033
|
+
case: "proofSubmitSettings";
|
|
2034
|
+
} | {
|
|
2035
|
+
/**
|
|
2036
|
+
* @generated from field: artworking.v1.CompleteJobSettings complete_job_settings = 11;
|
|
2037
|
+
*/
|
|
2038
|
+
value: CompleteJobSettings;
|
|
2039
|
+
case: "completeJobSettings";
|
|
2040
|
+
} | {
|
|
2041
|
+
/**
|
|
2042
|
+
* @generated from field: artworking.v1.ArtworkUploadSettings artwork_upload_settings = 12;
|
|
2043
|
+
*/
|
|
2044
|
+
value: ArtworkUploadSettings;
|
|
2045
|
+
case: "artworkUploadSettings";
|
|
2046
|
+
} | {
|
|
2047
|
+
case: undefined;
|
|
2048
|
+
value?: undefined;
|
|
2049
|
+
};
|
|
1919
2050
|
constructor(data?: PartialMessage<SubmitJobActionRequest_JobActionItem>);
|
|
1920
2051
|
static readonly runtime: typeof proto3;
|
|
1921
2052
|
static readonly typeName = "artworking.v1.SubmitJobActionRequest.JobActionItem";
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
7
|
+
exports.GetJobByIdsRequest = exports.GetJobByCustomUIDResponse = exports.GetJobByCustomUIDRequest = exports.GetJobByUriResponse = exports.GetJobByUriRequest = exports.GetJobByIdResponse = exports.GetJobByIdRequest = exports.GetDistinctFieldMatchesResponse = exports.GetDistinctFieldMatchesRequest = exports.FindJobResponse = exports.FindJobRequest = exports.FilterJobRequestFilter = exports.BulkDeleteJobsResponse_Error = exports.BulkDeleteJobsResponse = exports.BulkDeleteJobsRequest = exports.DeleteJobResponse = exports.DeleteJobRequest = exports.SetJobSettingsResponse = exports.SetJobSettingsRequest = exports.PromoteTempJobToActiveResponse = exports.PromoteTempJobToActiveRequest = exports.UpdateJobResponse = exports.UpdateJobRequest = exports.ExternalLink = exports.JobConfig = exports.FlowConfig = exports.Job = exports.ArtworkMessage = exports.ArtworkStateHistoryEntry = exports.Proofs = exports.SelectedFileRequirement_Meta = exports.SelectedFileRequirement = exports.RejectionReasons = exports.ArtworkItem = exports.DraftAction = exports.ArtworkUploadSettings = exports.CompleteJobSettings = exports.FileSubmitSettings = exports.FileApprovalSettings = exports.ProofSubmitSettings = exports.ArtworkRejectionReason = exports.JobFilterCondition = exports.JobFilterType = exports.JobType = exports.LeadtimeLengthUnit = exports.FileActionType = exports.ArtworkItemState = exports.JobAction = exports.ArtworkState = exports.ArtworkActor = void 0;
|
|
8
|
+
exports.ClearDraftActionRequest = exports.GetDraftActionResponse = exports.GetDraftActionRequest = exports.UpsertDraftActionResponse = exports.UpsertDraftActionRequest = exports.Testing = exports.ClearDraftActionsResponse = exports.ClearDraftActionsRequest = exports.ChangeJobTypeResponse = exports.ChangeJobTypeRequest = exports.AddJobToJobGroupResponse = exports.AddJobToJobGroupRequest = exports.GetJobTypeCountsResponse = exports.GetJobTypeCountsRequest = exports.CompanyJobCountResponse = exports.CompanyJobCountRequest = exports.CustomerJobCountResponse = exports.CustomerJobCountRequest = exports.SetMeasurementUnitResponse = exports.SetMeasurementUnitRequest = exports.GetAllMediaItemsForJobResponse = exports.GetAllMediaItemsForJobRequest = exports.GetJobStateResponse = exports.GetJobStateRequest = exports.ChangeAllContactsJobsResponse = exports.ChangeAllContactsJobsRequest = exports.ChangeJobsContactResponse = exports.ChangeJobsContactRequest = exports.AddInternalJobNoteResponse = exports.AddInternalJobNoteRequest = exports.MarkAsCompleteResponse = exports.MarkAsCompleteRequest = exports.GetJobFilterSummaryResponse = exports.GetJobFilterSummaryRequest = exports.JobFilterSummary = exports.GetJobStatsResponse = exports.GetJobStatsRequest = exports.JobStats = exports.SubmitBulkJobActionResponse_BulkActionResults = exports.SubmitBulkJobActionResponse_BulkActionResultFailure = exports.SubmitBulkJobActionResponse = exports.SubmitBulkJobActionRequest_JobActionItem = exports.SubmitBulkJobActionRequest = exports.SubmitJobActionResponse = exports.SubmitJobActionRequest_JobActionItem = exports.SubmitJobActionRequest_FileAction = exports.SubmitJobActionRequest = exports.GetJobRejectionReasonListResponse = exports.GetJobRejectionReasonListRequest = exports.GetJobByIdsResponse = void 0;
|
|
9
|
+
exports.ListDraftActionsResponse = exports.ListDraftActionsRequest = exports.ClearDraftActionResponse = void 0;
|
|
9
10
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
11
|
const media_pb_js_1 = require("../../media/v1/media_pb.js");
|
|
11
12
|
const imagetask_pb_js_1 = require("./imagetask_pb.js");
|
|
@@ -717,6 +718,147 @@ ArtworkRejectionReason.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
717
718
|
{ no: 1, name: "reason_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
718
719
|
{ no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
719
720
|
]);
|
|
721
|
+
/**
|
|
722
|
+
* Typed settings for JobActionTypeProofSubmit
|
|
723
|
+
*
|
|
724
|
+
* @generated from message artworking.v1.ProofSubmitSettings
|
|
725
|
+
*/
|
|
726
|
+
class ProofSubmitSettings extends protobuf_1.Message {
|
|
727
|
+
constructor(data) {
|
|
728
|
+
super();
|
|
729
|
+
/**
|
|
730
|
+
* @generated from field: bool enable_flipbook = 1;
|
|
731
|
+
*/
|
|
732
|
+
this.enableFlipbook = false;
|
|
733
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
734
|
+
}
|
|
735
|
+
static fromBinary(bytes, options) {
|
|
736
|
+
return new ProofSubmitSettings().fromBinary(bytes, options);
|
|
737
|
+
}
|
|
738
|
+
static fromJson(jsonValue, options) {
|
|
739
|
+
return new ProofSubmitSettings().fromJson(jsonValue, options);
|
|
740
|
+
}
|
|
741
|
+
static fromJsonString(jsonString, options) {
|
|
742
|
+
return new ProofSubmitSettings().fromJsonString(jsonString, options);
|
|
743
|
+
}
|
|
744
|
+
static equals(a, b) {
|
|
745
|
+
return protobuf_1.proto3.util.equals(ProofSubmitSettings, a, b);
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
exports.ProofSubmitSettings = ProofSubmitSettings;
|
|
749
|
+
ProofSubmitSettings.runtime = protobuf_1.proto3;
|
|
750
|
+
ProofSubmitSettings.typeName = "artworking.v1.ProofSubmitSettings";
|
|
751
|
+
ProofSubmitSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
752
|
+
{ no: 1, name: "enable_flipbook", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
753
|
+
]);
|
|
754
|
+
/**
|
|
755
|
+
* Typed settings for FileActionTypeApprove
|
|
756
|
+
*
|
|
757
|
+
* @generated from message artworking.v1.FileApprovalSettings
|
|
758
|
+
*/
|
|
759
|
+
class FileApprovalSettings extends protobuf_1.Message {
|
|
760
|
+
constructor(data) {
|
|
761
|
+
super();
|
|
762
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
763
|
+
}
|
|
764
|
+
static fromBinary(bytes, options) {
|
|
765
|
+
return new FileApprovalSettings().fromBinary(bytes, options);
|
|
766
|
+
}
|
|
767
|
+
static fromJson(jsonValue, options) {
|
|
768
|
+
return new FileApprovalSettings().fromJson(jsonValue, options);
|
|
769
|
+
}
|
|
770
|
+
static fromJsonString(jsonString, options) {
|
|
771
|
+
return new FileApprovalSettings().fromJsonString(jsonString, options);
|
|
772
|
+
}
|
|
773
|
+
static equals(a, b) {
|
|
774
|
+
return protobuf_1.proto3.util.equals(FileApprovalSettings, a, b);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
exports.FileApprovalSettings = FileApprovalSettings;
|
|
778
|
+
FileApprovalSettings.runtime = protobuf_1.proto3;
|
|
779
|
+
FileApprovalSettings.typeName = "artworking.v1.FileApprovalSettings";
|
|
780
|
+
FileApprovalSettings.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
781
|
+
/**
|
|
782
|
+
* Typed settings for FileActionTypeSubmit
|
|
783
|
+
*
|
|
784
|
+
* @generated from message artworking.v1.FileSubmitSettings
|
|
785
|
+
*/
|
|
786
|
+
class FileSubmitSettings extends protobuf_1.Message {
|
|
787
|
+
constructor(data) {
|
|
788
|
+
super();
|
|
789
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
790
|
+
}
|
|
791
|
+
static fromBinary(bytes, options) {
|
|
792
|
+
return new FileSubmitSettings().fromBinary(bytes, options);
|
|
793
|
+
}
|
|
794
|
+
static fromJson(jsonValue, options) {
|
|
795
|
+
return new FileSubmitSettings().fromJson(jsonValue, options);
|
|
796
|
+
}
|
|
797
|
+
static fromJsonString(jsonString, options) {
|
|
798
|
+
return new FileSubmitSettings().fromJsonString(jsonString, options);
|
|
799
|
+
}
|
|
800
|
+
static equals(a, b) {
|
|
801
|
+
return protobuf_1.proto3.util.equals(FileSubmitSettings, a, b);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
exports.FileSubmitSettings = FileSubmitSettings;
|
|
805
|
+
FileSubmitSettings.runtime = protobuf_1.proto3;
|
|
806
|
+
FileSubmitSettings.typeName = "artworking.v1.FileSubmitSettings";
|
|
807
|
+
FileSubmitSettings.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
808
|
+
/**
|
|
809
|
+
* Typed settings for JobActionTypeComplete
|
|
810
|
+
*
|
|
811
|
+
* @generated from message artworking.v1.CompleteJobSettings
|
|
812
|
+
*/
|
|
813
|
+
class CompleteJobSettings extends protobuf_1.Message {
|
|
814
|
+
constructor(data) {
|
|
815
|
+
super();
|
|
816
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
817
|
+
}
|
|
818
|
+
static fromBinary(bytes, options) {
|
|
819
|
+
return new CompleteJobSettings().fromBinary(bytes, options);
|
|
820
|
+
}
|
|
821
|
+
static fromJson(jsonValue, options) {
|
|
822
|
+
return new CompleteJobSettings().fromJson(jsonValue, options);
|
|
823
|
+
}
|
|
824
|
+
static fromJsonString(jsonString, options) {
|
|
825
|
+
return new CompleteJobSettings().fromJsonString(jsonString, options);
|
|
826
|
+
}
|
|
827
|
+
static equals(a, b) {
|
|
828
|
+
return protobuf_1.proto3.util.equals(CompleteJobSettings, a, b);
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
exports.CompleteJobSettings = CompleteJobSettings;
|
|
832
|
+
CompleteJobSettings.runtime = protobuf_1.proto3;
|
|
833
|
+
CompleteJobSettings.typeName = "artworking.v1.CompleteJobSettings";
|
|
834
|
+
CompleteJobSettings.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
835
|
+
/**
|
|
836
|
+
* Typed settings for JobActionUploadArtwork
|
|
837
|
+
*
|
|
838
|
+
* @generated from message artworking.v1.ArtworkUploadSettings
|
|
839
|
+
*/
|
|
840
|
+
class ArtworkUploadSettings extends protobuf_1.Message {
|
|
841
|
+
constructor(data) {
|
|
842
|
+
super();
|
|
843
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
844
|
+
}
|
|
845
|
+
static fromBinary(bytes, options) {
|
|
846
|
+
return new ArtworkUploadSettings().fromBinary(bytes, options);
|
|
847
|
+
}
|
|
848
|
+
static fromJson(jsonValue, options) {
|
|
849
|
+
return new ArtworkUploadSettings().fromJson(jsonValue, options);
|
|
850
|
+
}
|
|
851
|
+
static fromJsonString(jsonString, options) {
|
|
852
|
+
return new ArtworkUploadSettings().fromJsonString(jsonString, options);
|
|
853
|
+
}
|
|
854
|
+
static equals(a, b) {
|
|
855
|
+
return protobuf_1.proto3.util.equals(ArtworkUploadSettings, a, b);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
exports.ArtworkUploadSettings = ArtworkUploadSettings;
|
|
859
|
+
ArtworkUploadSettings.runtime = protobuf_1.proto3;
|
|
860
|
+
ArtworkUploadSettings.typeName = "artworking.v1.ArtworkUploadSettings";
|
|
861
|
+
ArtworkUploadSettings.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
|
720
862
|
/**
|
|
721
863
|
* @generated from message artworking.v1.DraftAction
|
|
722
864
|
*/
|
|
@@ -1031,6 +1173,7 @@ Proofs.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1031
1173
|
{ no: 3, name: "media_items", kind: "message", T: media_pb_js_1.Media, repeated: true },
|
|
1032
1174
|
{ no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1033
1175
|
{ no: 5, name: "allow_download", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
1176
|
+
{ no: 6, name: "settings", kind: "message", T: ProofSubmitSettings },
|
|
1034
1177
|
]);
|
|
1035
1178
|
/**
|
|
1036
1179
|
* @generated from message artworking.v1.ArtworkStateHistoryEntry
|
|
@@ -2491,6 +2634,12 @@ class SubmitJobActionRequest_FileAction extends protobuf_1.Message {
|
|
|
2491
2634
|
* @generated from field: repeated artworking.v1.FileActionType disabled_file_actions = 5;
|
|
2492
2635
|
*/
|
|
2493
2636
|
this.disabledFileActions = [];
|
|
2637
|
+
/**
|
|
2638
|
+
* Typed settings based on action type
|
|
2639
|
+
*
|
|
2640
|
+
* @generated from oneof artworking.v1.SubmitJobActionRequest.FileAction.action_settings
|
|
2641
|
+
*/
|
|
2642
|
+
this.actionSettings = { case: undefined };
|
|
2494
2643
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2495
2644
|
}
|
|
2496
2645
|
static fromBinary(bytes, options) {
|
|
@@ -2517,6 +2666,8 @@ SubmitJobActionRequest_FileAction.fields = protobuf_1.proto3.util.newFieldList((
|
|
|
2517
2666
|
{ no: 5, name: "disabled_file_actions", kind: "enum", T: protobuf_1.proto3.getEnumType(FileActionType), repeated: true },
|
|
2518
2667
|
{ no: 6, name: "rejection_reasons", kind: "message", T: RejectionReasons },
|
|
2519
2668
|
{ no: 9, name: "image_task_action", kind: "message", T: imagetask_pb_js_1.ImageTaskAction },
|
|
2669
|
+
{ no: 11, name: "file_approval_settings", kind: "message", T: FileApprovalSettings, oneof: "action_settings" },
|
|
2670
|
+
{ no: 12, name: "file_submit_settings", kind: "message", T: FileSubmitSettings, oneof: "action_settings" },
|
|
2520
2671
|
]);
|
|
2521
2672
|
/**
|
|
2522
2673
|
* Action to perform on the job. Can include: - A list of file actions (when using JOB_ACTION_BATCHFILEUPDATE) - A specific job action (e.g., request artwork, submit proof) - Optional metadata like messages, disabled actions, and workflow configuration
|
|
@@ -2574,6 +2725,12 @@ class SubmitJobActionRequest_JobActionItem extends protobuf_1.Message {
|
|
|
2574
2725
|
* @generated from field: map<string, string> additional_info = 8;
|
|
2575
2726
|
*/
|
|
2576
2727
|
this.additionalInfo = {};
|
|
2728
|
+
/**
|
|
2729
|
+
* Typed settings based on action type
|
|
2730
|
+
*
|
|
2731
|
+
* @generated from oneof artworking.v1.SubmitJobActionRequest.JobActionItem.action_settings
|
|
2732
|
+
*/
|
|
2733
|
+
this.actionSettings = { case: undefined };
|
|
2577
2734
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
2578
2735
|
}
|
|
2579
2736
|
static fromBinary(bytes, options) {
|
|
@@ -2601,6 +2758,9 @@ SubmitJobActionRequest_JobActionItem.fields = protobuf_1.proto3.util.newFieldLis
|
|
|
2601
2758
|
{ no: 6, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2602
2759
|
{ no: 7, name: "customer_signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2603
2760
|
{ no: 8, name: "additional_info", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "scalar", T: 9 /* ScalarType.STRING */ } },
|
|
2761
|
+
{ no: 10, name: "proof_submit_settings", kind: "message", T: ProofSubmitSettings, oneof: "action_settings" },
|
|
2762
|
+
{ no: 11, name: "complete_job_settings", kind: "message", T: CompleteJobSettings, oneof: "action_settings" },
|
|
2763
|
+
{ no: 12, name: "artwork_upload_settings", kind: "message", T: ArtworkUploadSettings, oneof: "action_settings" },
|
|
2604
2764
|
]);
|
|
2605
2765
|
/**
|
|
2606
2766
|
* @generated from message artworking.v1.SubmitJobActionResponse
|