Skip to content

Commit

Permalink
Syncing protocol buffers (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
gi-wg2 authored Jan 31, 2025
1 parent 529f785 commit f438d50
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions wgtwo/common/v0/pagination.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
10 changes: 10 additions & 0 deletions wgtwo/consents/v0/consents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) = "";
}
}
Expand Down
5 changes: 5 additions & 0 deletions wgtwo/sms/v1/sms.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit f438d50

Please sign in to comment.