Latest generation

This commit is contained in:
ci core model
2025-06-03 12:54:01 +00:00
parent 5565015a48
commit 807370952b
197 changed files with 446 additions and 446 deletions

120
shared.ts
View File

@@ -1,4 +1,4 @@
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name
// @generated by protobuf-ts 2.11.0 with parameter use_proto_field_name,keep_enum_prefix
// @generated from protobuf file "shared.proto" (package "api", syntax proto3)
// tslint:disable
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -2312,55 +2312,55 @@ export enum EntityType {
/**
* @generated from protobuf enum value: ENTITY_TYPE_UNKNOWN = 0;
*/
UNKNOWN = 0,
ENTITY_TYPE_UNKNOWN = 0,
/**
* Trade
*
* @generated from protobuf enum value: ENTITY_TYPE_ACTOR = 1;
*/
ACTOR = 1,
ENTITY_TYPE_ACTOR = 1,
/**
* @generated from protobuf enum value: ENTITY_TYPE_EXECUTIONFLOW = 2;
*/
EXECUTIONFLOW = 2,
ENTITY_TYPE_EXECUTIONFLOW = 2,
/**
* @generated from protobuf enum value: ENTITY_TYPE_FAMILY = 3;
*/
FAMILY = 3,
ENTITY_TYPE_FAMILY = 3,
/**
* @generated from protobuf enum value: ENTITY_TYPE_HANDLINGUNIT = 4;
*/
HANDLINGUNIT = 4,
ENTITY_TYPE_HANDLINGUNIT = 4,
/**
* @generated from protobuf enum value: ENTITY_TYPE_ITEM = 5;
*/
ITEM = 5,
ENTITY_TYPE_ITEM = 5,
/**
* @generated from protobuf enum value: ENTITY_TYPE_ORDER = 6;
*/
ORDER = 6,
ENTITY_TYPE_ORDER = 6,
/**
* @generated from protobuf enum value: ENTITY_TYPE_PARTNER = 7;
*/
PARTNER = 7,
ENTITY_TYPE_PARTNER = 7,
/**
* @generated from protobuf enum value: ENTITY_TYPE_STOCK = 8;
*/
STOCK = 8,
ENTITY_TYPE_STOCK = 8,
/**
* @generated from protobuf enum value: ENTITY_TYPE_TRACKING = 9;
*/
TRACKING = 9,
ENTITY_TYPE_TRACKING = 9,
/**
* @generated from protobuf enum value: ENTITY_TYPE_MOVEMENT = 11;
*/
MOVEMENT = 11,
ENTITY_TYPE_MOVEMENT = 11,
/**
* Collab
*
* @generated from protobuf enum value: ENTITY_TYPE_CLAIM = 10;
*/
CLAIM = 10
ENTITY_TYPE_CLAIM = 10
}
/**
* @generated from protobuf enum api.ClaimEntityType
@@ -2369,31 +2369,31 @@ export enum ClaimEntityType {
/**
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_UNKNOWN = 0;
*/
UNKNOWN = 0,
CLAIM_ENTITY_TYPE_UNKNOWN = 0,
/**
* Trade
*
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_ACTOR = 1;
*/
ACTOR = 1,
CLAIM_ENTITY_TYPE_ACTOR = 1,
/**
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_EXECUTIONFLOW = 2;
*/
EXECUTIONFLOW = 2,
CLAIM_ENTITY_TYPE_EXECUTIONFLOW = 2,
/**
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_HANDLINGUNIT = 3;
*/
HANDLINGUNIT = 3,
CLAIM_ENTITY_TYPE_HANDLINGUNIT = 3,
/**
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_ORDER = 4;
*/
ORDER = 4,
CLAIM_ENTITY_TYPE_ORDER = 4,
/**
* CLAIM_ENTITY_TYPE_TRACKING = 5;
*
* @generated from protobuf enum value: CLAIM_ENTITY_TYPE_MOVEMENT = 6;
*/
MOVEMENT = 6
CLAIM_ENTITY_TYPE_MOVEMENT = 6
}
/**
* @generated from protobuf enum api.ClaimSector
@@ -2402,27 +2402,27 @@ export enum ClaimSector {
/**
* @generated from protobuf enum value: CLAIM_SECTOR_UNKNOWN = 0;
*/
UNKNOWN = 0,
CLAIM_SECTOR_UNKNOWN = 0,
/**
* @generated from protobuf enum value: CLAIM_SECTOR_TRANSPORT = 1;
*/
TRANSPORT = 1,
CLAIM_SECTOR_TRANSPORT = 1,
/**
* @generated from protobuf enum value: CLAIM_SECTOR_WAREHOUSING = 2;
*/
WAREHOUSING = 2,
CLAIM_SECTOR_WAREHOUSING = 2,
/**
* @generated from protobuf enum value: CLAIM_SECTOR_DELIVERY = 3;
*/
DELIVERY = 3,
CLAIM_SECTOR_DELIVERY = 3,
/**
* @generated from protobuf enum value: CLAIM_SECTOR_FINANCIAL = 4;
*/
FINANCIAL = 4,
CLAIM_SECTOR_FINANCIAL = 4,
/**
* @generated from protobuf enum value: CLAIM_SECTOR_MISCELLANEOUS = 5;
*/
MISCELLANEOUS = 5
CLAIM_SECTOR_MISCELLANEOUS = 5
}
/**
* Enum representing different statuses of a claim.
@@ -2436,47 +2436,47 @@ export enum ClaimStatus {
/**
* @generated from protobuf enum value: CLAIM_STATUS_UNKNOWN = 0;
*/
UNKNOWN = 0,
CLAIM_STATUS_UNKNOWN = 0,
/**
* @generated from protobuf enum value: CLAIM_STATUS_START_NEW = 100;
*/
START_NEW = 100,
CLAIM_STATUS_START_NEW = 100,
/**
* @generated from protobuf enum value: CLAIM_STATUS_START_TODO = 101;
*/
START_TODO = 101,
CLAIM_STATUS_START_TODO = 101,
/**
* @generated from protobuf enum value: CLAIM_STATUS_INPROGRESS_TREATMENT = 200;
*/
INPROGRESS_TREATMENT = 200,
CLAIM_STATUS_INPROGRESS_TREATMENT = 200,
/**
* @generated from protobuf enum value: CLAIM_STATUS_INPROGRESS_RESOLUTION = 201;
*/
INPROGRESS_RESOLUTION = 201,
CLAIM_STATUS_INPROGRESS_RESOLUTION = 201,
/**
* @generated from protobuf enum value: CLAIM_STATUS_STANDBY_WAITINGFORINFO = 300;
*/
STANDBY_WAITINGFORINFO = 300,
CLAIM_STATUS_STANDBY_WAITINGFORINFO = 300,
/**
* @generated from protobuf enum value: CLAIM_STATUS_STANDBY_PAUSE = 301;
*/
STANDBY_PAUSE = 301,
CLAIM_STATUS_STANDBY_PAUSE = 301,
/**
* @generated from protobuf enum value: CLAIM_STATUS_END_CANCELLED = 400;
*/
END_CANCELLED = 400,
CLAIM_STATUS_END_CANCELLED = 400,
/**
* @generated from protobuf enum value: CLAIM_STATUS_END_SOLVED = 401;
*/
END_SOLVED = 401,
CLAIM_STATUS_END_SOLVED = 401,
/**
* @generated from protobuf enum value: CLAIM_STATUS_END_CLOSED = 402;
*/
END_CLOSED = 402,
CLAIM_STATUS_END_CLOSED = 402,
/**
* @generated from protobuf enum value: CLAIM_STATUS_END_REJECTED = 403;
*/
END_REJECTED = 403
CLAIM_STATUS_END_REJECTED = 403
}
/**
* Enum representing the criticality levels of a claim.
@@ -2488,23 +2488,23 @@ export enum ClaimCriticality {
/**
* @generated from protobuf enum value: CLAIM_CRITICALITY_UNKNOWN = 0;
*/
UNKNOWN = 0,
CLAIM_CRITICALITY_UNKNOWN = 0,
/**
* @generated from protobuf enum value: CLAIM_CRITICALITY_LOW = 10;
*/
LOW = 10,
CLAIM_CRITICALITY_LOW = 10,
/**
* @generated from protobuf enum value: CLAIM_CRITICALITY_MEDIUM = 20;
*/
MEDIUM = 20,
CLAIM_CRITICALITY_MEDIUM = 20,
/**
* @generated from protobuf enum value: CLAIM_CRITICALITY_HIGH = 30;
*/
HIGH = 30,
CLAIM_CRITICALITY_HIGH = 30,
/**
* @generated from protobuf enum value: CLAIM_CRITICALITY_BLOCKING = 40;
*/
BLOCKING = 40
CLAIM_CRITICALITY_BLOCKING = 40
}
/**
* @generated from protobuf enum api.TimeFormat
@@ -2587,39 +2587,39 @@ export enum ResourceType {
/**
* @generated from protobuf enum value: RESOURCE_TYPE_UNKNOWN = 0;
*/
UNKNOWN = 0,
RESOURCE_TYPE_UNKNOWN = 0,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_PLATFORM = 10;
*/
PLATFORM = 10,
RESOURCE_TYPE_PLATFORM = 10,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_ORGANISATION = 20;
*/
ORGANISATION = 20,
RESOURCE_TYPE_ORGANISATION = 20,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_PROJECT = 30;
*/
PROJECT = 30,
RESOURCE_TYPE_PROJECT = 30,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_PARTNERAPP = 40;
*/
PARTNERAPP = 40,
RESOURCE_TYPE_PARTNERAPP = 40,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_CONNECTION = 50;
*/
CONNECTION = 50,
RESOURCE_TYPE_CONNECTION = 50,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_ATTACHMENTTYPE = 60;
*/
ATTACHMENTTYPE = 60,
RESOURCE_TYPE_ATTACHMENTTYPE = 60,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_CLAIMTYPE = 70;
*/
CLAIMTYPE = 70,
RESOURCE_TYPE_CLAIMTYPE = 70,
/**
* @generated from protobuf enum value: RESOURCE_TYPE_SITE = 80;
*/
SITE = 80
RESOURCE_TYPE_SITE = 80
}
// @generated message type with reflection information, may provide speed optimized methods
class RequestHeader$Type extends MessageType<RequestHeader> {
@@ -6358,17 +6358,17 @@ class ClaimType$Type extends MessageType<ClaimType> {
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Reason", kind: "scalar", localName: "Reason", jsonName: "Reason", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "ReasonCode", kind: "scalar", localName: "ReasonCode", jsonName: "ReasonCode", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1", pattern: "^[a-zA-Z0-9]+$" } } } },
{ no: 5, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType, "CLAIM_ENTITY_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality, "CLAIM_CRITICALITY_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "EntityType", kind: "enum", localName: "EntityType", jsonName: "EntityType", T: () => ["api.ClaimEntityType", ClaimEntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 6, name: "DefaultCriticality", kind: "enum", localName: "DefaultCriticality", jsonName: "DefaultCriticality", T: () => ["api.ClaimCriticality", ClaimCriticality], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 7, name: "Transitions", kind: "message", localName: "Transitions", jsonName: "Transitions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTransition },
{ no: 8, name: "PossibleClosures", kind: "message", localName: "PossibleClosures", jsonName: "PossibleClosures", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ClaimTypeClosure },
{ no: 9, name: "CriticalityAllowedRoles", kind: "scalar", localName: "CriticalityAllowedRoles", jsonName: "CriticalityAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 10, name: "ReadAllowedRoles", kind: "scalar", localName: "ReadAllowedRoles", jsonName: "ReadAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 11, name: "WriteAllowedRoles", kind: "scalar", localName: "WriteAllowedRoles", jsonName: "WriteAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 12, name: "AssignAllowedRoles", kind: "scalar", localName: "AssignAllowedRoles", jsonName: "AssignAllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 13, name: "AllowedStatuses", kind: "enum", localName: "AllowedStatuses", jsonName: "AllowedStatuses", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"] },
{ no: 14, name: "DefaultStatus", kind: "enum", localName: "DefaultStatus", jsonName: "DefaultStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 15, name: "Sector", kind: "enum", localName: "Sector", jsonName: "Sector", T: () => ["api.ClaimSector", ClaimSector, "CLAIM_SECTOR_"] },
{ no: 13, name: "AllowedStatuses", kind: "enum", localName: "AllowedStatuses", jsonName: "AllowedStatuses", repeat: 1 /*RepeatType.PACKED*/, T: () => ["api.ClaimStatus", ClaimStatus] },
{ no: 14, name: "DefaultStatus", kind: "enum", localName: "DefaultStatus", jsonName: "DefaultStatus", T: () => ["api.ClaimStatus", ClaimStatus], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 15, name: "Sector", kind: "enum", localName: "Sector", jsonName: "Sector", T: () => ["api.ClaimSector", ClaimSector] },
{ no: 16, name: "DefaultAssignees", kind: "scalar", localName: "DefaultAssignees", jsonName: "DefaultAssignees", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
]);
}
@@ -6529,8 +6529,8 @@ export const ClaimType = new ClaimType$Type();
class ClaimTransition$Type extends MessageType<ClaimTransition> {
constructor() {
super("api.ClaimTransition", [
{ no: 1, name: "FromStatus", kind: "enum", localName: "FromStatus", jsonName: "FromStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 2, name: "ToStatus", kind: "enum", localName: "ToStatus", jsonName: "ToStatus", T: () => ["api.ClaimStatus", ClaimStatus, "CLAIM_STATUS_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 1, name: "FromStatus", kind: "enum", localName: "FromStatus", jsonName: "FromStatus", T: () => ["api.ClaimStatus", ClaimStatus], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 2, name: "ToStatus", kind: "enum", localName: "ToStatus", jsonName: "ToStatus", T: () => ["api.ClaimStatus", ClaimStatus], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 3, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
{ no: 4, name: "ShouldNotify", kind: "scalar", localName: "ShouldNotify", jsonName: "ShouldNotify", T: 8 /*ScalarType.BOOL*/ }
]);
@@ -6776,7 +6776,7 @@ class AttachmentType$Type extends MessageType<AttachmentType> {
{ no: 1, name: "ID", kind: "scalar", localName: "ID", jsonName: "ID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 3, name: "Code", kind: "scalar", localName: "Code", jsonName: "Code", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 4, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType, "ENTITY_TYPE_"], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 4, name: "Entity", kind: "enum", localName: "Entity", jsonName: "Entity", T: () => ["api.EntityType", EntityType], options: { "validate.rules": { enum: { definedOnly: true } } } },
{ no: 5, name: "Label", kind: "scalar", localName: "Label", jsonName: "Label", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 6, name: "SharePolicy", kind: "enum", localName: "SharePolicy", jsonName: "SharePolicy", T: () => ["api.SharePolicy", SharePolicy], options: { "validate.rules": { enum: { definedOnly: true } } } }
]);
@@ -7563,7 +7563,7 @@ class Scope$Type extends MessageType<Scope> {
super("api.Scope", [
{ no: 1, name: "Service", kind: "scalar", localName: "Service", jsonName: "Service", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
{ no: 2, name: "Method", kind: "scalar", localName: "Method", jsonName: "Method", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] },
{ no: 3, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType] },
{ no: 4, name: "PlatformReserved", kind: "scalar", localName: "PlatformReserved", jsonName: "PlatformReserved", T: 8 /*ScalarType.BOOL*/ },
{ no: 5, name: "TransientPermissions", kind: "message", localName: "TransientPermissions", jsonName: "TransientPermissions", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Permission },
{ no: 6, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/ },
@@ -7790,7 +7790,7 @@ export const Permission = new Permission$Type();
class UserUIPermissions$Type extends MessageType<UserUIPermissions> {
constructor() {
super("api.UserUIPermissions", [
{ no: 1, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType, "RESOURCE_TYPE_"] },
{ no: 1, name: "RscType", kind: "enum", localName: "RscType", jsonName: "RscType", T: () => ["api.ResourceType", ResourceType] },
{ no: 2, name: "RscID", kind: "scalar", localName: "RscID", jsonName: "RscID", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "Scopes", kind: "message", localName: "Scopes", jsonName: "Scopes", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Scope }
]);