Latest generation

This commit is contained in:
ci core model
2026-08-31 08:10:50 +00:00
parent d4b5ec178b
commit 237fd5bec2
96 changed files with 1171 additions and 1116 deletions

View File

@@ -491,9 +491,15 @@ export interface DateRestriction {
/**
* Date to use for computing the limitation.
*
* @generated from protobuf field: string RestrictionField = 2
* @generated from protobuf field: api.DateRestrictionField RestrictionField = 2
*/
RestrictionField: string;
RestrictionField: DateRestrictionField;
/**
* Metadata key to use for computing the limitation, if the restriction field is set to METADATA.
*
* @generated from protobuf field: string RestrictionMetadataKey = 4
*/
RestrictionMetadataKey: string;
/**
* Value of the restriction, in open days, to apply on the date field.
*
@@ -859,6 +865,31 @@ export enum DateRestrictionType {
*/
DATE_RESTRICTION_TYPE_FORBIDDEN = 3
}
/**
* @generated from protobuf enum api.DateRestrictionField
*/
export enum DateRestrictionField {
/**
* @generated from protobuf enum value: DATE_RESTRICTION_FIELD_UNKNOWN = 0;
*/
DATE_RESTRICTION_FIELD_UNKNOWN = 0,
/**
* @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_DELIVERY_DATE_TIME = 1;
*/
DATE_RESTRICTION_FIELD_REQUESTED_DELIVERY_DATE_TIME = 1,
/**
* @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_PICK_UP_DATE_TIME = 2;
*/
DATE_RESTRICTION_FIELD_REQUESTED_PICK_UP_DATE_TIME = 2,
/**
* @generated from protobuf enum value: DATE_RESTRICTION_FIELD_REQUESTED_SHIP_DATE_TIME = 3;
*/
DATE_RESTRICTION_FIELD_REQUESTED_SHIP_DATE_TIME = 3,
/**
* @generated from protobuf enum value: DATE_RESTRICTION_FIELD_METADATA = 4;
*/
DATE_RESTRICTION_FIELD_METADATA = 4
}
/**
* @generated from protobuf enum api.CommandIdentifierEntry
*/
@@ -911,6 +942,14 @@ export enum SlotAvailabilityReasonCode {
* @generated from protobuf enum value: SLOT_REASON_1200_AVAILABLE_AFTER_MAXIMUM_NOTICE_TIME = 1200;
*/
SLOT_REASON_1200_AVAILABLE_AFTER_MAXIMUM_NOTICE_TIME = 1200,
/**
* @generated from protobuf enum value: SLOT_REASON_1300_AVAILABLE_BEFORE_ORDER_NOTICE_TIME = 1300;
*/
SLOT_REASON_1300_AVAILABLE_BEFORE_ORDER_NOTICE_TIME = 1300,
/**
* @generated from protobuf enum value: SLOT_REASON_1400_AVAILABLE_AFTER_ORDER_NOTICE_TIME = 1400;
*/
SLOT_REASON_1400_AVAILABLE_AFTER_ORDER_NOTICE_TIME = 1400,
/**
* @generated from protobuf enum value: SLOT_REASON_2000_OVERBOOKED = 2000;
*/
@@ -923,6 +962,14 @@ export enum SlotAvailabilityReasonCode {
* @generated from protobuf enum value: SLOT_REASON_2200_OVERBOOKED_AFTER_MAXIMUM_NOTICE_TIME = 2200;
*/
SLOT_REASON_2200_OVERBOOKED_AFTER_MAXIMUM_NOTICE_TIME = 2200,
/**
* @generated from protobuf enum value: SLOT_REASON_2300_OVERBOOKED_BEFORE_ORDER_NOTICE_TIME = 2300;
*/
SLOT_REASON_2300_OVERBOOKED_BEFORE_ORDER_NOTICE_TIME = 2300,
/**
* @generated from protobuf enum value: SLOT_REASON_2400_OVERBOOKED_AFTER_ORDER_NOTICE_TIME = 2400;
*/
SLOT_REASON_2400_OVERBOOKED_AFTER_ORDER_NOTICE_TIME = 2400,
/**
* @generated from protobuf enum value: SLOT_REASON_3000_NO_CAPACITY_DEFINED = 3000;
*/
@@ -2016,10 +2063,10 @@ class DocumentByLanguage$Type extends MessageType<DocumentByLanguage> {
constructor() {
super("api.DocumentByLanguage", [
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the document" }, "n1validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" }, "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } } } },
{ no: 4, name: "URI", kind: "scalar", localName: "URI", jsonName: "URI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "URI of the document" } } },
{ no: 3, name: "LanguageCodeISO6391", kind: "scalar", localName: "LanguageCodeISO6391", jsonName: "LanguageCodeISO6391", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "2", maxLen: "3", languageIso639: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "<a href='https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes'>ISO 639 code</a> message language", example: "\"en\"" } } },
{ no: 5, name: "FileName", kind: "scalar", localName: "FileName", jsonName: "FileName", T: 9 /*ScalarType.STRING*/ },
{ no: 6, name: "LongURI", kind: "scalar", localName: "LongURI", jsonName: "LongURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Long URI of the document containing the file name in order to display the file name in a tab browser" }, "n1validate.rules": { string: { minLen: "1" } } } }
{ no: 6, name: "LongURI", kind: "scalar", localName: "LongURI", jsonName: "LongURI", T: 9 /*ScalarType.STRING*/, options: { "n1validate.rules": { string: { minLen: "1" } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Long URI of the document containing the file name in order to display the file name in a tab browser" } } }
]);
}
create(value?: PartialMessage<DocumentByLanguage>): DocumentByLanguage {
@@ -2270,14 +2317,16 @@ class DateRestriction$Type extends MessageType<DateRestriction> {
constructor() {
super("api.DateRestriction", [
{ no: 1, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["api.DateRestrictionType", DateRestrictionType], options: { "n1validate.rules": { enum: { definedOnly: true } } } },
{ no: 2, name: "RestrictionField", kind: "scalar", localName: "RestrictionField", jsonName: "RestrictionField", T: 9 /*ScalarType.STRING*/ },
{ no: 2, name: "RestrictionField", kind: "enum", localName: "RestrictionField", jsonName: "RestrictionField", T: () => ["api.DateRestrictionField", DateRestrictionField] },
{ no: 4, name: "RestrictionMetadataKey", kind: "scalar", localName: "RestrictionMetadataKey", jsonName: "RestrictionMetadataKey", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "RestrictionValue", kind: "scalar", localName: "RestrictionValue", jsonName: "RestrictionValue", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/, options: { "n1validate.rules": { int64: { gte: "1", ignoreEmpty: true } } } }
]);
}
create(value?: PartialMessage<DateRestriction>): DateRestriction {
const message = globalThis.Object.create((this.messagePrototype!));
message.Type = 0;
message.RestrictionField = "";
message.RestrictionField = 0;
message.RestrictionMetadataKey = "";
message.RestrictionValue = 0n;
if (value !== undefined)
reflectionMergePartial<DateRestriction>(this, message, value);
@@ -2291,8 +2340,11 @@ class DateRestriction$Type extends MessageType<DateRestriction> {
case /* api.DateRestrictionType Type */ 1:
message.Type = reader.int32();
break;
case /* string RestrictionField */ 2:
message.RestrictionField = reader.string();
case /* api.DateRestrictionField RestrictionField */ 2:
message.RestrictionField = reader.int32();
break;
case /* string RestrictionMetadataKey */ 4:
message.RestrictionMetadataKey = reader.string();
break;
case /* int64 RestrictionValue */ 3:
message.RestrictionValue = reader.int64().toBigInt();
@@ -2312,12 +2364,15 @@ class DateRestriction$Type extends MessageType<DateRestriction> {
/* api.DateRestrictionType Type = 1; */
if (message.Type !== 0)
writer.tag(1, WireType.Varint).int32(message.Type);
/* string RestrictionField = 2; */
if (message.RestrictionField !== "")
writer.tag(2, WireType.LengthDelimited).string(message.RestrictionField);
/* api.DateRestrictionField RestrictionField = 2; */
if (message.RestrictionField !== 0)
writer.tag(2, WireType.Varint).int32(message.RestrictionField);
/* int64 RestrictionValue = 3; */
if (message.RestrictionValue !== 0n)
writer.tag(3, WireType.Varint).int64(message.RestrictionValue);
/* string RestrictionMetadataKey = 4; */
if (message.RestrictionMetadataKey !== "")
writer.tag(4, WireType.LengthDelimited).string(message.RestrictionMetadataKey);
let u = options.writeUnknownFields;
if (u !== false)
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);