@routr/common 2.15.4 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -74,7 +74,7 @@ message UpdateACLRequest {
74
74
  // The ACL reference
75
75
  string ref = 1;
76
76
  // A friendly name for the ACL
77
- string name = 2;
77
+ optional string name = 2;
78
78
  // The list of allowed IP addresses
79
79
  repeated string allow = 3;
80
80
  // The list of denied IP addresses
@@ -103,19 +103,19 @@ message UpdateAgentRequest {
103
103
  // The unique identifier of the Agent
104
104
  string ref = 1;
105
105
  // The name of the Agent
106
- string name = 2;
106
+ optional string name = 2;
107
107
  // The privacy settings of the Agent
108
- Privacy privacy = 3;
108
+ optional Privacy privacy = 3;
109
109
  // The enabled status of the Agent
110
- bool enabled = 4;
110
+ optional bool enabled = 4;
111
111
  // Reference to the Domain of the Agent
112
- string domain_ref = 5;
112
+ optional string domain_ref = 5;
113
113
  // Reference to the Credentials of the Agent
114
- string credentials_ref = 6;
114
+ optional string credentials_ref = 6;
115
115
  // The maximum number of contacts that can be created for this Agent
116
- int32 max_contacts = 8;
116
+ optional int32 max_contacts = 8;
117
117
  // Value to override the expires requested by the Agent
118
- int32 expires = 9;
118
+ optional int32 expires = 9;
119
119
  // The extended attributes of the Agent
120
120
  .google.protobuf.Struct extended = 7;
121
121
  }
@@ -74,11 +74,11 @@ message UpdateCredentialsRequest {
74
74
  // The reference of the Credentials to update
75
75
  string ref = 1;
76
76
  // The new name of the Credentials
77
- string name = 2;
77
+ optional string name = 2;
78
78
  // The new username of the Credentials
79
- string username = 3;
79
+ optional string username = 3;
80
80
  // The new password of the Credentials
81
- string password = 4;
81
+ optional string password = 4;
82
82
  // The extended attributes for a set of Credentials
83
83
  .google.protobuf.Struct extended = 5;
84
84
  }
@@ -92,9 +92,9 @@ message UpdateDomainRequest {
92
92
  // The unique identifier of the Domain
93
93
  string ref = 1;
94
94
  // The name of the Domain
95
- string name = 2;
95
+ optional string name = 2;
96
96
  // Reference to the ACL to use for this Domain
97
- string access_control_list_ref = 3;
97
+ optional string access_control_list_ref = 3;
98
98
  // The egress_policy of the Domain
99
99
  repeated EgressPolicy egress_policies = 4;
100
100
  // The extended attributes of the Domain
@@ -109,15 +109,15 @@ message UpdateNumberRequest {
109
109
  // The unique identifier of the Number
110
110
  string ref = 1;
111
111
  // The name of the Number
112
- string name = 2;
112
+ optional string name = 2;
113
113
  // The aor_link of the Number
114
- string aor_link = 4;
114
+ optional string aor_link = 4;
115
115
  // The header to use for session affinity
116
- string session_affinity_header = 8;
116
+ optional string session_affinity_header = 8;
117
117
  // Extra headers to send to the trunk
118
118
  repeated ExtraHeader extra_headers = 9;
119
119
  // Reference to the trunk this number is associated with
120
- string trunk_ref = 10;
120
+ optional string trunk_ref = 10;
121
121
  // The extended attributes of the Number
122
122
  .google.protobuf.Struct extended = 11;
123
123
  }
@@ -120,25 +120,25 @@ message UpdatePeerRequest {
120
120
  // The unique identifier of the Peer
121
121
  string ref = 1;
122
122
  // The name of the Peer
123
- string name = 2;
123
+ optional string name = 2;
124
124
  // The address of record of the Peer
125
- string aor = 3;
125
+ optional string aor = 3;
126
126
  // The contact address of the Peer
127
- string contact_addr = 4;
127
+ optional string contact_addr = 4;
128
128
  // The load balancing algorithm of the Peer
129
- LoadBalancingAlgorithm balancing_algorithm = 5;
129
+ optional LoadBalancingAlgorithm balancing_algorithm = 5;
130
130
  // The session affinity of the Peer
131
- bool with_session_affinity = 6;
131
+ optional bool with_session_affinity = 6;
132
132
  // Reference to the ACL of the Peer
133
- string access_control_list_ref = 7;
133
+ optional string access_control_list_ref = 7;
134
134
  // Reference to the Credentials of the Peer
135
- string credentials_ref = 8;
135
+ optional string credentials_ref = 8;
136
136
  // The status of the Peer
137
- bool enabled = 9;
137
+ optional bool enabled = 9;
138
138
  // The maximum number of contacts that can be created for this Peer
139
- int32 max_contacts = 11;
139
+ optional int32 max_contacts = 11;
140
140
  // Value to override the expires requested by the Peer
141
- int32 expires = 12;
141
+ optional int32 expires = 12;
142
142
  // The extended attributes of the Peer
143
143
  .google.protobuf.Struct extended = 10;
144
144
  }
@@ -112,21 +112,21 @@ message CreateTrunkRequest {
112
112
  // The message for the Trunk.Update
113
113
  message UpdateTrunkRequest {
114
114
  // The API version of the Trunk
115
- string api_version = 1;
115
+ optional string api_version = 1;
116
116
  // The reference of the Trunk
117
117
  string ref = 2;
118
118
  // The name of the Trunk
119
- string name = 3;
119
+ optional string name = 3;
120
120
  // A flag to indicate if we should send a REGISTER request to the Trunk
121
- bool send_register = 4;
121
+ optional bool send_register = 4;
122
122
  // The URI for inbound requests
123
- string inbound_uri = 5;
123
+ optional string inbound_uri = 5;
124
124
  // Reference to the AccessControlList
125
- string access_control_list_ref = 6;
125
+ optional string access_control_list_ref = 6;
126
126
  // Reference to the inbound Credentials
127
- string inbound_credentials_ref = 7;
127
+ optional string inbound_credentials_ref = 7;
128
128
  // Reference to the outbound Credentials
129
- string outbound_credentials_ref = 8;
129
+ optional string outbound_credentials_ref = 8;
130
130
  // The list of URIs for the Trunk
131
131
  repeated TrunkURI uris = 9;
132
132
  // The extended attributes of the Trunk
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/common",
3
- "version": "2.15.4",
3
+ "version": "2.16.0",
4
4
  "description": "Common package",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/routr#readme",
@@ -53,5 +53,5 @@
53
53
  "devDependencies": {
54
54
  "@types/js-yaml": "^4.0.5"
55
55
  },
56
- "gitHead": "3d4a72191d5ac315429570e562d20fb5807cc942"
56
+ "gitHead": "db8a2eeb4b3f57a7f6b632d8d3378ffe53fc6cfe"
57
57
  }