From f438d50278f5431bca27b12c8f49e936673af6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gunnar=20Inge=20Gj=C3=B8vik=20Sortland?= Date: Fri, 31 Jan 2025 11:46:30 +0100 Subject: [PATCH] Syncing protocol buffers (#69) --- wgtwo/common/v0/pagination.proto | 1 + wgtwo/consents/v0/consents.proto | 10 ++++++++++ wgtwo/sms/v1/sms.proto | 5 +++++ 3 files changed, 16 insertions(+) diff --git a/wgtwo/common/v0/pagination.proto b/wgtwo/common/v0/pagination.proto index 294bee2..03db6dd 100644 --- a/wgtwo/common/v0/pagination.proto +++ b/wgtwo/common/v0/pagination.proto @@ -9,6 +9,7 @@ option java_outer_classname = "PaginationProto"; message PaginationRequest { // 1 is reserved for 'parent' int32 page_size = 2; + // page_token is required to be base64 encoded. string page_token = 3; } diff --git a/wgtwo/consents/v0/consents.proto b/wgtwo/consents/v0/consents.proto index b2cc1e2..abf7571 100644 --- a/wgtwo/consents/v0/consents.proto +++ b/wgtwo/consents/v0/consents.proto @@ -47,8 +47,18 @@ service ConsentService { option (scope) = "subscription.consent:write"; } + // Retrieves a list of consents for a specific product. + // + // Pagination: + // - `pagination.page_size`: Specifies the number of consents to return per page. + // - Acceptable values range from 100 to 1000, inclusive. + // + // + // NOTE: THIS METHOD IS CURRENTLY IN BETA RELEASE + // See https://developer.cisco.com/docs/mobility-services/api-lifecycle rpc ListConsentsForProduct (ListConsentsForProductRequest) returns (ListConsentsForProductResponse) { + option (status) = BETA; option (scope) = ""; } } diff --git a/wgtwo/sms/v1/sms.proto b/wgtwo/sms/v1/sms.proto index 812233f..6fbfdbd 100644 --- a/wgtwo/sms/v1/sms.proto +++ b/wgtwo/sms/v1/sms.proto @@ -149,6 +149,11 @@ message SendDataToSubscriberRequest { // The application port for the message. ApplicationPort application_port = 6; + + // SMS protocol identifier. + // Only the least-significant 8 bits must be used, rest fixed at 0. + // Default is 0. + int32 protocol_identifier = 7; } /**