@sellout/models 0.0.7 → 0.0.9
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.
- package/.dist/enums/EPurchasePortalModes.d.ts +4 -0
- package/.dist/enums/EPurchasePortalModes.js +9 -0
- package/.dist/enums/EPurchasePortalModes.js.map +1 -0
- package/.dist/enums/EPurchasePortalStatus.d.ts +4 -0
- package/.dist/enums/EPurchasePortalStatus.js +8 -0
- package/.dist/enums/EPurchasePortalStatus.js.map +1 -0
- package/.dist/graphql/fragments/event.fragment.d.ts +19 -0
- package/.dist/graphql/fragments/event.fragment.js +252 -0
- package/.dist/graphql/fragments/event.fragment.js.map +1 -0
- package/.dist/graphql/fragments/order.fragment.d.ts +9 -0
- package/.dist/graphql/fragments/order.fragment.js +60 -0
- package/.dist/graphql/fragments/order.fragment.js.map +1 -0
- package/.dist/graphql/mutations/forgotPassword.d.ts +2 -0
- package/.dist/graphql/mutations/forgotPassword.js +13 -0
- package/.dist/graphql/mutations/forgotPassword.js.map +1 -0
- package/.dist/graphql/mutations/login.d.ts +2 -0
- package/.dist/graphql/mutations/login.js +23 -0
- package/.dist/graphql/mutations/login.js.map +1 -0
- package/.dist/graphql/mutations/register.d.ts +2 -0
- package/.dist/graphql/mutations/register.js +23 -0
- package/.dist/graphql/mutations/register.js.map +1 -0
- package/.dist/graphql/queries/context.query.d.ts +2 -0
- package/.dist/graphql/queries/context.query.js +46 -0
- package/.dist/graphql/queries/context.query.js.map +1 -0
- package/.dist/graphql/queries/event.query.d.ts +2 -0
- package/.dist/graphql/queries/event.query.js +63 -0
- package/.dist/graphql/queries/event.query.js.map +1 -0
- package/.dist/graphql/queries/events.query.d.ts +2 -0
- package/.dist/graphql/queries/events.query.js +67 -0
- package/.dist/graphql/queries/events.query.js.map +1 -0
- package/.dist/graphql/queries/isSuperUser.query.d.ts +2 -0
- package/.dist/graphql/queries/isSuperUser.query.js +13 -0
- package/.dist/graphql/queries/isSuperUser.query.js.map +1 -0
- package/.dist/graphql/queries/order.query.d.ts +2 -0
- package/.dist/graphql/queries/order.query.js +98 -0
- package/.dist/graphql/queries/order.query.js.map +1 -0
- package/.dist/graphql/queries/orders.query.d.ts +2 -0
- package/.dist/graphql/queries/orders.query.js +61 -0
- package/.dist/graphql/queries/orders.query.js.map +1 -0
- package/.dist/interfaces/IOrder.d.ts +1 -0
- package/.dist/interfaces/IOrder.js.map +1 -1
- package/.dist/schemas/Order.d.ts +5 -0
- package/.dist/schemas/Order.js +5 -0
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/sellout-proto.js +1245 -0
- package/.dist/utils/OrderUtil.d.ts +18 -6
- package/.dist/utils/OrderUtil.js +114 -41
- package/.dist/utils/OrderUtil.js.map +1 -1
- package/package.json +6 -4
- package/src/enums/EPurchasePortalModes.ts +4 -0
- package/src/enums/EPurchasePortalStatus.ts +4 -0
- package/src/graphql/fragments/event.fragment.ts +270 -0
- package/src/graphql/fragments/order.fragment.ts +66 -0
- package/src/graphql/mutations/forgotPassword.ts +9 -0
- package/src/graphql/mutations/login.ts +19 -0
- package/src/graphql/mutations/register.ts +19 -0
- package/src/graphql/queries/context.query.ts +42 -0
- package/src/graphql/queries/event.query.ts +59 -0
- package/src/graphql/queries/events.query.ts +63 -0
- package/src/graphql/queries/isSuperUser.query.ts +9 -0
- package/src/graphql/queries/order.query.ts +94 -0
- package/src/graphql/queries/orders.query.ts +57 -0
- package/src/interfaces/IOrder.ts +2 -1
- package/src/proto/email.proto +2 -0
- package/src/proto/order.proto +3 -0
- package/src/proto/plivo.proto +31 -0
- package/src/schemas/Order.ts +5 -0
- package/src/utils/OrderUtil.ts +111 -72
- package/.dist/mongo/Address.d.ts +0 -58
- package/.dist/mongo/Address.js +0 -60
- package/.dist/mongo/Address.js.map +0 -1
- package/.dist/mongo/Metrics.d.ts +0 -131
- package/.dist/mongo/Metrics.js +0 -137
- package/.dist/mongo/Metrics.js.map +0 -1
package/.dist/sellout-proto.js
CHANGED
|
@@ -12223,6 +12223,7 @@ $root.Order = (function() {
|
|
|
12223
12223
|
* @property {string|null} [ipAddress] Order ipAddress
|
|
12224
12224
|
* @property {IAddress|null} [address] Order address
|
|
12225
12225
|
* @property {Array.<IOrderCustomField>|null} [customFields] Order customFields
|
|
12226
|
+
* @property {string|null} [refundReason] Order refundReason
|
|
12226
12227
|
*/
|
|
12227
12228
|
|
|
12228
12229
|
/**
|
|
@@ -12423,6 +12424,14 @@ $root.Order = (function() {
|
|
|
12423
12424
|
*/
|
|
12424
12425
|
Order.prototype.customFields = $util.emptyArray;
|
|
12425
12426
|
|
|
12427
|
+
/**
|
|
12428
|
+
* Order refundReason.
|
|
12429
|
+
* @member {string} refundReason
|
|
12430
|
+
* @memberof Order
|
|
12431
|
+
* @instance
|
|
12432
|
+
*/
|
|
12433
|
+
Order.prototype.refundReason = "";
|
|
12434
|
+
|
|
12426
12435
|
/**
|
|
12427
12436
|
* Creates a new Order instance using the specified properties.
|
|
12428
12437
|
* @function create
|
|
@@ -12498,6 +12507,8 @@ $root.Order = (function() {
|
|
|
12498
12507
|
if (message.customFields != null && message.customFields.length)
|
|
12499
12508
|
for (var i = 0; i < message.customFields.length; ++i)
|
|
12500
12509
|
$root.OrderCustomField.encode(message.customFields[i], writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
12510
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
12511
|
+
writer.uint32(/* id 22, wireType 2 =*/178).string(message.refundReason);
|
|
12501
12512
|
return writer;
|
|
12502
12513
|
};
|
|
12503
12514
|
|
|
@@ -12612,6 +12623,9 @@ $root.Order = (function() {
|
|
|
12612
12623
|
message.customFields = [];
|
|
12613
12624
|
message.customFields.push($root.OrderCustomField.decode(reader, reader.uint32()));
|
|
12614
12625
|
break;
|
|
12626
|
+
case 22:
|
|
12627
|
+
message.refundReason = reader.string();
|
|
12628
|
+
break;
|
|
12615
12629
|
default:
|
|
12616
12630
|
reader.skipType(tag & 7);
|
|
12617
12631
|
break;
|
|
@@ -12749,6 +12763,9 @@ $root.Order = (function() {
|
|
|
12749
12763
|
return "customFields." + error;
|
|
12750
12764
|
}
|
|
12751
12765
|
}
|
|
12766
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
12767
|
+
if (!$util.isString(message.refundReason))
|
|
12768
|
+
return "refundReason: string expected";
|
|
12752
12769
|
return null;
|
|
12753
12770
|
};
|
|
12754
12771
|
|
|
@@ -12855,6 +12872,8 @@ $root.Order = (function() {
|
|
|
12855
12872
|
message.customFields[i] = $root.OrderCustomField.fromObject(object.customFields[i]);
|
|
12856
12873
|
}
|
|
12857
12874
|
}
|
|
12875
|
+
if (object.refundReason != null)
|
|
12876
|
+
message.refundReason = String(object.refundReason);
|
|
12858
12877
|
return message;
|
|
12859
12878
|
};
|
|
12860
12879
|
|
|
@@ -12896,6 +12915,7 @@ $root.Order = (function() {
|
|
|
12896
12915
|
object.promotionCode = "";
|
|
12897
12916
|
object.ipAddress = "";
|
|
12898
12917
|
object.address = null;
|
|
12918
|
+
object.refundReason = "";
|
|
12899
12919
|
}
|
|
12900
12920
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
12901
12921
|
object._id = message._id;
|
|
@@ -12962,6 +12982,8 @@ $root.Order = (function() {
|
|
|
12962
12982
|
for (var j = 0; j < message.customFields.length; ++j)
|
|
12963
12983
|
object.customFields[j] = $root.OrderCustomField.toObject(message.customFields[j], options);
|
|
12964
12984
|
}
|
|
12985
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
12986
|
+
object.refundReason = message.refundReason;
|
|
12965
12987
|
return object;
|
|
12966
12988
|
};
|
|
12967
12989
|
|
|
@@ -15041,6 +15063,7 @@ $root.RefundOrderRequest = (function() {
|
|
|
15041
15063
|
* @property {Array.<string>|null} [ticketIds] RefundOrderRequest ticketIds
|
|
15042
15064
|
* @property {Array.<string>|null} [upgradeIds] RefundOrderRequest upgradeIds
|
|
15043
15065
|
* @property {string|null} [refundedBy] RefundOrderRequest refundedBy
|
|
15066
|
+
* @property {string|null} [refundReason] RefundOrderRequest refundReason
|
|
15044
15067
|
*/
|
|
15045
15068
|
|
|
15046
15069
|
/**
|
|
@@ -15116,6 +15139,14 @@ $root.RefundOrderRequest = (function() {
|
|
|
15116
15139
|
*/
|
|
15117
15140
|
RefundOrderRequest.prototype.refundedBy = "";
|
|
15118
15141
|
|
|
15142
|
+
/**
|
|
15143
|
+
* RefundOrderRequest refundReason.
|
|
15144
|
+
* @member {string} refundReason
|
|
15145
|
+
* @memberof RefundOrderRequest
|
|
15146
|
+
* @instance
|
|
15147
|
+
*/
|
|
15148
|
+
RefundOrderRequest.prototype.refundReason = "";
|
|
15149
|
+
|
|
15119
15150
|
/**
|
|
15120
15151
|
* Creates a new RefundOrderRequest instance using the specified properties.
|
|
15121
15152
|
* @function create
|
|
@@ -15156,6 +15187,8 @@ $root.RefundOrderRequest = (function() {
|
|
|
15156
15187
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.upgradeIds[i]);
|
|
15157
15188
|
if (message.refundedBy != null && message.hasOwnProperty("refundedBy"))
|
|
15158
15189
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.refundedBy);
|
|
15190
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
15191
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.refundReason);
|
|
15159
15192
|
return writer;
|
|
15160
15193
|
};
|
|
15161
15194
|
|
|
@@ -15215,6 +15248,9 @@ $root.RefundOrderRequest = (function() {
|
|
|
15215
15248
|
case 6:
|
|
15216
15249
|
message.refundedBy = reader.string();
|
|
15217
15250
|
break;
|
|
15251
|
+
case 7:
|
|
15252
|
+
message.refundReason = reader.string();
|
|
15253
|
+
break;
|
|
15218
15254
|
default:
|
|
15219
15255
|
reader.skipType(tag & 7);
|
|
15220
15256
|
break;
|
|
@@ -15279,6 +15315,9 @@ $root.RefundOrderRequest = (function() {
|
|
|
15279
15315
|
if (message.refundedBy != null && message.hasOwnProperty("refundedBy"))
|
|
15280
15316
|
if (!$util.isString(message.refundedBy))
|
|
15281
15317
|
return "refundedBy: string expected";
|
|
15318
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
15319
|
+
if (!$util.isString(message.refundReason))
|
|
15320
|
+
return "refundReason: string expected";
|
|
15282
15321
|
return null;
|
|
15283
15322
|
};
|
|
15284
15323
|
|
|
@@ -15318,6 +15357,8 @@ $root.RefundOrderRequest = (function() {
|
|
|
15318
15357
|
}
|
|
15319
15358
|
if (object.refundedBy != null)
|
|
15320
15359
|
message.refundedBy = String(object.refundedBy);
|
|
15360
|
+
if (object.refundReason != null)
|
|
15361
|
+
message.refundReason = String(object.refundReason);
|
|
15321
15362
|
return message;
|
|
15322
15363
|
};
|
|
15323
15364
|
|
|
@@ -15344,6 +15385,7 @@ $root.RefundOrderRequest = (function() {
|
|
|
15344
15385
|
object.orderId = "";
|
|
15345
15386
|
object.refundAmount = 0;
|
|
15346
15387
|
object.refundedBy = "";
|
|
15388
|
+
object.refundReason = "";
|
|
15347
15389
|
}
|
|
15348
15390
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
15349
15391
|
object.spanContext = message.spanContext;
|
|
@@ -15365,6 +15407,8 @@ $root.RefundOrderRequest = (function() {
|
|
|
15365
15407
|
}
|
|
15366
15408
|
if (message.refundedBy != null && message.hasOwnProperty("refundedBy"))
|
|
15367
15409
|
object.refundedBy = message.refundedBy;
|
|
15410
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
15411
|
+
object.refundReason = message.refundReason;
|
|
15368
15412
|
return object;
|
|
15369
15413
|
};
|
|
15370
15414
|
|
|
@@ -15695,6 +15739,7 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15695
15739
|
* @property {string|null} [eventId] RefundEventOrdersRequest eventId
|
|
15696
15740
|
* @property {string|null} [refundedBy] RefundEventOrdersRequest refundedBy
|
|
15697
15741
|
* @property {boolean|null} [dryRun] RefundEventOrdersRequest dryRun
|
|
15742
|
+
* @property {string|null} [refundReason] RefundEventOrdersRequest refundReason
|
|
15698
15743
|
*/
|
|
15699
15744
|
|
|
15700
15745
|
/**
|
|
@@ -15752,6 +15797,14 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15752
15797
|
*/
|
|
15753
15798
|
RefundEventOrdersRequest.prototype.dryRun = false;
|
|
15754
15799
|
|
|
15800
|
+
/**
|
|
15801
|
+
* RefundEventOrdersRequest refundReason.
|
|
15802
|
+
* @member {string} refundReason
|
|
15803
|
+
* @memberof RefundEventOrdersRequest
|
|
15804
|
+
* @instance
|
|
15805
|
+
*/
|
|
15806
|
+
RefundEventOrdersRequest.prototype.refundReason = "";
|
|
15807
|
+
|
|
15755
15808
|
/**
|
|
15756
15809
|
* Creates a new RefundEventOrdersRequest instance using the specified properties.
|
|
15757
15810
|
* @function create
|
|
@@ -15786,6 +15839,8 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15786
15839
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.refundedBy);
|
|
15787
15840
|
if (message.dryRun != null && message.hasOwnProperty("dryRun"))
|
|
15788
15841
|
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.dryRun);
|
|
15842
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
15843
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.refundReason);
|
|
15789
15844
|
return writer;
|
|
15790
15845
|
};
|
|
15791
15846
|
|
|
@@ -15835,6 +15890,9 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15835
15890
|
case 4:
|
|
15836
15891
|
message.dryRun = reader.bool();
|
|
15837
15892
|
break;
|
|
15893
|
+
case 5:
|
|
15894
|
+
message.refundReason = reader.string();
|
|
15895
|
+
break;
|
|
15838
15896
|
default:
|
|
15839
15897
|
reader.skipType(tag & 7);
|
|
15840
15898
|
break;
|
|
@@ -15885,6 +15943,9 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15885
15943
|
if (message.dryRun != null && message.hasOwnProperty("dryRun"))
|
|
15886
15944
|
if (typeof message.dryRun !== "boolean")
|
|
15887
15945
|
return "dryRun: boolean expected";
|
|
15946
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
15947
|
+
if (!$util.isString(message.refundReason))
|
|
15948
|
+
return "refundReason: string expected";
|
|
15888
15949
|
return null;
|
|
15889
15950
|
};
|
|
15890
15951
|
|
|
@@ -15910,6 +15971,8 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15910
15971
|
message.refundedBy = String(object.refundedBy);
|
|
15911
15972
|
if (object.dryRun != null)
|
|
15912
15973
|
message.dryRun = Boolean(object.dryRun);
|
|
15974
|
+
if (object.refundReason != null)
|
|
15975
|
+
message.refundReason = String(object.refundReason);
|
|
15913
15976
|
return message;
|
|
15914
15977
|
};
|
|
15915
15978
|
|
|
@@ -15932,6 +15995,7 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15932
15995
|
object.eventId = "";
|
|
15933
15996
|
object.refundedBy = "";
|
|
15934
15997
|
object.dryRun = false;
|
|
15998
|
+
object.refundReason = "";
|
|
15935
15999
|
}
|
|
15936
16000
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
15937
16001
|
object.spanContext = message.spanContext;
|
|
@@ -15943,6 +16007,8 @@ $root.RefundEventOrdersRequest = (function() {
|
|
|
15943
16007
|
object.refundedBy = message.refundedBy;
|
|
15944
16008
|
if (message.dryRun != null && message.hasOwnProperty("dryRun"))
|
|
15945
16009
|
object.dryRun = message.dryRun;
|
|
16010
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
16011
|
+
object.refundReason = message.refundReason;
|
|
15946
16012
|
return object;
|
|
15947
16013
|
};
|
|
15948
16014
|
|
|
@@ -24358,6 +24424,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24358
24424
|
* @property {string|null} [orderSubtotalRefunded] QueueOrderRefundEmailRequest orderSubtotalRefunded
|
|
24359
24425
|
* @property {string|null} [orderFeesRefunded] QueueOrderRefundEmailRequest orderFeesRefunded
|
|
24360
24426
|
* @property {string|null} [orderTotalRefunded] QueueOrderRefundEmailRequest orderTotalRefunded
|
|
24427
|
+
* @property {string|null} [refundReason] QueueOrderRefundEmailRequest refundReason
|
|
24361
24428
|
*/
|
|
24362
24429
|
|
|
24363
24430
|
/**
|
|
@@ -24592,6 +24659,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24592
24659
|
*/
|
|
24593
24660
|
QueueOrderRefundEmailRequest.prototype.orderTotalRefunded = "";
|
|
24594
24661
|
|
|
24662
|
+
/**
|
|
24663
|
+
* QueueOrderRefundEmailRequest refundReason.
|
|
24664
|
+
* @member {string} refundReason
|
|
24665
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
24666
|
+
* @instance
|
|
24667
|
+
*/
|
|
24668
|
+
QueueOrderRefundEmailRequest.prototype.refundReason = "";
|
|
24669
|
+
|
|
24595
24670
|
/**
|
|
24596
24671
|
* Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
|
|
24597
24672
|
* @function create
|
|
@@ -24671,6 +24746,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24671
24746
|
writer.uint32(/* id 25, wireType 2 =*/202).string(message.orderFeesRefunded);
|
|
24672
24747
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
24673
24748
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
24749
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
24750
|
+
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
24674
24751
|
return writer;
|
|
24675
24752
|
};
|
|
24676
24753
|
|
|
@@ -24788,6 +24865,9 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24788
24865
|
case 26:
|
|
24789
24866
|
message.orderTotalRefunded = reader.string();
|
|
24790
24867
|
break;
|
|
24868
|
+
case 27:
|
|
24869
|
+
message.refundReason = reader.string();
|
|
24870
|
+
break;
|
|
24791
24871
|
default:
|
|
24792
24872
|
reader.skipType(tag & 7);
|
|
24793
24873
|
break;
|
|
@@ -24910,6 +24990,9 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24910
24990
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
24911
24991
|
if (!$util.isString(message.orderTotalRefunded))
|
|
24912
24992
|
return "orderTotalRefunded: string expected";
|
|
24993
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
24994
|
+
if (!$util.isString(message.refundReason))
|
|
24995
|
+
return "refundReason: string expected";
|
|
24913
24996
|
return null;
|
|
24914
24997
|
};
|
|
24915
24998
|
|
|
@@ -24987,6 +25070,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
24987
25070
|
message.orderFeesRefunded = String(object.orderFeesRefunded);
|
|
24988
25071
|
if (object.orderTotalRefunded != null)
|
|
24989
25072
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
25073
|
+
if (object.refundReason != null)
|
|
25074
|
+
message.refundReason = String(object.refundReason);
|
|
24990
25075
|
return message;
|
|
24991
25076
|
};
|
|
24992
25077
|
|
|
@@ -25032,6 +25117,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
25032
25117
|
object.orderSubtotalRefunded = "";
|
|
25033
25118
|
object.orderFeesRefunded = "";
|
|
25034
25119
|
object.orderTotalRefunded = "";
|
|
25120
|
+
object.refundReason = "";
|
|
25035
25121
|
}
|
|
25036
25122
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
25037
25123
|
object.spanContext = message.spanContext;
|
|
@@ -25090,6 +25176,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
25090
25176
|
object.orderFeesRefunded = message.orderFeesRefunded;
|
|
25091
25177
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
25092
25178
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
25179
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
25180
|
+
object.refundReason = message.refundReason;
|
|
25093
25181
|
return object;
|
|
25094
25182
|
};
|
|
25095
25183
|
|
|
@@ -25140,6 +25228,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25140
25228
|
* @property {string|null} [orderSubtotalRefunded] QueueOrderCanceledEmailRequest orderSubtotalRefunded
|
|
25141
25229
|
* @property {string|null} [orderFeesRefunded] QueueOrderCanceledEmailRequest orderFeesRefunded
|
|
25142
25230
|
* @property {string|null} [orderTotalRefunded] QueueOrderCanceledEmailRequest orderTotalRefunded
|
|
25231
|
+
* @property {string|null} [refundReason] QueueOrderCanceledEmailRequest refundReason
|
|
25143
25232
|
*/
|
|
25144
25233
|
|
|
25145
25234
|
/**
|
|
@@ -25374,6 +25463,14 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25374
25463
|
*/
|
|
25375
25464
|
QueueOrderCanceledEmailRequest.prototype.orderTotalRefunded = "";
|
|
25376
25465
|
|
|
25466
|
+
/**
|
|
25467
|
+
* QueueOrderCanceledEmailRequest refundReason.
|
|
25468
|
+
* @member {string} refundReason
|
|
25469
|
+
* @memberof QueueOrderCanceledEmailRequest
|
|
25470
|
+
* @instance
|
|
25471
|
+
*/
|
|
25472
|
+
QueueOrderCanceledEmailRequest.prototype.refundReason = "";
|
|
25473
|
+
|
|
25377
25474
|
/**
|
|
25378
25475
|
* Creates a new QueueOrderCanceledEmailRequest instance using the specified properties.
|
|
25379
25476
|
* @function create
|
|
@@ -25453,6 +25550,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25453
25550
|
writer.uint32(/* id 25, wireType 2 =*/202).string(message.orderFeesRefunded);
|
|
25454
25551
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
25455
25552
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
25553
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
25554
|
+
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
25456
25555
|
return writer;
|
|
25457
25556
|
};
|
|
25458
25557
|
|
|
@@ -25570,6 +25669,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25570
25669
|
case 26:
|
|
25571
25670
|
message.orderTotalRefunded = reader.string();
|
|
25572
25671
|
break;
|
|
25672
|
+
case 27:
|
|
25673
|
+
message.refundReason = reader.string();
|
|
25674
|
+
break;
|
|
25573
25675
|
default:
|
|
25574
25676
|
reader.skipType(tag & 7);
|
|
25575
25677
|
break;
|
|
@@ -25692,6 +25794,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25692
25794
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
25693
25795
|
if (!$util.isString(message.orderTotalRefunded))
|
|
25694
25796
|
return "orderTotalRefunded: string expected";
|
|
25797
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
25798
|
+
if (!$util.isString(message.refundReason))
|
|
25799
|
+
return "refundReason: string expected";
|
|
25695
25800
|
return null;
|
|
25696
25801
|
};
|
|
25697
25802
|
|
|
@@ -25769,6 +25874,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25769
25874
|
message.orderFeesRefunded = String(object.orderFeesRefunded);
|
|
25770
25875
|
if (object.orderTotalRefunded != null)
|
|
25771
25876
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
25877
|
+
if (object.refundReason != null)
|
|
25878
|
+
message.refundReason = String(object.refundReason);
|
|
25772
25879
|
return message;
|
|
25773
25880
|
};
|
|
25774
25881
|
|
|
@@ -25814,6 +25921,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25814
25921
|
object.orderSubtotalRefunded = "";
|
|
25815
25922
|
object.orderFeesRefunded = "";
|
|
25816
25923
|
object.orderTotalRefunded = "";
|
|
25924
|
+
object.refundReason = "";
|
|
25817
25925
|
}
|
|
25818
25926
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
25819
25927
|
object.spanContext = message.spanContext;
|
|
@@ -25872,6 +25980,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
25872
25980
|
object.orderFeesRefunded = message.orderFeesRefunded;
|
|
25873
25981
|
if (message.orderTotalRefunded != null && message.hasOwnProperty("orderTotalRefunded"))
|
|
25874
25982
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
25983
|
+
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
25984
|
+
object.refundReason = message.refundReason;
|
|
25875
25985
|
return object;
|
|
25876
25986
|
};
|
|
25877
25987
|
|
|
@@ -46961,6 +47071,1141 @@ $root.OrganizationService = (function() {
|
|
|
46961
47071
|
return OrganizationService;
|
|
46962
47072
|
})();
|
|
46963
47073
|
|
|
47074
|
+
$root.SendPlivoSMSRequest = (function() {
|
|
47075
|
+
|
|
47076
|
+
/**
|
|
47077
|
+
* Properties of a SendPlivoSMSRequest.
|
|
47078
|
+
* @exports ISendPlivoSMSRequest
|
|
47079
|
+
* @interface ISendPlivoSMSRequest
|
|
47080
|
+
* @property {string|null} [spanContext] SendPlivoSMSRequest spanContext
|
|
47081
|
+
* @property {string|null} [phoneNumber] SendPlivoSMSRequest phoneNumber
|
|
47082
|
+
* @property {string|null} [message] SendPlivoSMSRequest message
|
|
47083
|
+
*/
|
|
47084
|
+
|
|
47085
|
+
/**
|
|
47086
|
+
* Constructs a new SendPlivoSMSRequest.
|
|
47087
|
+
* @exports SendPlivoSMSRequest
|
|
47088
|
+
* @classdesc Represents a SendPlivoSMSRequest.
|
|
47089
|
+
* @implements ISendPlivoSMSRequest
|
|
47090
|
+
* @constructor
|
|
47091
|
+
* @param {ISendPlivoSMSRequest=} [properties] Properties to set
|
|
47092
|
+
*/
|
|
47093
|
+
function SendPlivoSMSRequest(properties) {
|
|
47094
|
+
if (properties)
|
|
47095
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47096
|
+
if (properties[keys[i]] != null)
|
|
47097
|
+
this[keys[i]] = properties[keys[i]];
|
|
47098
|
+
}
|
|
47099
|
+
|
|
47100
|
+
/**
|
|
47101
|
+
* SendPlivoSMSRequest spanContext.
|
|
47102
|
+
* @member {string} spanContext
|
|
47103
|
+
* @memberof SendPlivoSMSRequest
|
|
47104
|
+
* @instance
|
|
47105
|
+
*/
|
|
47106
|
+
SendPlivoSMSRequest.prototype.spanContext = "";
|
|
47107
|
+
|
|
47108
|
+
/**
|
|
47109
|
+
* SendPlivoSMSRequest phoneNumber.
|
|
47110
|
+
* @member {string} phoneNumber
|
|
47111
|
+
* @memberof SendPlivoSMSRequest
|
|
47112
|
+
* @instance
|
|
47113
|
+
*/
|
|
47114
|
+
SendPlivoSMSRequest.prototype.phoneNumber = "";
|
|
47115
|
+
|
|
47116
|
+
/**
|
|
47117
|
+
* SendPlivoSMSRequest message.
|
|
47118
|
+
* @member {string} message
|
|
47119
|
+
* @memberof SendPlivoSMSRequest
|
|
47120
|
+
* @instance
|
|
47121
|
+
*/
|
|
47122
|
+
SendPlivoSMSRequest.prototype.message = "";
|
|
47123
|
+
|
|
47124
|
+
/**
|
|
47125
|
+
* Creates a new SendPlivoSMSRequest instance using the specified properties.
|
|
47126
|
+
* @function create
|
|
47127
|
+
* @memberof SendPlivoSMSRequest
|
|
47128
|
+
* @static
|
|
47129
|
+
* @param {ISendPlivoSMSRequest=} [properties] Properties to set
|
|
47130
|
+
* @returns {SendPlivoSMSRequest} SendPlivoSMSRequest instance
|
|
47131
|
+
*/
|
|
47132
|
+
SendPlivoSMSRequest.create = function create(properties) {
|
|
47133
|
+
return new SendPlivoSMSRequest(properties);
|
|
47134
|
+
};
|
|
47135
|
+
|
|
47136
|
+
/**
|
|
47137
|
+
* Encodes the specified SendPlivoSMSRequest message. Does not implicitly {@link SendPlivoSMSRequest.verify|verify} messages.
|
|
47138
|
+
* @function encode
|
|
47139
|
+
* @memberof SendPlivoSMSRequest
|
|
47140
|
+
* @static
|
|
47141
|
+
* @param {ISendPlivoSMSRequest} message SendPlivoSMSRequest message or plain object to encode
|
|
47142
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47143
|
+
* @returns {$protobuf.Writer} Writer
|
|
47144
|
+
*/
|
|
47145
|
+
SendPlivoSMSRequest.encode = function encode(message, writer) {
|
|
47146
|
+
if (!writer)
|
|
47147
|
+
writer = $Writer.create();
|
|
47148
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47149
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
47150
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47151
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.phoneNumber);
|
|
47152
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47153
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
|
|
47154
|
+
return writer;
|
|
47155
|
+
};
|
|
47156
|
+
|
|
47157
|
+
/**
|
|
47158
|
+
* Encodes the specified SendPlivoSMSRequest message, length delimited. Does not implicitly {@link SendPlivoSMSRequest.verify|verify} messages.
|
|
47159
|
+
* @function encodeDelimited
|
|
47160
|
+
* @memberof SendPlivoSMSRequest
|
|
47161
|
+
* @static
|
|
47162
|
+
* @param {ISendPlivoSMSRequest} message SendPlivoSMSRequest message or plain object to encode
|
|
47163
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47164
|
+
* @returns {$protobuf.Writer} Writer
|
|
47165
|
+
*/
|
|
47166
|
+
SendPlivoSMSRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47167
|
+
return this.encode(message, writer).ldelim();
|
|
47168
|
+
};
|
|
47169
|
+
|
|
47170
|
+
/**
|
|
47171
|
+
* Decodes a SendPlivoSMSRequest message from the specified reader or buffer.
|
|
47172
|
+
* @function decode
|
|
47173
|
+
* @memberof SendPlivoSMSRequest
|
|
47174
|
+
* @static
|
|
47175
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47176
|
+
* @param {number} [length] Message length if known beforehand
|
|
47177
|
+
* @returns {SendPlivoSMSRequest} SendPlivoSMSRequest
|
|
47178
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47179
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47180
|
+
*/
|
|
47181
|
+
SendPlivoSMSRequest.decode = function decode(reader, length) {
|
|
47182
|
+
if (!(reader instanceof $Reader))
|
|
47183
|
+
reader = $Reader.create(reader);
|
|
47184
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SendPlivoSMSRequest();
|
|
47185
|
+
while (reader.pos < end) {
|
|
47186
|
+
var tag = reader.uint32();
|
|
47187
|
+
switch (tag >>> 3) {
|
|
47188
|
+
case 0:
|
|
47189
|
+
message.spanContext = reader.string();
|
|
47190
|
+
break;
|
|
47191
|
+
case 1:
|
|
47192
|
+
message.phoneNumber = reader.string();
|
|
47193
|
+
break;
|
|
47194
|
+
case 2:
|
|
47195
|
+
message.message = reader.string();
|
|
47196
|
+
break;
|
|
47197
|
+
default:
|
|
47198
|
+
reader.skipType(tag & 7);
|
|
47199
|
+
break;
|
|
47200
|
+
}
|
|
47201
|
+
}
|
|
47202
|
+
return message;
|
|
47203
|
+
};
|
|
47204
|
+
|
|
47205
|
+
/**
|
|
47206
|
+
* Decodes a SendPlivoSMSRequest message from the specified reader or buffer, length delimited.
|
|
47207
|
+
* @function decodeDelimited
|
|
47208
|
+
* @memberof SendPlivoSMSRequest
|
|
47209
|
+
* @static
|
|
47210
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47211
|
+
* @returns {SendPlivoSMSRequest} SendPlivoSMSRequest
|
|
47212
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47213
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47214
|
+
*/
|
|
47215
|
+
SendPlivoSMSRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
47216
|
+
if (!(reader instanceof $Reader))
|
|
47217
|
+
reader = new $Reader(reader);
|
|
47218
|
+
return this.decode(reader, reader.uint32());
|
|
47219
|
+
};
|
|
47220
|
+
|
|
47221
|
+
/**
|
|
47222
|
+
* Verifies a SendPlivoSMSRequest message.
|
|
47223
|
+
* @function verify
|
|
47224
|
+
* @memberof SendPlivoSMSRequest
|
|
47225
|
+
* @static
|
|
47226
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47227
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47228
|
+
*/
|
|
47229
|
+
SendPlivoSMSRequest.verify = function verify(message) {
|
|
47230
|
+
if (typeof message !== "object" || message === null)
|
|
47231
|
+
return "object expected";
|
|
47232
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47233
|
+
if (!$util.isString(message.spanContext))
|
|
47234
|
+
return "spanContext: string expected";
|
|
47235
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47236
|
+
if (!$util.isString(message.phoneNumber))
|
|
47237
|
+
return "phoneNumber: string expected";
|
|
47238
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47239
|
+
if (!$util.isString(message.message))
|
|
47240
|
+
return "message: string expected";
|
|
47241
|
+
return null;
|
|
47242
|
+
};
|
|
47243
|
+
|
|
47244
|
+
/**
|
|
47245
|
+
* Creates a SendPlivoSMSRequest message from a plain object. Also converts values to their respective internal types.
|
|
47246
|
+
* @function fromObject
|
|
47247
|
+
* @memberof SendPlivoSMSRequest
|
|
47248
|
+
* @static
|
|
47249
|
+
* @param {Object.<string,*>} object Plain object
|
|
47250
|
+
* @returns {SendPlivoSMSRequest} SendPlivoSMSRequest
|
|
47251
|
+
*/
|
|
47252
|
+
SendPlivoSMSRequest.fromObject = function fromObject(object) {
|
|
47253
|
+
if (object instanceof $root.SendPlivoSMSRequest)
|
|
47254
|
+
return object;
|
|
47255
|
+
var message = new $root.SendPlivoSMSRequest();
|
|
47256
|
+
if (object.spanContext != null)
|
|
47257
|
+
message.spanContext = String(object.spanContext);
|
|
47258
|
+
if (object.phoneNumber != null)
|
|
47259
|
+
message.phoneNumber = String(object.phoneNumber);
|
|
47260
|
+
if (object.message != null)
|
|
47261
|
+
message.message = String(object.message);
|
|
47262
|
+
return message;
|
|
47263
|
+
};
|
|
47264
|
+
|
|
47265
|
+
/**
|
|
47266
|
+
* Creates a plain object from a SendPlivoSMSRequest message. Also converts values to other types if specified.
|
|
47267
|
+
* @function toObject
|
|
47268
|
+
* @memberof SendPlivoSMSRequest
|
|
47269
|
+
* @static
|
|
47270
|
+
* @param {SendPlivoSMSRequest} message SendPlivoSMSRequest
|
|
47271
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47272
|
+
* @returns {Object.<string,*>} Plain object
|
|
47273
|
+
*/
|
|
47274
|
+
SendPlivoSMSRequest.toObject = function toObject(message, options) {
|
|
47275
|
+
if (!options)
|
|
47276
|
+
options = {};
|
|
47277
|
+
var object = {};
|
|
47278
|
+
if (options.defaults) {
|
|
47279
|
+
object.spanContext = "";
|
|
47280
|
+
object.phoneNumber = "";
|
|
47281
|
+
object.message = "";
|
|
47282
|
+
}
|
|
47283
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47284
|
+
object.spanContext = message.spanContext;
|
|
47285
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47286
|
+
object.phoneNumber = message.phoneNumber;
|
|
47287
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47288
|
+
object.message = message.message;
|
|
47289
|
+
return object;
|
|
47290
|
+
};
|
|
47291
|
+
|
|
47292
|
+
/**
|
|
47293
|
+
* Converts this SendPlivoSMSRequest to JSON.
|
|
47294
|
+
* @function toJSON
|
|
47295
|
+
* @memberof SendPlivoSMSRequest
|
|
47296
|
+
* @instance
|
|
47297
|
+
* @returns {Object.<string,*>} JSON object
|
|
47298
|
+
*/
|
|
47299
|
+
SendPlivoSMSRequest.prototype.toJSON = function toJSON() {
|
|
47300
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47301
|
+
};
|
|
47302
|
+
|
|
47303
|
+
return SendPlivoSMSRequest;
|
|
47304
|
+
})();
|
|
47305
|
+
|
|
47306
|
+
$root.SendPlivoSMSResponse = (function() {
|
|
47307
|
+
|
|
47308
|
+
/**
|
|
47309
|
+
* Properties of a SendPlivoSMSResponse.
|
|
47310
|
+
* @exports ISendPlivoSMSResponse
|
|
47311
|
+
* @interface ISendPlivoSMSResponse
|
|
47312
|
+
* @property {StatusCode|null} [status] SendPlivoSMSResponse status
|
|
47313
|
+
* @property {Array.<IError>|null} [errors] SendPlivoSMSResponse errors
|
|
47314
|
+
*/
|
|
47315
|
+
|
|
47316
|
+
/**
|
|
47317
|
+
* Constructs a new SendPlivoSMSResponse.
|
|
47318
|
+
* @exports SendPlivoSMSResponse
|
|
47319
|
+
* @classdesc Represents a SendPlivoSMSResponse.
|
|
47320
|
+
* @implements ISendPlivoSMSResponse
|
|
47321
|
+
* @constructor
|
|
47322
|
+
* @param {ISendPlivoSMSResponse=} [properties] Properties to set
|
|
47323
|
+
*/
|
|
47324
|
+
function SendPlivoSMSResponse(properties) {
|
|
47325
|
+
this.errors = [];
|
|
47326
|
+
if (properties)
|
|
47327
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47328
|
+
if (properties[keys[i]] != null)
|
|
47329
|
+
this[keys[i]] = properties[keys[i]];
|
|
47330
|
+
}
|
|
47331
|
+
|
|
47332
|
+
/**
|
|
47333
|
+
* SendPlivoSMSResponse status.
|
|
47334
|
+
* @member {StatusCode} status
|
|
47335
|
+
* @memberof SendPlivoSMSResponse
|
|
47336
|
+
* @instance
|
|
47337
|
+
*/
|
|
47338
|
+
SendPlivoSMSResponse.prototype.status = 0;
|
|
47339
|
+
|
|
47340
|
+
/**
|
|
47341
|
+
* SendPlivoSMSResponse errors.
|
|
47342
|
+
* @member {Array.<IError>} errors
|
|
47343
|
+
* @memberof SendPlivoSMSResponse
|
|
47344
|
+
* @instance
|
|
47345
|
+
*/
|
|
47346
|
+
SendPlivoSMSResponse.prototype.errors = $util.emptyArray;
|
|
47347
|
+
|
|
47348
|
+
/**
|
|
47349
|
+
* Creates a new SendPlivoSMSResponse instance using the specified properties.
|
|
47350
|
+
* @function create
|
|
47351
|
+
* @memberof SendPlivoSMSResponse
|
|
47352
|
+
* @static
|
|
47353
|
+
* @param {ISendPlivoSMSResponse=} [properties] Properties to set
|
|
47354
|
+
* @returns {SendPlivoSMSResponse} SendPlivoSMSResponse instance
|
|
47355
|
+
*/
|
|
47356
|
+
SendPlivoSMSResponse.create = function create(properties) {
|
|
47357
|
+
return new SendPlivoSMSResponse(properties);
|
|
47358
|
+
};
|
|
47359
|
+
|
|
47360
|
+
/**
|
|
47361
|
+
* Encodes the specified SendPlivoSMSResponse message. Does not implicitly {@link SendPlivoSMSResponse.verify|verify} messages.
|
|
47362
|
+
* @function encode
|
|
47363
|
+
* @memberof SendPlivoSMSResponse
|
|
47364
|
+
* @static
|
|
47365
|
+
* @param {ISendPlivoSMSResponse} message SendPlivoSMSResponse message or plain object to encode
|
|
47366
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47367
|
+
* @returns {$protobuf.Writer} Writer
|
|
47368
|
+
*/
|
|
47369
|
+
SendPlivoSMSResponse.encode = function encode(message, writer) {
|
|
47370
|
+
if (!writer)
|
|
47371
|
+
writer = $Writer.create();
|
|
47372
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
47373
|
+
writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
|
|
47374
|
+
if (message.errors != null && message.errors.length)
|
|
47375
|
+
for (var i = 0; i < message.errors.length; ++i)
|
|
47376
|
+
$root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
47377
|
+
return writer;
|
|
47378
|
+
};
|
|
47379
|
+
|
|
47380
|
+
/**
|
|
47381
|
+
* Encodes the specified SendPlivoSMSResponse message, length delimited. Does not implicitly {@link SendPlivoSMSResponse.verify|verify} messages.
|
|
47382
|
+
* @function encodeDelimited
|
|
47383
|
+
* @memberof SendPlivoSMSResponse
|
|
47384
|
+
* @static
|
|
47385
|
+
* @param {ISendPlivoSMSResponse} message SendPlivoSMSResponse message or plain object to encode
|
|
47386
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47387
|
+
* @returns {$protobuf.Writer} Writer
|
|
47388
|
+
*/
|
|
47389
|
+
SendPlivoSMSResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47390
|
+
return this.encode(message, writer).ldelim();
|
|
47391
|
+
};
|
|
47392
|
+
|
|
47393
|
+
/**
|
|
47394
|
+
* Decodes a SendPlivoSMSResponse message from the specified reader or buffer.
|
|
47395
|
+
* @function decode
|
|
47396
|
+
* @memberof SendPlivoSMSResponse
|
|
47397
|
+
* @static
|
|
47398
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47399
|
+
* @param {number} [length] Message length if known beforehand
|
|
47400
|
+
* @returns {SendPlivoSMSResponse} SendPlivoSMSResponse
|
|
47401
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47402
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47403
|
+
*/
|
|
47404
|
+
SendPlivoSMSResponse.decode = function decode(reader, length) {
|
|
47405
|
+
if (!(reader instanceof $Reader))
|
|
47406
|
+
reader = $Reader.create(reader);
|
|
47407
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SendPlivoSMSResponse();
|
|
47408
|
+
while (reader.pos < end) {
|
|
47409
|
+
var tag = reader.uint32();
|
|
47410
|
+
switch (tag >>> 3) {
|
|
47411
|
+
case 0:
|
|
47412
|
+
message.status = reader.int32();
|
|
47413
|
+
break;
|
|
47414
|
+
case 1:
|
|
47415
|
+
if (!(message.errors && message.errors.length))
|
|
47416
|
+
message.errors = [];
|
|
47417
|
+
message.errors.push($root.Error.decode(reader, reader.uint32()));
|
|
47418
|
+
break;
|
|
47419
|
+
default:
|
|
47420
|
+
reader.skipType(tag & 7);
|
|
47421
|
+
break;
|
|
47422
|
+
}
|
|
47423
|
+
}
|
|
47424
|
+
return message;
|
|
47425
|
+
};
|
|
47426
|
+
|
|
47427
|
+
/**
|
|
47428
|
+
* Decodes a SendPlivoSMSResponse message from the specified reader or buffer, length delimited.
|
|
47429
|
+
* @function decodeDelimited
|
|
47430
|
+
* @memberof SendPlivoSMSResponse
|
|
47431
|
+
* @static
|
|
47432
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47433
|
+
* @returns {SendPlivoSMSResponse} SendPlivoSMSResponse
|
|
47434
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47435
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47436
|
+
*/
|
|
47437
|
+
SendPlivoSMSResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
47438
|
+
if (!(reader instanceof $Reader))
|
|
47439
|
+
reader = new $Reader(reader);
|
|
47440
|
+
return this.decode(reader, reader.uint32());
|
|
47441
|
+
};
|
|
47442
|
+
|
|
47443
|
+
/**
|
|
47444
|
+
* Verifies a SendPlivoSMSResponse message.
|
|
47445
|
+
* @function verify
|
|
47446
|
+
* @memberof SendPlivoSMSResponse
|
|
47447
|
+
* @static
|
|
47448
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47449
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47450
|
+
*/
|
|
47451
|
+
SendPlivoSMSResponse.verify = function verify(message) {
|
|
47452
|
+
if (typeof message !== "object" || message === null)
|
|
47453
|
+
return "object expected";
|
|
47454
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
47455
|
+
switch (message.status) {
|
|
47456
|
+
default:
|
|
47457
|
+
return "status: enum value expected";
|
|
47458
|
+
case 0:
|
|
47459
|
+
case 200:
|
|
47460
|
+
case 400:
|
|
47461
|
+
case 401:
|
|
47462
|
+
case 403:
|
|
47463
|
+
case 422:
|
|
47464
|
+
case 500:
|
|
47465
|
+
case 504:
|
|
47466
|
+
break;
|
|
47467
|
+
}
|
|
47468
|
+
if (message.errors != null && message.hasOwnProperty("errors")) {
|
|
47469
|
+
if (!Array.isArray(message.errors))
|
|
47470
|
+
return "errors: array expected";
|
|
47471
|
+
for (var i = 0; i < message.errors.length; ++i) {
|
|
47472
|
+
var error = $root.Error.verify(message.errors[i]);
|
|
47473
|
+
if (error)
|
|
47474
|
+
return "errors." + error;
|
|
47475
|
+
}
|
|
47476
|
+
}
|
|
47477
|
+
return null;
|
|
47478
|
+
};
|
|
47479
|
+
|
|
47480
|
+
/**
|
|
47481
|
+
* Creates a SendPlivoSMSResponse message from a plain object. Also converts values to their respective internal types.
|
|
47482
|
+
* @function fromObject
|
|
47483
|
+
* @memberof SendPlivoSMSResponse
|
|
47484
|
+
* @static
|
|
47485
|
+
* @param {Object.<string,*>} object Plain object
|
|
47486
|
+
* @returns {SendPlivoSMSResponse} SendPlivoSMSResponse
|
|
47487
|
+
*/
|
|
47488
|
+
SendPlivoSMSResponse.fromObject = function fromObject(object) {
|
|
47489
|
+
if (object instanceof $root.SendPlivoSMSResponse)
|
|
47490
|
+
return object;
|
|
47491
|
+
var message = new $root.SendPlivoSMSResponse();
|
|
47492
|
+
switch (object.status) {
|
|
47493
|
+
case "UNKNOWN_CODE":
|
|
47494
|
+
case 0:
|
|
47495
|
+
message.status = 0;
|
|
47496
|
+
break;
|
|
47497
|
+
case "OK":
|
|
47498
|
+
case 200:
|
|
47499
|
+
message.status = 200;
|
|
47500
|
+
break;
|
|
47501
|
+
case "BAD_REQUEST":
|
|
47502
|
+
case 400:
|
|
47503
|
+
message.status = 400;
|
|
47504
|
+
break;
|
|
47505
|
+
case "UNAUTHORIZED":
|
|
47506
|
+
case 401:
|
|
47507
|
+
message.status = 401;
|
|
47508
|
+
break;
|
|
47509
|
+
case "FORBIDDEN":
|
|
47510
|
+
case 403:
|
|
47511
|
+
message.status = 403;
|
|
47512
|
+
break;
|
|
47513
|
+
case "UNPROCESSABLE_ENTITY":
|
|
47514
|
+
case 422:
|
|
47515
|
+
message.status = 422;
|
|
47516
|
+
break;
|
|
47517
|
+
case "INTERNAL_SERVER_ERROR":
|
|
47518
|
+
case 500:
|
|
47519
|
+
message.status = 500;
|
|
47520
|
+
break;
|
|
47521
|
+
case "GATEWAY_TIMEOUT":
|
|
47522
|
+
case 504:
|
|
47523
|
+
message.status = 504;
|
|
47524
|
+
break;
|
|
47525
|
+
}
|
|
47526
|
+
if (object.errors) {
|
|
47527
|
+
if (!Array.isArray(object.errors))
|
|
47528
|
+
throw TypeError(".SendPlivoSMSResponse.errors: array expected");
|
|
47529
|
+
message.errors = [];
|
|
47530
|
+
for (var i = 0; i < object.errors.length; ++i) {
|
|
47531
|
+
if (typeof object.errors[i] !== "object")
|
|
47532
|
+
throw TypeError(".SendPlivoSMSResponse.errors: object expected");
|
|
47533
|
+
message.errors[i] = $root.Error.fromObject(object.errors[i]);
|
|
47534
|
+
}
|
|
47535
|
+
}
|
|
47536
|
+
return message;
|
|
47537
|
+
};
|
|
47538
|
+
|
|
47539
|
+
/**
|
|
47540
|
+
* Creates a plain object from a SendPlivoSMSResponse message. Also converts values to other types if specified.
|
|
47541
|
+
* @function toObject
|
|
47542
|
+
* @memberof SendPlivoSMSResponse
|
|
47543
|
+
* @static
|
|
47544
|
+
* @param {SendPlivoSMSResponse} message SendPlivoSMSResponse
|
|
47545
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47546
|
+
* @returns {Object.<string,*>} Plain object
|
|
47547
|
+
*/
|
|
47548
|
+
SendPlivoSMSResponse.toObject = function toObject(message, options) {
|
|
47549
|
+
if (!options)
|
|
47550
|
+
options = {};
|
|
47551
|
+
var object = {};
|
|
47552
|
+
if (options.arrays || options.defaults)
|
|
47553
|
+
object.errors = [];
|
|
47554
|
+
if (options.defaults)
|
|
47555
|
+
object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
|
|
47556
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
47557
|
+
object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
|
|
47558
|
+
if (message.errors && message.errors.length) {
|
|
47559
|
+
object.errors = [];
|
|
47560
|
+
for (var j = 0; j < message.errors.length; ++j)
|
|
47561
|
+
object.errors[j] = $root.Error.toObject(message.errors[j], options);
|
|
47562
|
+
}
|
|
47563
|
+
return object;
|
|
47564
|
+
};
|
|
47565
|
+
|
|
47566
|
+
/**
|
|
47567
|
+
* Converts this SendPlivoSMSResponse to JSON.
|
|
47568
|
+
* @function toJSON
|
|
47569
|
+
* @memberof SendPlivoSMSResponse
|
|
47570
|
+
* @instance
|
|
47571
|
+
* @returns {Object.<string,*>} JSON object
|
|
47572
|
+
*/
|
|
47573
|
+
SendPlivoSMSResponse.prototype.toJSON = function toJSON() {
|
|
47574
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47575
|
+
};
|
|
47576
|
+
|
|
47577
|
+
return SendPlivoSMSResponse;
|
|
47578
|
+
})();
|
|
47579
|
+
|
|
47580
|
+
$root.SendPlivoMMSRequest = (function() {
|
|
47581
|
+
|
|
47582
|
+
/**
|
|
47583
|
+
* Properties of a SendPlivoMMSRequest.
|
|
47584
|
+
* @exports ISendPlivoMMSRequest
|
|
47585
|
+
* @interface ISendPlivoMMSRequest
|
|
47586
|
+
* @property {string|null} [spanContext] SendPlivoMMSRequest spanContext
|
|
47587
|
+
* @property {string|null} [phoneNumber] SendPlivoMMSRequest phoneNumber
|
|
47588
|
+
* @property {string|null} [message] SendPlivoMMSRequest message
|
|
47589
|
+
* @property {string|null} [mediaUrl] SendPlivoMMSRequest mediaUrl
|
|
47590
|
+
*/
|
|
47591
|
+
|
|
47592
|
+
/**
|
|
47593
|
+
* Constructs a new SendPlivoMMSRequest.
|
|
47594
|
+
* @exports SendPlivoMMSRequest
|
|
47595
|
+
* @classdesc Represents a SendPlivoMMSRequest.
|
|
47596
|
+
* @implements ISendPlivoMMSRequest
|
|
47597
|
+
* @constructor
|
|
47598
|
+
* @param {ISendPlivoMMSRequest=} [properties] Properties to set
|
|
47599
|
+
*/
|
|
47600
|
+
function SendPlivoMMSRequest(properties) {
|
|
47601
|
+
if (properties)
|
|
47602
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47603
|
+
if (properties[keys[i]] != null)
|
|
47604
|
+
this[keys[i]] = properties[keys[i]];
|
|
47605
|
+
}
|
|
47606
|
+
|
|
47607
|
+
/**
|
|
47608
|
+
* SendPlivoMMSRequest spanContext.
|
|
47609
|
+
* @member {string} spanContext
|
|
47610
|
+
* @memberof SendPlivoMMSRequest
|
|
47611
|
+
* @instance
|
|
47612
|
+
*/
|
|
47613
|
+
SendPlivoMMSRequest.prototype.spanContext = "";
|
|
47614
|
+
|
|
47615
|
+
/**
|
|
47616
|
+
* SendPlivoMMSRequest phoneNumber.
|
|
47617
|
+
* @member {string} phoneNumber
|
|
47618
|
+
* @memberof SendPlivoMMSRequest
|
|
47619
|
+
* @instance
|
|
47620
|
+
*/
|
|
47621
|
+
SendPlivoMMSRequest.prototype.phoneNumber = "";
|
|
47622
|
+
|
|
47623
|
+
/**
|
|
47624
|
+
* SendPlivoMMSRequest message.
|
|
47625
|
+
* @member {string} message
|
|
47626
|
+
* @memberof SendPlivoMMSRequest
|
|
47627
|
+
* @instance
|
|
47628
|
+
*/
|
|
47629
|
+
SendPlivoMMSRequest.prototype.message = "";
|
|
47630
|
+
|
|
47631
|
+
/**
|
|
47632
|
+
* SendPlivoMMSRequest mediaUrl.
|
|
47633
|
+
* @member {string} mediaUrl
|
|
47634
|
+
* @memberof SendPlivoMMSRequest
|
|
47635
|
+
* @instance
|
|
47636
|
+
*/
|
|
47637
|
+
SendPlivoMMSRequest.prototype.mediaUrl = "";
|
|
47638
|
+
|
|
47639
|
+
/**
|
|
47640
|
+
* Creates a new SendPlivoMMSRequest instance using the specified properties.
|
|
47641
|
+
* @function create
|
|
47642
|
+
* @memberof SendPlivoMMSRequest
|
|
47643
|
+
* @static
|
|
47644
|
+
* @param {ISendPlivoMMSRequest=} [properties] Properties to set
|
|
47645
|
+
* @returns {SendPlivoMMSRequest} SendPlivoMMSRequest instance
|
|
47646
|
+
*/
|
|
47647
|
+
SendPlivoMMSRequest.create = function create(properties) {
|
|
47648
|
+
return new SendPlivoMMSRequest(properties);
|
|
47649
|
+
};
|
|
47650
|
+
|
|
47651
|
+
/**
|
|
47652
|
+
* Encodes the specified SendPlivoMMSRequest message. Does not implicitly {@link SendPlivoMMSRequest.verify|verify} messages.
|
|
47653
|
+
* @function encode
|
|
47654
|
+
* @memberof SendPlivoMMSRequest
|
|
47655
|
+
* @static
|
|
47656
|
+
* @param {ISendPlivoMMSRequest} message SendPlivoMMSRequest message or plain object to encode
|
|
47657
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47658
|
+
* @returns {$protobuf.Writer} Writer
|
|
47659
|
+
*/
|
|
47660
|
+
SendPlivoMMSRequest.encode = function encode(message, writer) {
|
|
47661
|
+
if (!writer)
|
|
47662
|
+
writer = $Writer.create();
|
|
47663
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47664
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
47665
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47666
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.phoneNumber);
|
|
47667
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47668
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
|
|
47669
|
+
if (message.mediaUrl != null && message.hasOwnProperty("mediaUrl"))
|
|
47670
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.mediaUrl);
|
|
47671
|
+
return writer;
|
|
47672
|
+
};
|
|
47673
|
+
|
|
47674
|
+
/**
|
|
47675
|
+
* Encodes the specified SendPlivoMMSRequest message, length delimited. Does not implicitly {@link SendPlivoMMSRequest.verify|verify} messages.
|
|
47676
|
+
* @function encodeDelimited
|
|
47677
|
+
* @memberof SendPlivoMMSRequest
|
|
47678
|
+
* @static
|
|
47679
|
+
* @param {ISendPlivoMMSRequest} message SendPlivoMMSRequest message or plain object to encode
|
|
47680
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47681
|
+
* @returns {$protobuf.Writer} Writer
|
|
47682
|
+
*/
|
|
47683
|
+
SendPlivoMMSRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47684
|
+
return this.encode(message, writer).ldelim();
|
|
47685
|
+
};
|
|
47686
|
+
|
|
47687
|
+
/**
|
|
47688
|
+
* Decodes a SendPlivoMMSRequest message from the specified reader or buffer.
|
|
47689
|
+
* @function decode
|
|
47690
|
+
* @memberof SendPlivoMMSRequest
|
|
47691
|
+
* @static
|
|
47692
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47693
|
+
* @param {number} [length] Message length if known beforehand
|
|
47694
|
+
* @returns {SendPlivoMMSRequest} SendPlivoMMSRequest
|
|
47695
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47696
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47697
|
+
*/
|
|
47698
|
+
SendPlivoMMSRequest.decode = function decode(reader, length) {
|
|
47699
|
+
if (!(reader instanceof $Reader))
|
|
47700
|
+
reader = $Reader.create(reader);
|
|
47701
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SendPlivoMMSRequest();
|
|
47702
|
+
while (reader.pos < end) {
|
|
47703
|
+
var tag = reader.uint32();
|
|
47704
|
+
switch (tag >>> 3) {
|
|
47705
|
+
case 0:
|
|
47706
|
+
message.spanContext = reader.string();
|
|
47707
|
+
break;
|
|
47708
|
+
case 1:
|
|
47709
|
+
message.phoneNumber = reader.string();
|
|
47710
|
+
break;
|
|
47711
|
+
case 2:
|
|
47712
|
+
message.message = reader.string();
|
|
47713
|
+
break;
|
|
47714
|
+
case 3:
|
|
47715
|
+
message.mediaUrl = reader.string();
|
|
47716
|
+
break;
|
|
47717
|
+
default:
|
|
47718
|
+
reader.skipType(tag & 7);
|
|
47719
|
+
break;
|
|
47720
|
+
}
|
|
47721
|
+
}
|
|
47722
|
+
return message;
|
|
47723
|
+
};
|
|
47724
|
+
|
|
47725
|
+
/**
|
|
47726
|
+
* Decodes a SendPlivoMMSRequest message from the specified reader or buffer, length delimited.
|
|
47727
|
+
* @function decodeDelimited
|
|
47728
|
+
* @memberof SendPlivoMMSRequest
|
|
47729
|
+
* @static
|
|
47730
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47731
|
+
* @returns {SendPlivoMMSRequest} SendPlivoMMSRequest
|
|
47732
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47733
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47734
|
+
*/
|
|
47735
|
+
SendPlivoMMSRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
47736
|
+
if (!(reader instanceof $Reader))
|
|
47737
|
+
reader = new $Reader(reader);
|
|
47738
|
+
return this.decode(reader, reader.uint32());
|
|
47739
|
+
};
|
|
47740
|
+
|
|
47741
|
+
/**
|
|
47742
|
+
* Verifies a SendPlivoMMSRequest message.
|
|
47743
|
+
* @function verify
|
|
47744
|
+
* @memberof SendPlivoMMSRequest
|
|
47745
|
+
* @static
|
|
47746
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47747
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47748
|
+
*/
|
|
47749
|
+
SendPlivoMMSRequest.verify = function verify(message) {
|
|
47750
|
+
if (typeof message !== "object" || message === null)
|
|
47751
|
+
return "object expected";
|
|
47752
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47753
|
+
if (!$util.isString(message.spanContext))
|
|
47754
|
+
return "spanContext: string expected";
|
|
47755
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47756
|
+
if (!$util.isString(message.phoneNumber))
|
|
47757
|
+
return "phoneNumber: string expected";
|
|
47758
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47759
|
+
if (!$util.isString(message.message))
|
|
47760
|
+
return "message: string expected";
|
|
47761
|
+
if (message.mediaUrl != null && message.hasOwnProperty("mediaUrl"))
|
|
47762
|
+
if (!$util.isString(message.mediaUrl))
|
|
47763
|
+
return "mediaUrl: string expected";
|
|
47764
|
+
return null;
|
|
47765
|
+
};
|
|
47766
|
+
|
|
47767
|
+
/**
|
|
47768
|
+
* Creates a SendPlivoMMSRequest message from a plain object. Also converts values to their respective internal types.
|
|
47769
|
+
* @function fromObject
|
|
47770
|
+
* @memberof SendPlivoMMSRequest
|
|
47771
|
+
* @static
|
|
47772
|
+
* @param {Object.<string,*>} object Plain object
|
|
47773
|
+
* @returns {SendPlivoMMSRequest} SendPlivoMMSRequest
|
|
47774
|
+
*/
|
|
47775
|
+
SendPlivoMMSRequest.fromObject = function fromObject(object) {
|
|
47776
|
+
if (object instanceof $root.SendPlivoMMSRequest)
|
|
47777
|
+
return object;
|
|
47778
|
+
var message = new $root.SendPlivoMMSRequest();
|
|
47779
|
+
if (object.spanContext != null)
|
|
47780
|
+
message.spanContext = String(object.spanContext);
|
|
47781
|
+
if (object.phoneNumber != null)
|
|
47782
|
+
message.phoneNumber = String(object.phoneNumber);
|
|
47783
|
+
if (object.message != null)
|
|
47784
|
+
message.message = String(object.message);
|
|
47785
|
+
if (object.mediaUrl != null)
|
|
47786
|
+
message.mediaUrl = String(object.mediaUrl);
|
|
47787
|
+
return message;
|
|
47788
|
+
};
|
|
47789
|
+
|
|
47790
|
+
/**
|
|
47791
|
+
* Creates a plain object from a SendPlivoMMSRequest message. Also converts values to other types if specified.
|
|
47792
|
+
* @function toObject
|
|
47793
|
+
* @memberof SendPlivoMMSRequest
|
|
47794
|
+
* @static
|
|
47795
|
+
* @param {SendPlivoMMSRequest} message SendPlivoMMSRequest
|
|
47796
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
47797
|
+
* @returns {Object.<string,*>} Plain object
|
|
47798
|
+
*/
|
|
47799
|
+
SendPlivoMMSRequest.toObject = function toObject(message, options) {
|
|
47800
|
+
if (!options)
|
|
47801
|
+
options = {};
|
|
47802
|
+
var object = {};
|
|
47803
|
+
if (options.defaults) {
|
|
47804
|
+
object.spanContext = "";
|
|
47805
|
+
object.phoneNumber = "";
|
|
47806
|
+
object.message = "";
|
|
47807
|
+
object.mediaUrl = "";
|
|
47808
|
+
}
|
|
47809
|
+
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
47810
|
+
object.spanContext = message.spanContext;
|
|
47811
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
47812
|
+
object.phoneNumber = message.phoneNumber;
|
|
47813
|
+
if (message.message != null && message.hasOwnProperty("message"))
|
|
47814
|
+
object.message = message.message;
|
|
47815
|
+
if (message.mediaUrl != null && message.hasOwnProperty("mediaUrl"))
|
|
47816
|
+
object.mediaUrl = message.mediaUrl;
|
|
47817
|
+
return object;
|
|
47818
|
+
};
|
|
47819
|
+
|
|
47820
|
+
/**
|
|
47821
|
+
* Converts this SendPlivoMMSRequest to JSON.
|
|
47822
|
+
* @function toJSON
|
|
47823
|
+
* @memberof SendPlivoMMSRequest
|
|
47824
|
+
* @instance
|
|
47825
|
+
* @returns {Object.<string,*>} JSON object
|
|
47826
|
+
*/
|
|
47827
|
+
SendPlivoMMSRequest.prototype.toJSON = function toJSON() {
|
|
47828
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
47829
|
+
};
|
|
47830
|
+
|
|
47831
|
+
return SendPlivoMMSRequest;
|
|
47832
|
+
})();
|
|
47833
|
+
|
|
47834
|
+
$root.SendPlivoMMSResponse = (function() {
|
|
47835
|
+
|
|
47836
|
+
/**
|
|
47837
|
+
* Properties of a SendPlivoMMSResponse.
|
|
47838
|
+
* @exports ISendPlivoMMSResponse
|
|
47839
|
+
* @interface ISendPlivoMMSResponse
|
|
47840
|
+
* @property {StatusCode|null} [status] SendPlivoMMSResponse status
|
|
47841
|
+
* @property {Array.<IError>|null} [errors] SendPlivoMMSResponse errors
|
|
47842
|
+
*/
|
|
47843
|
+
|
|
47844
|
+
/**
|
|
47845
|
+
* Constructs a new SendPlivoMMSResponse.
|
|
47846
|
+
* @exports SendPlivoMMSResponse
|
|
47847
|
+
* @classdesc Represents a SendPlivoMMSResponse.
|
|
47848
|
+
* @implements ISendPlivoMMSResponse
|
|
47849
|
+
* @constructor
|
|
47850
|
+
* @param {ISendPlivoMMSResponse=} [properties] Properties to set
|
|
47851
|
+
*/
|
|
47852
|
+
function SendPlivoMMSResponse(properties) {
|
|
47853
|
+
this.errors = [];
|
|
47854
|
+
if (properties)
|
|
47855
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
47856
|
+
if (properties[keys[i]] != null)
|
|
47857
|
+
this[keys[i]] = properties[keys[i]];
|
|
47858
|
+
}
|
|
47859
|
+
|
|
47860
|
+
/**
|
|
47861
|
+
* SendPlivoMMSResponse status.
|
|
47862
|
+
* @member {StatusCode} status
|
|
47863
|
+
* @memberof SendPlivoMMSResponse
|
|
47864
|
+
* @instance
|
|
47865
|
+
*/
|
|
47866
|
+
SendPlivoMMSResponse.prototype.status = 0;
|
|
47867
|
+
|
|
47868
|
+
/**
|
|
47869
|
+
* SendPlivoMMSResponse errors.
|
|
47870
|
+
* @member {Array.<IError>} errors
|
|
47871
|
+
* @memberof SendPlivoMMSResponse
|
|
47872
|
+
* @instance
|
|
47873
|
+
*/
|
|
47874
|
+
SendPlivoMMSResponse.prototype.errors = $util.emptyArray;
|
|
47875
|
+
|
|
47876
|
+
/**
|
|
47877
|
+
* Creates a new SendPlivoMMSResponse instance using the specified properties.
|
|
47878
|
+
* @function create
|
|
47879
|
+
* @memberof SendPlivoMMSResponse
|
|
47880
|
+
* @static
|
|
47881
|
+
* @param {ISendPlivoMMSResponse=} [properties] Properties to set
|
|
47882
|
+
* @returns {SendPlivoMMSResponse} SendPlivoMMSResponse instance
|
|
47883
|
+
*/
|
|
47884
|
+
SendPlivoMMSResponse.create = function create(properties) {
|
|
47885
|
+
return new SendPlivoMMSResponse(properties);
|
|
47886
|
+
};
|
|
47887
|
+
|
|
47888
|
+
/**
|
|
47889
|
+
* Encodes the specified SendPlivoMMSResponse message. Does not implicitly {@link SendPlivoMMSResponse.verify|verify} messages.
|
|
47890
|
+
* @function encode
|
|
47891
|
+
* @memberof SendPlivoMMSResponse
|
|
47892
|
+
* @static
|
|
47893
|
+
* @param {ISendPlivoMMSResponse} message SendPlivoMMSResponse message or plain object to encode
|
|
47894
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47895
|
+
* @returns {$protobuf.Writer} Writer
|
|
47896
|
+
*/
|
|
47897
|
+
SendPlivoMMSResponse.encode = function encode(message, writer) {
|
|
47898
|
+
if (!writer)
|
|
47899
|
+
writer = $Writer.create();
|
|
47900
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
47901
|
+
writer.uint32(/* id 0, wireType 0 =*/0).int32(message.status);
|
|
47902
|
+
if (message.errors != null && message.errors.length)
|
|
47903
|
+
for (var i = 0; i < message.errors.length; ++i)
|
|
47904
|
+
$root.Error.encode(message.errors[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
47905
|
+
return writer;
|
|
47906
|
+
};
|
|
47907
|
+
|
|
47908
|
+
/**
|
|
47909
|
+
* Encodes the specified SendPlivoMMSResponse message, length delimited. Does not implicitly {@link SendPlivoMMSResponse.verify|verify} messages.
|
|
47910
|
+
* @function encodeDelimited
|
|
47911
|
+
* @memberof SendPlivoMMSResponse
|
|
47912
|
+
* @static
|
|
47913
|
+
* @param {ISendPlivoMMSResponse} message SendPlivoMMSResponse message or plain object to encode
|
|
47914
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
47915
|
+
* @returns {$protobuf.Writer} Writer
|
|
47916
|
+
*/
|
|
47917
|
+
SendPlivoMMSResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
47918
|
+
return this.encode(message, writer).ldelim();
|
|
47919
|
+
};
|
|
47920
|
+
|
|
47921
|
+
/**
|
|
47922
|
+
* Decodes a SendPlivoMMSResponse message from the specified reader or buffer.
|
|
47923
|
+
* @function decode
|
|
47924
|
+
* @memberof SendPlivoMMSResponse
|
|
47925
|
+
* @static
|
|
47926
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47927
|
+
* @param {number} [length] Message length if known beforehand
|
|
47928
|
+
* @returns {SendPlivoMMSResponse} SendPlivoMMSResponse
|
|
47929
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47930
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47931
|
+
*/
|
|
47932
|
+
SendPlivoMMSResponse.decode = function decode(reader, length) {
|
|
47933
|
+
if (!(reader instanceof $Reader))
|
|
47934
|
+
reader = $Reader.create(reader);
|
|
47935
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.SendPlivoMMSResponse();
|
|
47936
|
+
while (reader.pos < end) {
|
|
47937
|
+
var tag = reader.uint32();
|
|
47938
|
+
switch (tag >>> 3) {
|
|
47939
|
+
case 0:
|
|
47940
|
+
message.status = reader.int32();
|
|
47941
|
+
break;
|
|
47942
|
+
case 1:
|
|
47943
|
+
if (!(message.errors && message.errors.length))
|
|
47944
|
+
message.errors = [];
|
|
47945
|
+
message.errors.push($root.Error.decode(reader, reader.uint32()));
|
|
47946
|
+
break;
|
|
47947
|
+
default:
|
|
47948
|
+
reader.skipType(tag & 7);
|
|
47949
|
+
break;
|
|
47950
|
+
}
|
|
47951
|
+
}
|
|
47952
|
+
return message;
|
|
47953
|
+
};
|
|
47954
|
+
|
|
47955
|
+
/**
|
|
47956
|
+
* Decodes a SendPlivoMMSResponse message from the specified reader or buffer, length delimited.
|
|
47957
|
+
* @function decodeDelimited
|
|
47958
|
+
* @memberof SendPlivoMMSResponse
|
|
47959
|
+
* @static
|
|
47960
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
47961
|
+
* @returns {SendPlivoMMSResponse} SendPlivoMMSResponse
|
|
47962
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
47963
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
47964
|
+
*/
|
|
47965
|
+
SendPlivoMMSResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
47966
|
+
if (!(reader instanceof $Reader))
|
|
47967
|
+
reader = new $Reader(reader);
|
|
47968
|
+
return this.decode(reader, reader.uint32());
|
|
47969
|
+
};
|
|
47970
|
+
|
|
47971
|
+
/**
|
|
47972
|
+
* Verifies a SendPlivoMMSResponse message.
|
|
47973
|
+
* @function verify
|
|
47974
|
+
* @memberof SendPlivoMMSResponse
|
|
47975
|
+
* @static
|
|
47976
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
47977
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
47978
|
+
*/
|
|
47979
|
+
SendPlivoMMSResponse.verify = function verify(message) {
|
|
47980
|
+
if (typeof message !== "object" || message === null)
|
|
47981
|
+
return "object expected";
|
|
47982
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
47983
|
+
switch (message.status) {
|
|
47984
|
+
default:
|
|
47985
|
+
return "status: enum value expected";
|
|
47986
|
+
case 0:
|
|
47987
|
+
case 200:
|
|
47988
|
+
case 400:
|
|
47989
|
+
case 401:
|
|
47990
|
+
case 403:
|
|
47991
|
+
case 422:
|
|
47992
|
+
case 500:
|
|
47993
|
+
case 504:
|
|
47994
|
+
break;
|
|
47995
|
+
}
|
|
47996
|
+
if (message.errors != null && message.hasOwnProperty("errors")) {
|
|
47997
|
+
if (!Array.isArray(message.errors))
|
|
47998
|
+
return "errors: array expected";
|
|
47999
|
+
for (var i = 0; i < message.errors.length; ++i) {
|
|
48000
|
+
var error = $root.Error.verify(message.errors[i]);
|
|
48001
|
+
if (error)
|
|
48002
|
+
return "errors." + error;
|
|
48003
|
+
}
|
|
48004
|
+
}
|
|
48005
|
+
return null;
|
|
48006
|
+
};
|
|
48007
|
+
|
|
48008
|
+
/**
|
|
48009
|
+
* Creates a SendPlivoMMSResponse message from a plain object. Also converts values to their respective internal types.
|
|
48010
|
+
* @function fromObject
|
|
48011
|
+
* @memberof SendPlivoMMSResponse
|
|
48012
|
+
* @static
|
|
48013
|
+
* @param {Object.<string,*>} object Plain object
|
|
48014
|
+
* @returns {SendPlivoMMSResponse} SendPlivoMMSResponse
|
|
48015
|
+
*/
|
|
48016
|
+
SendPlivoMMSResponse.fromObject = function fromObject(object) {
|
|
48017
|
+
if (object instanceof $root.SendPlivoMMSResponse)
|
|
48018
|
+
return object;
|
|
48019
|
+
var message = new $root.SendPlivoMMSResponse();
|
|
48020
|
+
switch (object.status) {
|
|
48021
|
+
case "UNKNOWN_CODE":
|
|
48022
|
+
case 0:
|
|
48023
|
+
message.status = 0;
|
|
48024
|
+
break;
|
|
48025
|
+
case "OK":
|
|
48026
|
+
case 200:
|
|
48027
|
+
message.status = 200;
|
|
48028
|
+
break;
|
|
48029
|
+
case "BAD_REQUEST":
|
|
48030
|
+
case 400:
|
|
48031
|
+
message.status = 400;
|
|
48032
|
+
break;
|
|
48033
|
+
case "UNAUTHORIZED":
|
|
48034
|
+
case 401:
|
|
48035
|
+
message.status = 401;
|
|
48036
|
+
break;
|
|
48037
|
+
case "FORBIDDEN":
|
|
48038
|
+
case 403:
|
|
48039
|
+
message.status = 403;
|
|
48040
|
+
break;
|
|
48041
|
+
case "UNPROCESSABLE_ENTITY":
|
|
48042
|
+
case 422:
|
|
48043
|
+
message.status = 422;
|
|
48044
|
+
break;
|
|
48045
|
+
case "INTERNAL_SERVER_ERROR":
|
|
48046
|
+
case 500:
|
|
48047
|
+
message.status = 500;
|
|
48048
|
+
break;
|
|
48049
|
+
case "GATEWAY_TIMEOUT":
|
|
48050
|
+
case 504:
|
|
48051
|
+
message.status = 504;
|
|
48052
|
+
break;
|
|
48053
|
+
}
|
|
48054
|
+
if (object.errors) {
|
|
48055
|
+
if (!Array.isArray(object.errors))
|
|
48056
|
+
throw TypeError(".SendPlivoMMSResponse.errors: array expected");
|
|
48057
|
+
message.errors = [];
|
|
48058
|
+
for (var i = 0; i < object.errors.length; ++i) {
|
|
48059
|
+
if (typeof object.errors[i] !== "object")
|
|
48060
|
+
throw TypeError(".SendPlivoMMSResponse.errors: object expected");
|
|
48061
|
+
message.errors[i] = $root.Error.fromObject(object.errors[i]);
|
|
48062
|
+
}
|
|
48063
|
+
}
|
|
48064
|
+
return message;
|
|
48065
|
+
};
|
|
48066
|
+
|
|
48067
|
+
/**
|
|
48068
|
+
* Creates a plain object from a SendPlivoMMSResponse message. Also converts values to other types if specified.
|
|
48069
|
+
* @function toObject
|
|
48070
|
+
* @memberof SendPlivoMMSResponse
|
|
48071
|
+
* @static
|
|
48072
|
+
* @param {SendPlivoMMSResponse} message SendPlivoMMSResponse
|
|
48073
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
48074
|
+
* @returns {Object.<string,*>} Plain object
|
|
48075
|
+
*/
|
|
48076
|
+
SendPlivoMMSResponse.toObject = function toObject(message, options) {
|
|
48077
|
+
if (!options)
|
|
48078
|
+
options = {};
|
|
48079
|
+
var object = {};
|
|
48080
|
+
if (options.arrays || options.defaults)
|
|
48081
|
+
object.errors = [];
|
|
48082
|
+
if (options.defaults)
|
|
48083
|
+
object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
|
|
48084
|
+
if (message.status != null && message.hasOwnProperty("status"))
|
|
48085
|
+
object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
|
|
48086
|
+
if (message.errors && message.errors.length) {
|
|
48087
|
+
object.errors = [];
|
|
48088
|
+
for (var j = 0; j < message.errors.length; ++j)
|
|
48089
|
+
object.errors[j] = $root.Error.toObject(message.errors[j], options);
|
|
48090
|
+
}
|
|
48091
|
+
return object;
|
|
48092
|
+
};
|
|
48093
|
+
|
|
48094
|
+
/**
|
|
48095
|
+
* Converts this SendPlivoMMSResponse to JSON.
|
|
48096
|
+
* @function toJSON
|
|
48097
|
+
* @memberof SendPlivoMMSResponse
|
|
48098
|
+
* @instance
|
|
48099
|
+
* @returns {Object.<string,*>} JSON object
|
|
48100
|
+
*/
|
|
48101
|
+
SendPlivoMMSResponse.prototype.toJSON = function toJSON() {
|
|
48102
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
48103
|
+
};
|
|
48104
|
+
|
|
48105
|
+
return SendPlivoMMSResponse;
|
|
48106
|
+
})();
|
|
48107
|
+
|
|
48108
|
+
$root.PlivoService = (function() {
|
|
48109
|
+
|
|
48110
|
+
/**
|
|
48111
|
+
* Constructs a new PlivoService service.
|
|
48112
|
+
* @exports PlivoService
|
|
48113
|
+
* @classdesc Represents a PlivoService
|
|
48114
|
+
* @extends $protobuf.rpc.Service
|
|
48115
|
+
* @constructor
|
|
48116
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
48117
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
48118
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
48119
|
+
*/
|
|
48120
|
+
function PlivoService(rpcImpl, requestDelimited, responseDelimited) {
|
|
48121
|
+
$protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
|
|
48122
|
+
}
|
|
48123
|
+
|
|
48124
|
+
(PlivoService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = PlivoService;
|
|
48125
|
+
|
|
48126
|
+
/**
|
|
48127
|
+
* Creates new PlivoService service using the specified rpc implementation.
|
|
48128
|
+
* @function create
|
|
48129
|
+
* @memberof PlivoService
|
|
48130
|
+
* @static
|
|
48131
|
+
* @param {$protobuf.RPCImpl} rpcImpl RPC implementation
|
|
48132
|
+
* @param {boolean} [requestDelimited=false] Whether requests are length-delimited
|
|
48133
|
+
* @param {boolean} [responseDelimited=false] Whether responses are length-delimited
|
|
48134
|
+
* @returns {PlivoService} RPC service. Useful where requests and/or responses are streamed.
|
|
48135
|
+
*/
|
|
48136
|
+
PlivoService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
|
|
48137
|
+
return new this(rpcImpl, requestDelimited, responseDelimited);
|
|
48138
|
+
};
|
|
48139
|
+
|
|
48140
|
+
/**
|
|
48141
|
+
* Callback as used by {@link PlivoService#sendPlivoSMS}.
|
|
48142
|
+
* @memberof PlivoService
|
|
48143
|
+
* @typedef sendPlivoSMSCallback
|
|
48144
|
+
* @type {function}
|
|
48145
|
+
* @param {Error|null} error Error, if any
|
|
48146
|
+
* @param {SendPlivoSMSResponse} [response] SendPlivoSMSResponse
|
|
48147
|
+
*/
|
|
48148
|
+
|
|
48149
|
+
/**
|
|
48150
|
+
* Calls sendPlivoSMS.
|
|
48151
|
+
* @function sendPlivoSMS
|
|
48152
|
+
* @memberof PlivoService
|
|
48153
|
+
* @instance
|
|
48154
|
+
* @param {ISendPlivoSMSRequest} request SendPlivoSMSRequest message or plain object
|
|
48155
|
+
* @param {PlivoService.sendPlivoSMSCallback} callback Node-style callback called with the error, if any, and SendPlivoSMSResponse
|
|
48156
|
+
* @returns {undefined}
|
|
48157
|
+
* @variation 1
|
|
48158
|
+
*/
|
|
48159
|
+
Object.defineProperty(PlivoService.prototype.sendPlivoSMS = function sendPlivoSMS(request, callback) {
|
|
48160
|
+
return this.rpcCall(sendPlivoSMS, $root.SendPlivoSMSRequest, $root.SendPlivoSMSResponse, request, callback);
|
|
48161
|
+
}, "name", { value: "sendPlivoSMS" });
|
|
48162
|
+
|
|
48163
|
+
/**
|
|
48164
|
+
* Calls sendPlivoSMS.
|
|
48165
|
+
* @function sendPlivoSMS
|
|
48166
|
+
* @memberof PlivoService
|
|
48167
|
+
* @instance
|
|
48168
|
+
* @param {ISendPlivoSMSRequest} request SendPlivoSMSRequest message or plain object
|
|
48169
|
+
* @returns {Promise<SendPlivoSMSResponse>} Promise
|
|
48170
|
+
* @variation 2
|
|
48171
|
+
*/
|
|
48172
|
+
|
|
48173
|
+
/**
|
|
48174
|
+
* Callback as used by {@link PlivoService#sendPlivoMMS}.
|
|
48175
|
+
* @memberof PlivoService
|
|
48176
|
+
* @typedef sendPlivoMMSCallback
|
|
48177
|
+
* @type {function}
|
|
48178
|
+
* @param {Error|null} error Error, if any
|
|
48179
|
+
* @param {SendPlivoMMSResponse} [response] SendPlivoMMSResponse
|
|
48180
|
+
*/
|
|
48181
|
+
|
|
48182
|
+
/**
|
|
48183
|
+
* Calls sendPlivoMMS.
|
|
48184
|
+
* @function sendPlivoMMS
|
|
48185
|
+
* @memberof PlivoService
|
|
48186
|
+
* @instance
|
|
48187
|
+
* @param {ISendPlivoMMSRequest} request SendPlivoMMSRequest message or plain object
|
|
48188
|
+
* @param {PlivoService.sendPlivoMMSCallback} callback Node-style callback called with the error, if any, and SendPlivoMMSResponse
|
|
48189
|
+
* @returns {undefined}
|
|
48190
|
+
* @variation 1
|
|
48191
|
+
*/
|
|
48192
|
+
Object.defineProperty(PlivoService.prototype.sendPlivoMMS = function sendPlivoMMS(request, callback) {
|
|
48193
|
+
return this.rpcCall(sendPlivoMMS, $root.SendPlivoMMSRequest, $root.SendPlivoMMSResponse, request, callback);
|
|
48194
|
+
}, "name", { value: "sendPlivoMMS" });
|
|
48195
|
+
|
|
48196
|
+
/**
|
|
48197
|
+
* Calls sendPlivoMMS.
|
|
48198
|
+
* @function sendPlivoMMS
|
|
48199
|
+
* @memberof PlivoService
|
|
48200
|
+
* @instance
|
|
48201
|
+
* @param {ISendPlivoMMSRequest} request SendPlivoMMSRequest message or plain object
|
|
48202
|
+
* @returns {Promise<SendPlivoMMSResponse>} Promise
|
|
48203
|
+
* @variation 2
|
|
48204
|
+
*/
|
|
48205
|
+
|
|
48206
|
+
return PlivoService;
|
|
48207
|
+
})();
|
|
48208
|
+
|
|
46964
48209
|
$root.Role = (function() {
|
|
46965
48210
|
|
|
46966
48211
|
/**
|