@zyphr-dev/node-sdk 0.1.8 → 0.1.10
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/index.cjs +579 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +499 -1
- package/dist/index.d.ts +499 -1
- package/dist/index.js +548 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/src/apis/InboxApi.ts +619 -0
- package/src/src/models/GenerateSubscriberToken200Response.ts +73 -0
- package/src/src/models/GenerateSubscriberToken200ResponseData.ts +81 -0
- package/src/src/models/GenerateSubscriberTokenRequest.ts +73 -0
- package/src/src/models/MarkAllSubscriberNotificationsReadRequest.ts +65 -0
- package/src/src/models/UpdateSubscriberPreferencesRequest.ts +74 -0
- package/src/src/models/UpdateSubscriberPreferencesRequestPreferencesInner.ts +96 -0
- package/src/src/models/index.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -309,6 +309,18 @@ __export(index_exports, {
|
|
|
309
309
|
ForgotPasswordRequestFromJSONTyped: () => ForgotPasswordRequestFromJSONTyped,
|
|
310
310
|
ForgotPasswordRequestToJSON: () => ForgotPasswordRequestToJSON,
|
|
311
311
|
ForgotPasswordRequestToJSONTyped: () => ForgotPasswordRequestToJSONTyped,
|
|
312
|
+
GenerateSubscriberToken200ResponseDataFromJSON: () => GenerateSubscriberToken200ResponseDataFromJSON,
|
|
313
|
+
GenerateSubscriberToken200ResponseDataFromJSONTyped: () => GenerateSubscriberToken200ResponseDataFromJSONTyped,
|
|
314
|
+
GenerateSubscriberToken200ResponseDataToJSON: () => GenerateSubscriberToken200ResponseDataToJSON,
|
|
315
|
+
GenerateSubscriberToken200ResponseDataToJSONTyped: () => GenerateSubscriberToken200ResponseDataToJSONTyped,
|
|
316
|
+
GenerateSubscriberToken200ResponseFromJSON: () => GenerateSubscriberToken200ResponseFromJSON,
|
|
317
|
+
GenerateSubscriberToken200ResponseFromJSONTyped: () => GenerateSubscriberToken200ResponseFromJSONTyped,
|
|
318
|
+
GenerateSubscriberToken200ResponseToJSON: () => GenerateSubscriberToken200ResponseToJSON,
|
|
319
|
+
GenerateSubscriberToken200ResponseToJSONTyped: () => GenerateSubscriberToken200ResponseToJSONTyped,
|
|
320
|
+
GenerateSubscriberTokenRequestFromJSON: () => GenerateSubscriberTokenRequestFromJSON,
|
|
321
|
+
GenerateSubscriberTokenRequestFromJSONTyped: () => GenerateSubscriberTokenRequestFromJSONTyped,
|
|
322
|
+
GenerateSubscriberTokenRequestToJSON: () => GenerateSubscriberTokenRequestToJSON,
|
|
323
|
+
GenerateSubscriberTokenRequestToJSONTyped: () => GenerateSubscriberTokenRequestToJSONTyped,
|
|
312
324
|
GenerateWaaSPortalToken201ResponseFromJSON: () => GenerateWaaSPortalToken201ResponseFromJSON,
|
|
313
325
|
GenerateWaaSPortalToken201ResponseFromJSONTyped: () => GenerateWaaSPortalToken201ResponseFromJSONTyped,
|
|
314
326
|
GenerateWaaSPortalToken201ResponseToJSON: () => GenerateWaaSPortalToken201ResponseToJSON,
|
|
@@ -398,6 +410,10 @@ __export(index_exports, {
|
|
|
398
410
|
MarkAllReadResponseFromJSONTyped: () => MarkAllReadResponseFromJSONTyped,
|
|
399
411
|
MarkAllReadResponseToJSON: () => MarkAllReadResponseToJSON,
|
|
400
412
|
MarkAllReadResponseToJSONTyped: () => MarkAllReadResponseToJSONTyped,
|
|
413
|
+
MarkAllSubscriberNotificationsReadRequestFromJSON: () => MarkAllSubscriberNotificationsReadRequestFromJSON,
|
|
414
|
+
MarkAllSubscriberNotificationsReadRequestFromJSONTyped: () => MarkAllSubscriberNotificationsReadRequestFromJSONTyped,
|
|
415
|
+
MarkAllSubscriberNotificationsReadRequestToJSON: () => MarkAllSubscriberNotificationsReadRequestToJSON,
|
|
416
|
+
MarkAllSubscriberNotificationsReadRequestToJSONTyped: () => MarkAllSubscriberNotificationsReadRequestToJSONTyped,
|
|
401
417
|
MarkInboxReadRequestFromJSON: () => MarkInboxReadRequestFromJSON,
|
|
402
418
|
MarkInboxReadRequestFromJSONTyped: () => MarkInboxReadRequestFromJSONTyped,
|
|
403
419
|
MarkInboxReadRequestToJSON: () => MarkInboxReadRequestToJSON,
|
|
@@ -1083,6 +1099,15 @@ __export(index_exports, {
|
|
|
1083
1099
|
UpdateEndUserRequestFromJSONTyped: () => UpdateEndUserRequestFromJSONTyped,
|
|
1084
1100
|
UpdateEndUserRequestToJSON: () => UpdateEndUserRequestToJSON,
|
|
1085
1101
|
UpdateEndUserRequestToJSONTyped: () => UpdateEndUserRequestToJSONTyped,
|
|
1102
|
+
UpdateSubscriberPreferencesRequestFromJSON: () => UpdateSubscriberPreferencesRequestFromJSON,
|
|
1103
|
+
UpdateSubscriberPreferencesRequestFromJSONTyped: () => UpdateSubscriberPreferencesRequestFromJSONTyped,
|
|
1104
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum: () => UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum,
|
|
1105
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerFromJSON: () => UpdateSubscriberPreferencesRequestPreferencesInnerFromJSON,
|
|
1106
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerFromJSONTyped: () => UpdateSubscriberPreferencesRequestPreferencesInnerFromJSONTyped,
|
|
1107
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerToJSON: () => UpdateSubscriberPreferencesRequestPreferencesInnerToJSON,
|
|
1108
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerToJSONTyped: () => UpdateSubscriberPreferencesRequestPreferencesInnerToJSONTyped,
|
|
1109
|
+
UpdateSubscriberPreferencesRequestToJSON: () => UpdateSubscriberPreferencesRequestToJSON,
|
|
1110
|
+
UpdateSubscriberPreferencesRequestToJSONTyped: () => UpdateSubscriberPreferencesRequestToJSONTyped,
|
|
1086
1111
|
UpdateSubscriberRequestFromJSON: () => UpdateSubscriberRequestFromJSON,
|
|
1087
1112
|
UpdateSubscriberRequestFromJSONTyped: () => UpdateSubscriberRequestFromJSONTyped,
|
|
1088
1113
|
UpdateSubscriberRequestStatusEnum: () => UpdateSubscriberRequestStatusEnum,
|
|
@@ -1495,6 +1520,9 @@ __export(index_exports, {
|
|
|
1495
1520
|
instanceOfEndUserDeleteResponse: () => instanceOfEndUserDeleteResponse,
|
|
1496
1521
|
instanceOfEndUserDeleteResponseData: () => instanceOfEndUserDeleteResponseData,
|
|
1497
1522
|
instanceOfForgotPasswordRequest: () => instanceOfForgotPasswordRequest,
|
|
1523
|
+
instanceOfGenerateSubscriberToken200Response: () => instanceOfGenerateSubscriberToken200Response,
|
|
1524
|
+
instanceOfGenerateSubscriberToken200ResponseData: () => instanceOfGenerateSubscriberToken200ResponseData,
|
|
1525
|
+
instanceOfGenerateSubscriberTokenRequest: () => instanceOfGenerateSubscriberTokenRequest,
|
|
1498
1526
|
instanceOfGenerateWaaSPortalToken201Response: () => instanceOfGenerateWaaSPortalToken201Response,
|
|
1499
1527
|
instanceOfGetWaaSEndpoint200Response: () => instanceOfGetWaaSEndpoint200Response,
|
|
1500
1528
|
instanceOfGetWaaSUsage200Response: () => instanceOfGetWaaSUsage200Response,
|
|
@@ -1514,6 +1542,7 @@ __export(index_exports, {
|
|
|
1514
1542
|
instanceOfMarkAllInboxReadRequest: () => instanceOfMarkAllInboxReadRequest,
|
|
1515
1543
|
instanceOfMarkAllReadData: () => instanceOfMarkAllReadData,
|
|
1516
1544
|
instanceOfMarkAllReadResponse: () => instanceOfMarkAllReadResponse,
|
|
1545
|
+
instanceOfMarkAllSubscriberNotificationsReadRequest: () => instanceOfMarkAllSubscriberNotificationsReadRequest,
|
|
1517
1546
|
instanceOfMarkInboxReadRequest: () => instanceOfMarkInboxReadRequest,
|
|
1518
1547
|
instanceOfMfaBackupCodesResponse: () => instanceOfMfaBackupCodesResponse,
|
|
1519
1548
|
instanceOfMfaBackupCodesResponseData: () => instanceOfMfaBackupCodesResponseData,
|
|
@@ -1679,6 +1708,8 @@ __export(index_exports, {
|
|
|
1679
1708
|
instanceOfUnsubscribeResponse: () => instanceOfUnsubscribeResponse,
|
|
1680
1709
|
instanceOfUpdateCategoryRequest: () => instanceOfUpdateCategoryRequest,
|
|
1681
1710
|
instanceOfUpdateEndUserRequest: () => instanceOfUpdateEndUserRequest,
|
|
1711
|
+
instanceOfUpdateSubscriberPreferencesRequest: () => instanceOfUpdateSubscriberPreferencesRequest,
|
|
1712
|
+
instanceOfUpdateSubscriberPreferencesRequestPreferencesInner: () => instanceOfUpdateSubscriberPreferencesRequestPreferencesInner,
|
|
1682
1713
|
instanceOfUpdateSubscriberRequest: () => instanceOfUpdateSubscriberRequest,
|
|
1683
1714
|
instanceOfUpdateTemplateRequest: () => instanceOfUpdateTemplateRequest,
|
|
1684
1715
|
instanceOfUpdateTopicRequest: () => instanceOfUpdateTopicRequest,
|
|
@@ -4449,6 +4480,93 @@ function ForgotPasswordRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4449
4480
|
};
|
|
4450
4481
|
}
|
|
4451
4482
|
|
|
4483
|
+
// src/src/models/GenerateSubscriberToken200ResponseData.ts
|
|
4484
|
+
function instanceOfGenerateSubscriberToken200ResponseData(value) {
|
|
4485
|
+
return true;
|
|
4486
|
+
}
|
|
4487
|
+
function GenerateSubscriberToken200ResponseDataFromJSON(json) {
|
|
4488
|
+
return GenerateSubscriberToken200ResponseDataFromJSONTyped(json, false);
|
|
4489
|
+
}
|
|
4490
|
+
function GenerateSubscriberToken200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
4491
|
+
if (json == null) {
|
|
4492
|
+
return json;
|
|
4493
|
+
}
|
|
4494
|
+
return {
|
|
4495
|
+
"token": json["token"] == null ? void 0 : json["token"],
|
|
4496
|
+
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
4497
|
+
"expiresIn": json["expires_in"] == null ? void 0 : json["expires_in"]
|
|
4498
|
+
};
|
|
4499
|
+
}
|
|
4500
|
+
function GenerateSubscriberToken200ResponseDataToJSON(json) {
|
|
4501
|
+
return GenerateSubscriberToken200ResponseDataToJSONTyped(json, false);
|
|
4502
|
+
}
|
|
4503
|
+
function GenerateSubscriberToken200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4504
|
+
if (value == null) {
|
|
4505
|
+
return value;
|
|
4506
|
+
}
|
|
4507
|
+
return {
|
|
4508
|
+
"token": value["token"],
|
|
4509
|
+
"subscriber_id": value["subscriberId"],
|
|
4510
|
+
"expires_in": value["expiresIn"]
|
|
4511
|
+
};
|
|
4512
|
+
}
|
|
4513
|
+
|
|
4514
|
+
// src/src/models/GenerateSubscriberToken200Response.ts
|
|
4515
|
+
function instanceOfGenerateSubscriberToken200Response(value) {
|
|
4516
|
+
return true;
|
|
4517
|
+
}
|
|
4518
|
+
function GenerateSubscriberToken200ResponseFromJSON(json) {
|
|
4519
|
+
return GenerateSubscriberToken200ResponseFromJSONTyped(json, false);
|
|
4520
|
+
}
|
|
4521
|
+
function GenerateSubscriberToken200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
4522
|
+
if (json == null) {
|
|
4523
|
+
return json;
|
|
4524
|
+
}
|
|
4525
|
+
return {
|
|
4526
|
+
"data": json["data"] == null ? void 0 : GenerateSubscriberToken200ResponseDataFromJSON(json["data"])
|
|
4527
|
+
};
|
|
4528
|
+
}
|
|
4529
|
+
function GenerateSubscriberToken200ResponseToJSON(json) {
|
|
4530
|
+
return GenerateSubscriberToken200ResponseToJSONTyped(json, false);
|
|
4531
|
+
}
|
|
4532
|
+
function GenerateSubscriberToken200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4533
|
+
if (value == null) {
|
|
4534
|
+
return value;
|
|
4535
|
+
}
|
|
4536
|
+
return {
|
|
4537
|
+
"data": GenerateSubscriberToken200ResponseDataToJSON(value["data"])
|
|
4538
|
+
};
|
|
4539
|
+
}
|
|
4540
|
+
|
|
4541
|
+
// src/src/models/GenerateSubscriberTokenRequest.ts
|
|
4542
|
+
function instanceOfGenerateSubscriberTokenRequest(value) {
|
|
4543
|
+
return true;
|
|
4544
|
+
}
|
|
4545
|
+
function GenerateSubscriberTokenRequestFromJSON(json) {
|
|
4546
|
+
return GenerateSubscriberTokenRequestFromJSONTyped(json, false);
|
|
4547
|
+
}
|
|
4548
|
+
function GenerateSubscriberTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
4549
|
+
if (json == null) {
|
|
4550
|
+
return json;
|
|
4551
|
+
}
|
|
4552
|
+
return {
|
|
4553
|
+
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
4554
|
+
"externalId": json["external_id"] == null ? void 0 : json["external_id"]
|
|
4555
|
+
};
|
|
4556
|
+
}
|
|
4557
|
+
function GenerateSubscriberTokenRequestToJSON(json) {
|
|
4558
|
+
return GenerateSubscriberTokenRequestToJSONTyped(json, false);
|
|
4559
|
+
}
|
|
4560
|
+
function GenerateSubscriberTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4561
|
+
if (value == null) {
|
|
4562
|
+
return value;
|
|
4563
|
+
}
|
|
4564
|
+
return {
|
|
4565
|
+
"subscriber_id": value["subscriberId"],
|
|
4566
|
+
"external_id": value["externalId"]
|
|
4567
|
+
};
|
|
4568
|
+
}
|
|
4569
|
+
|
|
4452
4570
|
// src/src/models/WaaSPortalTokenResponse.ts
|
|
4453
4571
|
function instanceOfWaaSPortalTokenResponse(value) {
|
|
4454
4572
|
return true;
|
|
@@ -5201,6 +5319,33 @@ function MarkAllReadResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
5201
5319
|
};
|
|
5202
5320
|
}
|
|
5203
5321
|
|
|
5322
|
+
// src/src/models/MarkAllSubscriberNotificationsReadRequest.ts
|
|
5323
|
+
function instanceOfMarkAllSubscriberNotificationsReadRequest(value) {
|
|
5324
|
+
return true;
|
|
5325
|
+
}
|
|
5326
|
+
function MarkAllSubscriberNotificationsReadRequestFromJSON(json) {
|
|
5327
|
+
return MarkAllSubscriberNotificationsReadRequestFromJSONTyped(json, false);
|
|
5328
|
+
}
|
|
5329
|
+
function MarkAllSubscriberNotificationsReadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
5330
|
+
if (json == null) {
|
|
5331
|
+
return json;
|
|
5332
|
+
}
|
|
5333
|
+
return {
|
|
5334
|
+
"category": json["category"] == null ? void 0 : json["category"]
|
|
5335
|
+
};
|
|
5336
|
+
}
|
|
5337
|
+
function MarkAllSubscriberNotificationsReadRequestToJSON(json) {
|
|
5338
|
+
return MarkAllSubscriberNotificationsReadRequestToJSONTyped(json, false);
|
|
5339
|
+
}
|
|
5340
|
+
function MarkAllSubscriberNotificationsReadRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5341
|
+
if (value == null) {
|
|
5342
|
+
return value;
|
|
5343
|
+
}
|
|
5344
|
+
return {
|
|
5345
|
+
"category": value["category"]
|
|
5346
|
+
};
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5204
5349
|
// src/src/models/MarkInboxReadRequest.ts
|
|
5205
5350
|
function instanceOfMarkInboxReadRequest(value) {
|
|
5206
5351
|
return true;
|
|
@@ -10495,6 +10640,73 @@ function UpdateEndUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
10495
10640
|
};
|
|
10496
10641
|
}
|
|
10497
10642
|
|
|
10643
|
+
// src/src/models/UpdateSubscriberPreferencesRequestPreferencesInner.ts
|
|
10644
|
+
var UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum = {
|
|
10645
|
+
EMAIL: "email",
|
|
10646
|
+
PUSH: "push",
|
|
10647
|
+
SMS: "sms",
|
|
10648
|
+
IN_APP: "in_app"
|
|
10649
|
+
};
|
|
10650
|
+
function instanceOfUpdateSubscriberPreferencesRequestPreferencesInner(value) {
|
|
10651
|
+
if (!("channel" in value) || value["channel"] === void 0) return false;
|
|
10652
|
+
if (!("enabled" in value) || value["enabled"] === void 0) return false;
|
|
10653
|
+
return true;
|
|
10654
|
+
}
|
|
10655
|
+
function UpdateSubscriberPreferencesRequestPreferencesInnerFromJSON(json) {
|
|
10656
|
+
return UpdateSubscriberPreferencesRequestPreferencesInnerFromJSONTyped(json, false);
|
|
10657
|
+
}
|
|
10658
|
+
function UpdateSubscriberPreferencesRequestPreferencesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
10659
|
+
if (json == null) {
|
|
10660
|
+
return json;
|
|
10661
|
+
}
|
|
10662
|
+
return {
|
|
10663
|
+
"categoryId": json["category_id"] == null ? void 0 : json["category_id"],
|
|
10664
|
+
"channel": json["channel"],
|
|
10665
|
+
"enabled": json["enabled"]
|
|
10666
|
+
};
|
|
10667
|
+
}
|
|
10668
|
+
function UpdateSubscriberPreferencesRequestPreferencesInnerToJSON(json) {
|
|
10669
|
+
return UpdateSubscriberPreferencesRequestPreferencesInnerToJSONTyped(json, false);
|
|
10670
|
+
}
|
|
10671
|
+
function UpdateSubscriberPreferencesRequestPreferencesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
10672
|
+
if (value == null) {
|
|
10673
|
+
return value;
|
|
10674
|
+
}
|
|
10675
|
+
return {
|
|
10676
|
+
"category_id": value["categoryId"],
|
|
10677
|
+
"channel": value["channel"],
|
|
10678
|
+
"enabled": value["enabled"]
|
|
10679
|
+
};
|
|
10680
|
+
}
|
|
10681
|
+
|
|
10682
|
+
// src/src/models/UpdateSubscriberPreferencesRequest.ts
|
|
10683
|
+
function instanceOfUpdateSubscriberPreferencesRequest(value) {
|
|
10684
|
+
if (!("preferences" in value) || value["preferences"] === void 0) return false;
|
|
10685
|
+
return true;
|
|
10686
|
+
}
|
|
10687
|
+
function UpdateSubscriberPreferencesRequestFromJSON(json) {
|
|
10688
|
+
return UpdateSubscriberPreferencesRequestFromJSONTyped(json, false);
|
|
10689
|
+
}
|
|
10690
|
+
function UpdateSubscriberPreferencesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10691
|
+
if (json == null) {
|
|
10692
|
+
return json;
|
|
10693
|
+
}
|
|
10694
|
+
return {
|
|
10695
|
+
"preferences": json["preferences"].map(UpdateSubscriberPreferencesRequestPreferencesInnerFromJSON)
|
|
10696
|
+
};
|
|
10697
|
+
}
|
|
10698
|
+
function UpdateSubscriberPreferencesRequestToJSON(json) {
|
|
10699
|
+
return UpdateSubscriberPreferencesRequestToJSONTyped(json, false);
|
|
10700
|
+
}
|
|
10701
|
+
function UpdateSubscriberPreferencesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
10702
|
+
if (value == null) {
|
|
10703
|
+
return value;
|
|
10704
|
+
}
|
|
10705
|
+
return {
|
|
10706
|
+
"preferences": value["preferences"].map(UpdateSubscriberPreferencesRequestPreferencesInnerToJSON)
|
|
10707
|
+
};
|
|
10708
|
+
}
|
|
10709
|
+
|
|
10498
10710
|
// src/src/models/UpdateSubscriberRequest.ts
|
|
10499
10711
|
var UpdateSubscriberRequestStatusEnum = {
|
|
10500
10712
|
ACTIVE: "active",
|
|
@@ -14975,6 +15187,39 @@ var InboxApi = class extends BaseAPI {
|
|
|
14975
15187
|
const response = await this.archiveInboxNotificationRaw({ id, markInboxReadRequest }, initOverrides);
|
|
14976
15188
|
return await response.value();
|
|
14977
15189
|
}
|
|
15190
|
+
/**
|
|
15191
|
+
* Archive a notification
|
|
15192
|
+
*/
|
|
15193
|
+
async archiveSubscriberNotificationRaw(requestParameters, initOverrides) {
|
|
15194
|
+
if (requestParameters["id"] == null) {
|
|
15195
|
+
throw new RequiredError(
|
|
15196
|
+
"id",
|
|
15197
|
+
'Required parameter "id" was null or undefined when calling archiveSubscriberNotification().'
|
|
15198
|
+
);
|
|
15199
|
+
}
|
|
15200
|
+
const queryParameters = {};
|
|
15201
|
+
const headerParameters = {};
|
|
15202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15203
|
+
const token = this.configuration.accessToken;
|
|
15204
|
+
const tokenString = await token("EndUserToken", []);
|
|
15205
|
+
if (tokenString) {
|
|
15206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15207
|
+
}
|
|
15208
|
+
}
|
|
15209
|
+
const response = await this.request({
|
|
15210
|
+
path: `/subscriber-inbox/{id}/archive`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
15211
|
+
method: "POST",
|
|
15212
|
+
headers: headerParameters,
|
|
15213
|
+
query: queryParameters
|
|
15214
|
+
}, initOverrides);
|
|
15215
|
+
return new VoidApiResponse(response);
|
|
15216
|
+
}
|
|
15217
|
+
/**
|
|
15218
|
+
* Archive a notification
|
|
15219
|
+
*/
|
|
15220
|
+
async archiveSubscriberNotification(id, initOverrides) {
|
|
15221
|
+
await this.archiveSubscriberNotificationRaw({ id }, initOverrides);
|
|
15222
|
+
}
|
|
14978
15223
|
/**
|
|
14979
15224
|
* Permanently delete an in-app notification.
|
|
14980
15225
|
* Delete a notification
|
|
@@ -15012,6 +15257,73 @@ var InboxApi = class extends BaseAPI {
|
|
|
15012
15257
|
async deleteInboxNotification(id, subscriberId, externalId, initOverrides) {
|
|
15013
15258
|
await this.deleteInboxNotificationRaw({ id, subscriberId, externalId }, initOverrides);
|
|
15014
15259
|
}
|
|
15260
|
+
/**
|
|
15261
|
+
* Delete a notification
|
|
15262
|
+
*/
|
|
15263
|
+
async deleteSubscriberNotificationRaw(requestParameters, initOverrides) {
|
|
15264
|
+
if (requestParameters["id"] == null) {
|
|
15265
|
+
throw new RequiredError(
|
|
15266
|
+
"id",
|
|
15267
|
+
'Required parameter "id" was null or undefined when calling deleteSubscriberNotification().'
|
|
15268
|
+
);
|
|
15269
|
+
}
|
|
15270
|
+
const queryParameters = {};
|
|
15271
|
+
const headerParameters = {};
|
|
15272
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15273
|
+
const token = this.configuration.accessToken;
|
|
15274
|
+
const tokenString = await token("EndUserToken", []);
|
|
15275
|
+
if (tokenString) {
|
|
15276
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15277
|
+
}
|
|
15278
|
+
}
|
|
15279
|
+
const response = await this.request({
|
|
15280
|
+
path: `/subscriber-inbox/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
15281
|
+
method: "DELETE",
|
|
15282
|
+
headers: headerParameters,
|
|
15283
|
+
query: queryParameters
|
|
15284
|
+
}, initOverrides);
|
|
15285
|
+
return new VoidApiResponse(response);
|
|
15286
|
+
}
|
|
15287
|
+
/**
|
|
15288
|
+
* Delete a notification
|
|
15289
|
+
*/
|
|
15290
|
+
async deleteSubscriberNotification(id, initOverrides) {
|
|
15291
|
+
await this.deleteSubscriberNotificationRaw({ id }, initOverrides);
|
|
15292
|
+
}
|
|
15293
|
+
/**
|
|
15294
|
+
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
15295
|
+
* Generate a subscriber token
|
|
15296
|
+
*/
|
|
15297
|
+
async generateSubscriberTokenRaw(requestParameters, initOverrides) {
|
|
15298
|
+
if (requestParameters["generateSubscriberTokenRequest"] == null) {
|
|
15299
|
+
throw new RequiredError(
|
|
15300
|
+
"generateSubscriberTokenRequest",
|
|
15301
|
+
'Required parameter "generateSubscriberTokenRequest" was null or undefined when calling generateSubscriberToken().'
|
|
15302
|
+
);
|
|
15303
|
+
}
|
|
15304
|
+
const queryParameters = {};
|
|
15305
|
+
const headerParameters = {};
|
|
15306
|
+
headerParameters["Content-Type"] = "application/json";
|
|
15307
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
15308
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key");
|
|
15309
|
+
}
|
|
15310
|
+
const response = await this.request({
|
|
15311
|
+
path: `/subscriber-inbox/token`,
|
|
15312
|
+
method: "POST",
|
|
15313
|
+
headers: headerParameters,
|
|
15314
|
+
query: queryParameters,
|
|
15315
|
+
body: GenerateSubscriberTokenRequestToJSON(requestParameters["generateSubscriberTokenRequest"])
|
|
15316
|
+
}, initOverrides);
|
|
15317
|
+
return new JSONApiResponse(response, (jsonValue) => GenerateSubscriberToken200ResponseFromJSON(jsonValue));
|
|
15318
|
+
}
|
|
15319
|
+
/**
|
|
15320
|
+
* Generate a JWT token for client-side inbox authentication. This is a server-side call that requires your API key. Pass the returned token to `@zyphr/inbox-react`\'s `<ZyphrProvider subscriberToken=\"...\">` or use it as `Authorization: Bearer <token>` for client-side inbox API calls and WebSocket connections. The token expires in 7 days.
|
|
15321
|
+
* Generate a subscriber token
|
|
15322
|
+
*/
|
|
15323
|
+
async generateSubscriberToken(generateSubscriberTokenRequest, initOverrides) {
|
|
15324
|
+
const response = await this.generateSubscriberTokenRaw({ generateSubscriberTokenRequest }, initOverrides);
|
|
15325
|
+
return await response.value();
|
|
15326
|
+
}
|
|
15015
15327
|
/**
|
|
15016
15328
|
* Get a specific in-app notification by ID.
|
|
15017
15329
|
* Get a notification
|
|
@@ -15050,6 +15362,99 @@ var InboxApi = class extends BaseAPI {
|
|
|
15050
15362
|
const response = await this.getInboxNotificationRaw({ id, subscriberId, externalId }, initOverrides);
|
|
15051
15363
|
return await response.value();
|
|
15052
15364
|
}
|
|
15365
|
+
/**
|
|
15366
|
+
* Get notification preferences grouped by category for the authenticated subscriber.
|
|
15367
|
+
* Get subscriber preferences
|
|
15368
|
+
*/
|
|
15369
|
+
async getSubscriberInboxPreferencesRaw(initOverrides) {
|
|
15370
|
+
const queryParameters = {};
|
|
15371
|
+
const headerParameters = {};
|
|
15372
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15373
|
+
const token = this.configuration.accessToken;
|
|
15374
|
+
const tokenString = await token("EndUserToken", []);
|
|
15375
|
+
if (tokenString) {
|
|
15376
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15377
|
+
}
|
|
15378
|
+
}
|
|
15379
|
+
const response = await this.request({
|
|
15380
|
+
path: `/subscriber-inbox/preferences`,
|
|
15381
|
+
method: "GET",
|
|
15382
|
+
headers: headerParameters,
|
|
15383
|
+
query: queryParameters
|
|
15384
|
+
}, initOverrides);
|
|
15385
|
+
return new VoidApiResponse(response);
|
|
15386
|
+
}
|
|
15387
|
+
/**
|
|
15388
|
+
* Get notification preferences grouped by category for the authenticated subscriber.
|
|
15389
|
+
* Get subscriber preferences
|
|
15390
|
+
*/
|
|
15391
|
+
async getSubscriberInboxPreferences(initOverrides) {
|
|
15392
|
+
await this.getSubscriberInboxPreferencesRaw(initOverrides);
|
|
15393
|
+
}
|
|
15394
|
+
/**
|
|
15395
|
+
* Get a specific notification by ID for the authenticated subscriber.
|
|
15396
|
+
* Get a notification
|
|
15397
|
+
*/
|
|
15398
|
+
async getSubscriberNotificationRaw(requestParameters, initOverrides) {
|
|
15399
|
+
if (requestParameters["id"] == null) {
|
|
15400
|
+
throw new RequiredError(
|
|
15401
|
+
"id",
|
|
15402
|
+
'Required parameter "id" was null or undefined when calling getSubscriberNotification().'
|
|
15403
|
+
);
|
|
15404
|
+
}
|
|
15405
|
+
const queryParameters = {};
|
|
15406
|
+
const headerParameters = {};
|
|
15407
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15408
|
+
const token = this.configuration.accessToken;
|
|
15409
|
+
const tokenString = await token("EndUserToken", []);
|
|
15410
|
+
if (tokenString) {
|
|
15411
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15412
|
+
}
|
|
15413
|
+
}
|
|
15414
|
+
const response = await this.request({
|
|
15415
|
+
path: `/subscriber-inbox/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
15416
|
+
method: "GET",
|
|
15417
|
+
headers: headerParameters,
|
|
15418
|
+
query: queryParameters
|
|
15419
|
+
}, initOverrides);
|
|
15420
|
+
return new VoidApiResponse(response);
|
|
15421
|
+
}
|
|
15422
|
+
/**
|
|
15423
|
+
* Get a specific notification by ID for the authenticated subscriber.
|
|
15424
|
+
* Get a notification
|
|
15425
|
+
*/
|
|
15426
|
+
async getSubscriberNotification(id, initOverrides) {
|
|
15427
|
+
await this.getSubscriberNotificationRaw({ id }, initOverrides);
|
|
15428
|
+
}
|
|
15429
|
+
/**
|
|
15430
|
+
* Get the unread notification count for the authenticated subscriber.
|
|
15431
|
+
* Get unread count
|
|
15432
|
+
*/
|
|
15433
|
+
async getSubscriberUnreadCountRaw(initOverrides) {
|
|
15434
|
+
const queryParameters = {};
|
|
15435
|
+
const headerParameters = {};
|
|
15436
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15437
|
+
const token = this.configuration.accessToken;
|
|
15438
|
+
const tokenString = await token("EndUserToken", []);
|
|
15439
|
+
if (tokenString) {
|
|
15440
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15441
|
+
}
|
|
15442
|
+
}
|
|
15443
|
+
const response = await this.request({
|
|
15444
|
+
path: `/subscriber-inbox/unread-count`,
|
|
15445
|
+
method: "GET",
|
|
15446
|
+
headers: headerParameters,
|
|
15447
|
+
query: queryParameters
|
|
15448
|
+
}, initOverrides);
|
|
15449
|
+
return new VoidApiResponse(response);
|
|
15450
|
+
}
|
|
15451
|
+
/**
|
|
15452
|
+
* Get the unread notification count for the authenticated subscriber.
|
|
15453
|
+
* Get unread count
|
|
15454
|
+
*/
|
|
15455
|
+
async getSubscriberUnreadCount(initOverrides) {
|
|
15456
|
+
await this.getSubscriberUnreadCountRaw(initOverrides);
|
|
15457
|
+
}
|
|
15053
15458
|
/**
|
|
15054
15459
|
* Get the count of unread in-app notifications for a subscriber.
|
|
15055
15460
|
* Get unread notification count
|
|
@@ -15132,6 +15537,50 @@ var InboxApi = class extends BaseAPI {
|
|
|
15132
15537
|
const response = await this.listInboxRaw({ subscriberId, externalId, category, includeRead, includeArchived, limit, offset, cursor }, initOverrides);
|
|
15133
15538
|
return await response.value();
|
|
15134
15539
|
}
|
|
15540
|
+
/**
|
|
15541
|
+
* List notifications for the authenticated subscriber. Supports cursor-based pagination.
|
|
15542
|
+
* List subscriber notifications
|
|
15543
|
+
*/
|
|
15544
|
+
async listSubscriberNotificationsRaw(requestParameters, initOverrides) {
|
|
15545
|
+
const queryParameters = {};
|
|
15546
|
+
if (requestParameters["category"] != null) {
|
|
15547
|
+
queryParameters["category"] = requestParameters["category"];
|
|
15548
|
+
}
|
|
15549
|
+
if (requestParameters["includeRead"] != null) {
|
|
15550
|
+
queryParameters["include_read"] = requestParameters["includeRead"];
|
|
15551
|
+
}
|
|
15552
|
+
if (requestParameters["includeArchived"] != null) {
|
|
15553
|
+
queryParameters["include_archived"] = requestParameters["includeArchived"];
|
|
15554
|
+
}
|
|
15555
|
+
if (requestParameters["limit"] != null) {
|
|
15556
|
+
queryParameters["limit"] = requestParameters["limit"];
|
|
15557
|
+
}
|
|
15558
|
+
if (requestParameters["cursor"] != null) {
|
|
15559
|
+
queryParameters["cursor"] = requestParameters["cursor"];
|
|
15560
|
+
}
|
|
15561
|
+
const headerParameters = {};
|
|
15562
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15563
|
+
const token = this.configuration.accessToken;
|
|
15564
|
+
const tokenString = await token("EndUserToken", []);
|
|
15565
|
+
if (tokenString) {
|
|
15566
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15567
|
+
}
|
|
15568
|
+
}
|
|
15569
|
+
const response = await this.request({
|
|
15570
|
+
path: `/subscriber-inbox`,
|
|
15571
|
+
method: "GET",
|
|
15572
|
+
headers: headerParameters,
|
|
15573
|
+
query: queryParameters
|
|
15574
|
+
}, initOverrides);
|
|
15575
|
+
return new VoidApiResponse(response);
|
|
15576
|
+
}
|
|
15577
|
+
/**
|
|
15578
|
+
* List notifications for the authenticated subscriber. Supports cursor-based pagination.
|
|
15579
|
+
* List subscriber notifications
|
|
15580
|
+
*/
|
|
15581
|
+
async listSubscriberNotifications(category, includeRead, includeArchived, limit, cursor, initOverrides) {
|
|
15582
|
+
await this.listSubscriberNotificationsRaw({ category, includeRead, includeArchived, limit, cursor }, initOverrides);
|
|
15583
|
+
}
|
|
15135
15584
|
/**
|
|
15136
15585
|
* Mark all unread in-app notifications as read for a subscriber. Optionally filter by category.
|
|
15137
15586
|
* Mark all notifications as read
|
|
@@ -15166,6 +15615,35 @@ var InboxApi = class extends BaseAPI {
|
|
|
15166
15615
|
const response = await this.markAllInboxReadRaw({ markAllInboxReadRequest }, initOverrides);
|
|
15167
15616
|
return await response.value();
|
|
15168
15617
|
}
|
|
15618
|
+
/**
|
|
15619
|
+
* Mark all notifications as read
|
|
15620
|
+
*/
|
|
15621
|
+
async markAllSubscriberNotificationsReadRaw(requestParameters, initOverrides) {
|
|
15622
|
+
const queryParameters = {};
|
|
15623
|
+
const headerParameters = {};
|
|
15624
|
+
headerParameters["Content-Type"] = "application/json";
|
|
15625
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15626
|
+
const token = this.configuration.accessToken;
|
|
15627
|
+
const tokenString = await token("EndUserToken", []);
|
|
15628
|
+
if (tokenString) {
|
|
15629
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15630
|
+
}
|
|
15631
|
+
}
|
|
15632
|
+
const response = await this.request({
|
|
15633
|
+
path: `/subscriber-inbox/read-all`,
|
|
15634
|
+
method: "POST",
|
|
15635
|
+
headers: headerParameters,
|
|
15636
|
+
query: queryParameters,
|
|
15637
|
+
body: MarkAllSubscriberNotificationsReadRequestToJSON(requestParameters["markAllSubscriberNotificationsReadRequest"])
|
|
15638
|
+
}, initOverrides);
|
|
15639
|
+
return new VoidApiResponse(response);
|
|
15640
|
+
}
|
|
15641
|
+
/**
|
|
15642
|
+
* Mark all notifications as read
|
|
15643
|
+
*/
|
|
15644
|
+
async markAllSubscriberNotificationsRead(markAllSubscriberNotificationsReadRequest, initOverrides) {
|
|
15645
|
+
await this.markAllSubscriberNotificationsReadRaw({ markAllSubscriberNotificationsReadRequest }, initOverrides);
|
|
15646
|
+
}
|
|
15169
15647
|
/**
|
|
15170
15648
|
* Mark a specific in-app notification as read.
|
|
15171
15649
|
* Mark notification as read
|
|
@@ -15200,6 +15678,39 @@ var InboxApi = class extends BaseAPI {
|
|
|
15200
15678
|
const response = await this.markInboxReadRaw({ id, markInboxReadRequest }, initOverrides);
|
|
15201
15679
|
return await response.value();
|
|
15202
15680
|
}
|
|
15681
|
+
/**
|
|
15682
|
+
* Mark notification as read
|
|
15683
|
+
*/
|
|
15684
|
+
async markSubscriberNotificationReadRaw(requestParameters, initOverrides) {
|
|
15685
|
+
if (requestParameters["id"] == null) {
|
|
15686
|
+
throw new RequiredError(
|
|
15687
|
+
"id",
|
|
15688
|
+
'Required parameter "id" was null or undefined when calling markSubscriberNotificationRead().'
|
|
15689
|
+
);
|
|
15690
|
+
}
|
|
15691
|
+
const queryParameters = {};
|
|
15692
|
+
const headerParameters = {};
|
|
15693
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15694
|
+
const token = this.configuration.accessToken;
|
|
15695
|
+
const tokenString = await token("EndUserToken", []);
|
|
15696
|
+
if (tokenString) {
|
|
15697
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15698
|
+
}
|
|
15699
|
+
}
|
|
15700
|
+
const response = await this.request({
|
|
15701
|
+
path: `/subscriber-inbox/{id}/read`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters["id"]))),
|
|
15702
|
+
method: "POST",
|
|
15703
|
+
headers: headerParameters,
|
|
15704
|
+
query: queryParameters
|
|
15705
|
+
}, initOverrides);
|
|
15706
|
+
return new VoidApiResponse(response);
|
|
15707
|
+
}
|
|
15708
|
+
/**
|
|
15709
|
+
* Mark notification as read
|
|
15710
|
+
*/
|
|
15711
|
+
async markSubscriberNotificationRead(id, initOverrides) {
|
|
15712
|
+
await this.markSubscriberNotificationReadRaw({ id }, initOverrides);
|
|
15713
|
+
}
|
|
15203
15714
|
/**
|
|
15204
15715
|
* Send in-app notifications to multiple subscribers in a single request (max 100).
|
|
15205
15716
|
* Send batch in-app notifications
|
|
@@ -15268,6 +15779,43 @@ var InboxApi = class extends BaseAPI {
|
|
|
15268
15779
|
const response = await this.sendInAppRaw({ sendInAppRequest }, initOverrides);
|
|
15269
15780
|
return await response.value();
|
|
15270
15781
|
}
|
|
15782
|
+
/**
|
|
15783
|
+
* Update notification channel preferences for specific categories or globally.
|
|
15784
|
+
* Update subscriber preferences
|
|
15785
|
+
*/
|
|
15786
|
+
async updateSubscriberPreferencesRaw(requestParameters, initOverrides) {
|
|
15787
|
+
if (requestParameters["updateSubscriberPreferencesRequest"] == null) {
|
|
15788
|
+
throw new RequiredError(
|
|
15789
|
+
"updateSubscriberPreferencesRequest",
|
|
15790
|
+
'Required parameter "updateSubscriberPreferencesRequest" was null or undefined when calling updateSubscriberPreferences().'
|
|
15791
|
+
);
|
|
15792
|
+
}
|
|
15793
|
+
const queryParameters = {};
|
|
15794
|
+
const headerParameters = {};
|
|
15795
|
+
headerParameters["Content-Type"] = "application/json";
|
|
15796
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
15797
|
+
const token = this.configuration.accessToken;
|
|
15798
|
+
const tokenString = await token("EndUserToken", []);
|
|
15799
|
+
if (tokenString) {
|
|
15800
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
15801
|
+
}
|
|
15802
|
+
}
|
|
15803
|
+
const response = await this.request({
|
|
15804
|
+
path: `/subscriber-inbox/preferences`,
|
|
15805
|
+
method: "PUT",
|
|
15806
|
+
headers: headerParameters,
|
|
15807
|
+
query: queryParameters,
|
|
15808
|
+
body: UpdateSubscriberPreferencesRequestToJSON(requestParameters["updateSubscriberPreferencesRequest"])
|
|
15809
|
+
}, initOverrides);
|
|
15810
|
+
return new VoidApiResponse(response);
|
|
15811
|
+
}
|
|
15812
|
+
/**
|
|
15813
|
+
* Update notification channel preferences for specific categories or globally.
|
|
15814
|
+
* Update subscriber preferences
|
|
15815
|
+
*/
|
|
15816
|
+
async updateSubscriberPreferences(updateSubscriberPreferencesRequest, initOverrides) {
|
|
15817
|
+
await this.updateSubscriberPreferencesRaw({ updateSubscriberPreferencesRequest }, initOverrides);
|
|
15818
|
+
}
|
|
15271
15819
|
};
|
|
15272
15820
|
|
|
15273
15821
|
// src/src/apis/PushApi.ts
|
|
@@ -19459,6 +20007,18 @@ var SDK_VERSION = "0.1.0";
|
|
|
19459
20007
|
ForgotPasswordRequestFromJSONTyped,
|
|
19460
20008
|
ForgotPasswordRequestToJSON,
|
|
19461
20009
|
ForgotPasswordRequestToJSONTyped,
|
|
20010
|
+
GenerateSubscriberToken200ResponseDataFromJSON,
|
|
20011
|
+
GenerateSubscriberToken200ResponseDataFromJSONTyped,
|
|
20012
|
+
GenerateSubscriberToken200ResponseDataToJSON,
|
|
20013
|
+
GenerateSubscriberToken200ResponseDataToJSONTyped,
|
|
20014
|
+
GenerateSubscriberToken200ResponseFromJSON,
|
|
20015
|
+
GenerateSubscriberToken200ResponseFromJSONTyped,
|
|
20016
|
+
GenerateSubscriberToken200ResponseToJSON,
|
|
20017
|
+
GenerateSubscriberToken200ResponseToJSONTyped,
|
|
20018
|
+
GenerateSubscriberTokenRequestFromJSON,
|
|
20019
|
+
GenerateSubscriberTokenRequestFromJSONTyped,
|
|
20020
|
+
GenerateSubscriberTokenRequestToJSON,
|
|
20021
|
+
GenerateSubscriberTokenRequestToJSONTyped,
|
|
19462
20022
|
GenerateWaaSPortalToken201ResponseFromJSON,
|
|
19463
20023
|
GenerateWaaSPortalToken201ResponseFromJSONTyped,
|
|
19464
20024
|
GenerateWaaSPortalToken201ResponseToJSON,
|
|
@@ -19548,6 +20108,10 @@ var SDK_VERSION = "0.1.0";
|
|
|
19548
20108
|
MarkAllReadResponseFromJSONTyped,
|
|
19549
20109
|
MarkAllReadResponseToJSON,
|
|
19550
20110
|
MarkAllReadResponseToJSONTyped,
|
|
20111
|
+
MarkAllSubscriberNotificationsReadRequestFromJSON,
|
|
20112
|
+
MarkAllSubscriberNotificationsReadRequestFromJSONTyped,
|
|
20113
|
+
MarkAllSubscriberNotificationsReadRequestToJSON,
|
|
20114
|
+
MarkAllSubscriberNotificationsReadRequestToJSONTyped,
|
|
19551
20115
|
MarkInboxReadRequestFromJSON,
|
|
19552
20116
|
MarkInboxReadRequestFromJSONTyped,
|
|
19553
20117
|
MarkInboxReadRequestToJSON,
|
|
@@ -20233,6 +20797,15 @@ var SDK_VERSION = "0.1.0";
|
|
|
20233
20797
|
UpdateEndUserRequestFromJSONTyped,
|
|
20234
20798
|
UpdateEndUserRequestToJSON,
|
|
20235
20799
|
UpdateEndUserRequestToJSONTyped,
|
|
20800
|
+
UpdateSubscriberPreferencesRequestFromJSON,
|
|
20801
|
+
UpdateSubscriberPreferencesRequestFromJSONTyped,
|
|
20802
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum,
|
|
20803
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerFromJSON,
|
|
20804
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerFromJSONTyped,
|
|
20805
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerToJSON,
|
|
20806
|
+
UpdateSubscriberPreferencesRequestPreferencesInnerToJSONTyped,
|
|
20807
|
+
UpdateSubscriberPreferencesRequestToJSON,
|
|
20808
|
+
UpdateSubscriberPreferencesRequestToJSONTyped,
|
|
20236
20809
|
UpdateSubscriberRequestFromJSON,
|
|
20237
20810
|
UpdateSubscriberRequestFromJSONTyped,
|
|
20238
20811
|
UpdateSubscriberRequestStatusEnum,
|
|
@@ -20645,6 +21218,9 @@ var SDK_VERSION = "0.1.0";
|
|
|
20645
21218
|
instanceOfEndUserDeleteResponse,
|
|
20646
21219
|
instanceOfEndUserDeleteResponseData,
|
|
20647
21220
|
instanceOfForgotPasswordRequest,
|
|
21221
|
+
instanceOfGenerateSubscriberToken200Response,
|
|
21222
|
+
instanceOfGenerateSubscriberToken200ResponseData,
|
|
21223
|
+
instanceOfGenerateSubscriberTokenRequest,
|
|
20648
21224
|
instanceOfGenerateWaaSPortalToken201Response,
|
|
20649
21225
|
instanceOfGetWaaSEndpoint200Response,
|
|
20650
21226
|
instanceOfGetWaaSUsage200Response,
|
|
@@ -20664,6 +21240,7 @@ var SDK_VERSION = "0.1.0";
|
|
|
20664
21240
|
instanceOfMarkAllInboxReadRequest,
|
|
20665
21241
|
instanceOfMarkAllReadData,
|
|
20666
21242
|
instanceOfMarkAllReadResponse,
|
|
21243
|
+
instanceOfMarkAllSubscriberNotificationsReadRequest,
|
|
20667
21244
|
instanceOfMarkInboxReadRequest,
|
|
20668
21245
|
instanceOfMfaBackupCodesResponse,
|
|
20669
21246
|
instanceOfMfaBackupCodesResponseData,
|
|
@@ -20829,6 +21406,8 @@ var SDK_VERSION = "0.1.0";
|
|
|
20829
21406
|
instanceOfUnsubscribeResponse,
|
|
20830
21407
|
instanceOfUpdateCategoryRequest,
|
|
20831
21408
|
instanceOfUpdateEndUserRequest,
|
|
21409
|
+
instanceOfUpdateSubscriberPreferencesRequest,
|
|
21410
|
+
instanceOfUpdateSubscriberPreferencesRequestPreferencesInner,
|
|
20832
21411
|
instanceOfUpdateSubscriberRequest,
|
|
20833
21412
|
instanceOfUpdateTemplateRequest,
|
|
20834
21413
|
instanceOfUpdateTopicRequest,
|