You've already forked npm-core-sdk
Latest generation
This commit is contained in:
10
partner.ts
10
partner.ts
@@ -162,11 +162,11 @@ class PartnerPayload$Type extends MessageType<PartnerPayload> {
|
||||
{ no: 1, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "api.dataRestrictionKey": "Movement,Executionflow,Handlingunit,Order,Item,Actor,Partner,Tracking", "api.kpiItems": { Items: [{ Context: "Actor", Group: "actor", Queryable: true }, { Context: "Stock", Group: "stock_extended", Queryable: true, CustomType: "SimpleAggregateFunction(anyLast,String)" }, { Context: "Executionflow", Group: "executionflow", Queryable: true }, { Context: "Handlingunit", Group: "handlingunit", Queryable: true }, { Context: "Order", Group: "order", Queryable: true }, { Context: "Partner", Group: "partner", Queryable: true }, { Context: "Tracking", Group: "tracking", Queryable: true }] } } },
|
||||
{ no: 2, name: "LegalStructure", kind: "scalar", localName: "LegalStructure", jsonName: "LegalStructure", T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 4, name: "Address", kind: "message", localName: "Address", jsonName: "Address", T: () => Address },
|
||||
{ no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => PartnerStatusStruct, options: { "api.enrichmentClear": "Tracking,Order,Executionflow", "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true } } },
|
||||
{ no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "api.viewType": { Types: [{ Context: "*", Type: "image" }] }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" } } },
|
||||
{ no: 8, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.enrichmentClear": "Tracking,Order,Executionflow", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" } } },
|
||||
{ no: 9, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "api.enrichmentClear": "Tracking,Order,Executionflow", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" } } },
|
||||
{ no: 10, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "api.enrichmentClear": "Tracking,Order,Executionflow", "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated since release 1.7. Roles allowed for these partner's users" } } }
|
||||
{ no: 6, name: "Status", kind: "message", localName: "Status", jsonName: "Status", T: () => PartnerStatusStruct, options: { "validate.rules": { message: { unauthorized: true } }, "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { readOnly: true }, "api.enrichmentClear": "Tracking,Order,Executionflow" } },
|
||||
{ no: 7, name: "PhotoURI", kind: "scalar", localName: "PhotoURI", jsonName: "PhotoURI", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { example: "\"https://reflex-visibility-forever.jpg\"" }, "api.viewType": { Types: [{ Context: "*", Type: "image" }] } } },
|
||||
{ no: 8, name: "Attachments", kind: "message", localName: "Attachments", jsonName: "Attachments", repeat: 2 /*RepeatType.UNPACKED*/, T: () => AttachmentSummary, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Number of attachments per type" }, "api.aggSkip": "AttachmentAdded,AttachmentRemoved", "api.enrichmentClear": "Tracking,Order,Executionflow" } },
|
||||
{ no: 9, name: "AttachmentNumber", kind: "scalar", localName: "AttachmentNumber", jsonName: "AttachmentNumber", T: 5 /*ScalarType.INT32*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Total number of attachments" }, "api.enrichmentClear": "Tracking,Order,Executionflow" } },
|
||||
{ no: 10, name: "AllowedRoles", kind: "scalar", localName: "AllowedRoles", jsonName: "AllowedRoles", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Deprecated since release 1.7. Roles allowed for these partner's users" }, "api.enrichmentClear": "Tracking,Order,Executionflow" } }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<PartnerPayload>): PartnerPayload {
|
||||
|
||||
Reference in New Issue
Block a user