@zyphr-dev/node-sdk 0.1.42 → 0.1.43
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 +1763 -321
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2122 -643
- package/dist/index.d.ts +2122 -643
- package/dist/index.js +1582 -316
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +35 -1
- package/src/src/apis/AuthUserDirectoryApi.ts +54 -36
- package/src/src/apis/DomainsApi.ts +7 -6
- package/src/src/apis/InboxApi.ts +78 -54
- package/src/src/apis/TemplatesApi.ts +10 -6
- package/src/src/apis/WaaSDeliveriesApi.ts +17 -12
- package/src/src/apis/WaaSEndpointsApi.ts +50 -30
- package/src/src/apis/WaaSEventTypesApi.ts +17 -12
- package/src/src/models/CloseWaaSEndpointCircuit200Response.ts +88 -0
- package/src/src/models/CloseWaaSEndpointCircuit200ResponseData.ts +76 -0
- package/src/src/models/GetEndUserById200Response.ts +88 -0
- package/src/src/models/GetEndUserClaims200Response.ts +88 -0
- package/src/src/models/GetEndUserClaims200ResponseData.ts +65 -0
- package/src/src/models/GetSubscriberInboxPreferences200Response.ts +73 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseData.ts +88 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.ts +88 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.ts +97 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobal.ts +73 -0
- package/src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.ts +94 -0
- package/src/src/models/GetSubscriberNotification200Response.ts +73 -0
- package/src/src/models/GetSubscriberUnreadCount200Response.ts +73 -0
- package/src/src/models/GetWaaSDelivery200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointCircuit200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointCircuit200ResponseData.ts +123 -0
- package/src/src/models/GetWaaSEndpointMetrics200Response.ts +88 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseData.ts +99 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseDataHealth.ts +87 -0
- package/src/src/models/GetWaaSEndpointMetrics200ResponseDataWindowsValue.ts +126 -0
- package/src/src/models/InviteEndUser200Response.ts +88 -0
- package/src/src/models/InviteEndUser200ResponseData.ts +81 -0
- package/src/src/models/ListEndUsers200Response.ts +88 -0
- package/src/src/models/{ListWorkflowExecutions200ResponseMeta.ts → ListEndUsers200ResponseMeta.ts} +15 -15
- package/src/src/models/ListWorkflowExecutions200Response.ts +11 -11
- package/src/src/models/MarkAllSubscriberNotificationsRead200Response.ts +73 -0
- package/src/src/models/RotateWaaSEndpointSecret200Response.ts +88 -0
- package/src/src/models/RotateWaaSEndpointSecret200ResponseData.ts +66 -0
- package/src/src/models/SendTemplateTestEmail202Response.ts +90 -0
- package/src/src/models/SendTemplateTestEmail202ResponseData.ts +120 -0
- package/src/src/models/SendTemplateTestEmail202ResponseMeta.ts +66 -0
- package/src/src/models/SmsListResponse.ts +10 -10
- package/src/src/models/UpdateSubscriberPreferences200Response.ts +73 -0
- package/src/src/models/UpdateSubscriberPreferences200ResponseData.ts +81 -0
- package/src/src/models/UpdateSubscriberPreferences200ResponseDataPreferencesInner.ts +102 -0
- package/src/src/models/UpdateWaaSEndpoint200Response.ts +88 -0
- package/src/src/models/UpdateWaaSEventType200Response.ts +88 -0
- package/src/src/models/index.ts +35 -1
package/dist/index.js
CHANGED
|
@@ -2087,6 +2087,93 @@ function CategoryResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
2087
2087
|
};
|
|
2088
2088
|
}
|
|
2089
2089
|
|
|
2090
|
+
// src/src/models/GetDomain200ResponseMeta.ts
|
|
2091
|
+
function instanceOfGetDomain200ResponseMeta(value) {
|
|
2092
|
+
return true;
|
|
2093
|
+
}
|
|
2094
|
+
function GetDomain200ResponseMetaFromJSON(json) {
|
|
2095
|
+
return GetDomain200ResponseMetaFromJSONTyped(json, false);
|
|
2096
|
+
}
|
|
2097
|
+
function GetDomain200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
2098
|
+
if (json == null) {
|
|
2099
|
+
return json;
|
|
2100
|
+
}
|
|
2101
|
+
return {
|
|
2102
|
+
"requestId": json["request_id"] == null ? void 0 : json["request_id"]
|
|
2103
|
+
};
|
|
2104
|
+
}
|
|
2105
|
+
function GetDomain200ResponseMetaToJSON(json) {
|
|
2106
|
+
return GetDomain200ResponseMetaToJSONTyped(json, false);
|
|
2107
|
+
}
|
|
2108
|
+
function GetDomain200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2109
|
+
if (value == null) {
|
|
2110
|
+
return value;
|
|
2111
|
+
}
|
|
2112
|
+
return {
|
|
2113
|
+
"request_id": value["requestId"]
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
// src/src/models/CloseWaaSEndpointCircuit200ResponseData.ts
|
|
2118
|
+
var CloseWaaSEndpointCircuit200ResponseDataStateEnum = {
|
|
2119
|
+
CLOSED: "closed"
|
|
2120
|
+
};
|
|
2121
|
+
function instanceOfCloseWaaSEndpointCircuit200ResponseData(value) {
|
|
2122
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
2123
|
+
return true;
|
|
2124
|
+
}
|
|
2125
|
+
function CloseWaaSEndpointCircuit200ResponseDataFromJSON(json) {
|
|
2126
|
+
return CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, false);
|
|
2127
|
+
}
|
|
2128
|
+
function CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
2129
|
+
if (json == null) {
|
|
2130
|
+
return json;
|
|
2131
|
+
}
|
|
2132
|
+
return {
|
|
2133
|
+
"state": json["state"]
|
|
2134
|
+
};
|
|
2135
|
+
}
|
|
2136
|
+
function CloseWaaSEndpointCircuit200ResponseDataToJSON(json) {
|
|
2137
|
+
return CloseWaaSEndpointCircuit200ResponseDataToJSONTyped(json, false);
|
|
2138
|
+
}
|
|
2139
|
+
function CloseWaaSEndpointCircuit200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2140
|
+
if (value == null) {
|
|
2141
|
+
return value;
|
|
2142
|
+
}
|
|
2143
|
+
return {
|
|
2144
|
+
"state": value["state"]
|
|
2145
|
+
};
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
// src/src/models/CloseWaaSEndpointCircuit200Response.ts
|
|
2149
|
+
function instanceOfCloseWaaSEndpointCircuit200Response(value) {
|
|
2150
|
+
return true;
|
|
2151
|
+
}
|
|
2152
|
+
function CloseWaaSEndpointCircuit200ResponseFromJSON(json) {
|
|
2153
|
+
return CloseWaaSEndpointCircuit200ResponseFromJSONTyped(json, false);
|
|
2154
|
+
}
|
|
2155
|
+
function CloseWaaSEndpointCircuit200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2156
|
+
if (json == null) {
|
|
2157
|
+
return json;
|
|
2158
|
+
}
|
|
2159
|
+
return {
|
|
2160
|
+
"data": json["data"] == null ? void 0 : CloseWaaSEndpointCircuit200ResponseDataFromJSON(json["data"]),
|
|
2161
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
2162
|
+
};
|
|
2163
|
+
}
|
|
2164
|
+
function CloseWaaSEndpointCircuit200ResponseToJSON(json) {
|
|
2165
|
+
return CloseWaaSEndpointCircuit200ResponseToJSONTyped(json, false);
|
|
2166
|
+
}
|
|
2167
|
+
function CloseWaaSEndpointCircuit200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
2168
|
+
if (value == null) {
|
|
2169
|
+
return value;
|
|
2170
|
+
}
|
|
2171
|
+
return {
|
|
2172
|
+
"data": CloseWaaSEndpointCircuit200ResponseDataToJSON(value["data"]),
|
|
2173
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
2174
|
+
};
|
|
2175
|
+
}
|
|
2176
|
+
|
|
2090
2177
|
// src/src/models/ConfirmEmailVerificationRequest.ts
|
|
2091
2178
|
function instanceOfConfirmEmailVerificationRequest(value) {
|
|
2092
2179
|
if (!("token" in value) || value["token"] === void 0) return false;
|
|
@@ -3351,33 +3438,6 @@ function CreateWorkflowRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3351
3438
|
};
|
|
3352
3439
|
}
|
|
3353
3440
|
|
|
3354
|
-
// src/src/models/GetDomain200ResponseMeta.ts
|
|
3355
|
-
function instanceOfGetDomain200ResponseMeta(value) {
|
|
3356
|
-
return true;
|
|
3357
|
-
}
|
|
3358
|
-
function GetDomain200ResponseMetaFromJSON(json) {
|
|
3359
|
-
return GetDomain200ResponseMetaFromJSONTyped(json, false);
|
|
3360
|
-
}
|
|
3361
|
-
function GetDomain200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
3362
|
-
if (json == null) {
|
|
3363
|
-
return json;
|
|
3364
|
-
}
|
|
3365
|
-
return {
|
|
3366
|
-
"requestId": json["request_id"] == null ? void 0 : json["request_id"]
|
|
3367
|
-
};
|
|
3368
|
-
}
|
|
3369
|
-
function GetDomain200ResponseMetaToJSON(json) {
|
|
3370
|
-
return GetDomain200ResponseMetaToJSONTyped(json, false);
|
|
3371
|
-
}
|
|
3372
|
-
function GetDomain200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
3373
|
-
if (value == null) {
|
|
3374
|
-
return value;
|
|
3375
|
-
}
|
|
3376
|
-
return {
|
|
3377
|
-
"request_id": value["requestId"]
|
|
3378
|
-
};
|
|
3379
|
-
}
|
|
3380
|
-
|
|
3381
3441
|
// src/src/models/DeleteDomainResponseData.ts
|
|
3382
3442
|
function instanceOfDeleteDomainResponseData(value) {
|
|
3383
3443
|
if (!("id" in value) || value["id"] === void 0) return false;
|
|
@@ -4946,203 +5006,858 @@ function GetDomain200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
4946
5006
|
};
|
|
4947
5007
|
}
|
|
4948
5008
|
|
|
4949
|
-
// src/src/models/
|
|
4950
|
-
|
|
4951
|
-
ACTIVE: "active",
|
|
4952
|
-
PAUSED: "paused",
|
|
4953
|
-
DISABLED: "disabled"
|
|
4954
|
-
};
|
|
4955
|
-
function instanceOfWaaSEndpoint(value) {
|
|
5009
|
+
// src/src/models/GetEndUserById200Response.ts
|
|
5010
|
+
function instanceOfGetEndUserById200Response(value) {
|
|
4956
5011
|
return true;
|
|
4957
5012
|
}
|
|
4958
|
-
function
|
|
4959
|
-
return
|
|
5013
|
+
function GetEndUserById200ResponseFromJSON(json) {
|
|
5014
|
+
return GetEndUserById200ResponseFromJSONTyped(json, false);
|
|
4960
5015
|
}
|
|
4961
|
-
function
|
|
5016
|
+
function GetEndUserById200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5017
|
+
if (json == null) {
|
|
5018
|
+
return json;
|
|
5019
|
+
}
|
|
5020
|
+
return {
|
|
5021
|
+
"data": json["data"] == null ? void 0 : AuthUserFromJSON(json["data"]),
|
|
5022
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
5023
|
+
};
|
|
5024
|
+
}
|
|
5025
|
+
function GetEndUserById200ResponseToJSON(json) {
|
|
5026
|
+
return GetEndUserById200ResponseToJSONTyped(json, false);
|
|
5027
|
+
}
|
|
5028
|
+
function GetEndUserById200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5029
|
+
if (value == null) {
|
|
5030
|
+
return value;
|
|
5031
|
+
}
|
|
5032
|
+
return {
|
|
5033
|
+
"data": AuthUserToJSON(value["data"]),
|
|
5034
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
5035
|
+
};
|
|
5036
|
+
}
|
|
5037
|
+
|
|
5038
|
+
// src/src/models/GetEndUserClaims200ResponseData.ts
|
|
5039
|
+
function instanceOfGetEndUserClaims200ResponseData(value) {
|
|
5040
|
+
return true;
|
|
5041
|
+
}
|
|
5042
|
+
function GetEndUserClaims200ResponseDataFromJSON(json) {
|
|
5043
|
+
return GetEndUserClaims200ResponseDataFromJSONTyped(json, false);
|
|
5044
|
+
}
|
|
5045
|
+
function GetEndUserClaims200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
5046
|
+
if (json == null) {
|
|
5047
|
+
return json;
|
|
5048
|
+
}
|
|
5049
|
+
return {
|
|
5050
|
+
"claims": json["claims"] == null ? void 0 : json["claims"]
|
|
5051
|
+
};
|
|
5052
|
+
}
|
|
5053
|
+
function GetEndUserClaims200ResponseDataToJSON(json) {
|
|
5054
|
+
return GetEndUserClaims200ResponseDataToJSONTyped(json, false);
|
|
5055
|
+
}
|
|
5056
|
+
function GetEndUserClaims200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5057
|
+
if (value == null) {
|
|
5058
|
+
return value;
|
|
5059
|
+
}
|
|
5060
|
+
return {
|
|
5061
|
+
"claims": value["claims"]
|
|
5062
|
+
};
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
// src/src/models/GetEndUserClaims200Response.ts
|
|
5066
|
+
function instanceOfGetEndUserClaims200Response(value) {
|
|
5067
|
+
return true;
|
|
5068
|
+
}
|
|
5069
|
+
function GetEndUserClaims200ResponseFromJSON(json) {
|
|
5070
|
+
return GetEndUserClaims200ResponseFromJSONTyped(json, false);
|
|
5071
|
+
}
|
|
5072
|
+
function GetEndUserClaims200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5073
|
+
if (json == null) {
|
|
5074
|
+
return json;
|
|
5075
|
+
}
|
|
5076
|
+
return {
|
|
5077
|
+
"data": json["data"] == null ? void 0 : GetEndUserClaims200ResponseDataFromJSON(json["data"]),
|
|
5078
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
5079
|
+
};
|
|
5080
|
+
}
|
|
5081
|
+
function GetEndUserClaims200ResponseToJSON(json) {
|
|
5082
|
+
return GetEndUserClaims200ResponseToJSONTyped(json, false);
|
|
5083
|
+
}
|
|
5084
|
+
function GetEndUserClaims200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5085
|
+
if (value == null) {
|
|
5086
|
+
return value;
|
|
5087
|
+
}
|
|
5088
|
+
return {
|
|
5089
|
+
"data": GetEndUserClaims200ResponseDataToJSON(value["data"]),
|
|
5090
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
5091
|
+
};
|
|
5092
|
+
}
|
|
5093
|
+
|
|
5094
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory.ts
|
|
5095
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory(value) {
|
|
5096
|
+
return true;
|
|
5097
|
+
}
|
|
5098
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON(json) {
|
|
5099
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped(json, false);
|
|
5100
|
+
}
|
|
5101
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
4962
5102
|
if (json == null) {
|
|
4963
5103
|
return json;
|
|
4964
5104
|
}
|
|
4965
5105
|
return {
|
|
4966
5106
|
"id": json["id"] == null ? void 0 : json["id"],
|
|
4967
|
-
"
|
|
4968
|
-
"
|
|
4969
|
-
"
|
|
4970
|
-
"
|
|
4971
|
-
"status": json["status"] == null ? void 0 : json["status"],
|
|
4972
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
4973
|
-
"updatedAt": json["updated_at"] == null ? void 0 : new Date(json["updated_at"])
|
|
5107
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
5108
|
+
"slug": json["slug"] == null ? void 0 : json["slug"],
|
|
5109
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
5110
|
+
"allowUnsubscribe": json["allow_unsubscribe"] == null ? void 0 : json["allow_unsubscribe"]
|
|
4974
5111
|
};
|
|
4975
5112
|
}
|
|
4976
|
-
function
|
|
4977
|
-
return
|
|
5113
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON(json) {
|
|
5114
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped(json, false);
|
|
4978
5115
|
}
|
|
4979
|
-
function
|
|
5116
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4980
5117
|
if (value == null) {
|
|
4981
5118
|
return value;
|
|
4982
5119
|
}
|
|
4983
5120
|
return {
|
|
4984
5121
|
"id": value["id"],
|
|
4985
|
-
"
|
|
4986
|
-
"
|
|
4987
|
-
"
|
|
4988
|
-
"
|
|
4989
|
-
"status": value["status"],
|
|
4990
|
-
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString(),
|
|
4991
|
-
"updated_at": value["updatedAt"] == null ? void 0 : value["updatedAt"].toISOString()
|
|
5122
|
+
"name": value["name"],
|
|
5123
|
+
"slug": value["slug"],
|
|
5124
|
+
"description": value["description"],
|
|
5125
|
+
"allow_unsubscribe": value["allowUnsubscribe"]
|
|
4992
5126
|
};
|
|
4993
5127
|
}
|
|
4994
5128
|
|
|
4995
|
-
// src/src/models/
|
|
4996
|
-
|
|
5129
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner.ts
|
|
5130
|
+
var GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum = {
|
|
5131
|
+
EMAIL: "email",
|
|
5132
|
+
PUSH: "push",
|
|
5133
|
+
SMS: "sms",
|
|
5134
|
+
IN_APP: "in_app"
|
|
5135
|
+
};
|
|
5136
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner(value) {
|
|
4997
5137
|
return true;
|
|
4998
5138
|
}
|
|
4999
|
-
function
|
|
5000
|
-
return
|
|
5139
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON(json) {
|
|
5140
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped(json, false);
|
|
5001
5141
|
}
|
|
5002
|
-
function
|
|
5142
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
5003
5143
|
if (json == null) {
|
|
5004
5144
|
return json;
|
|
5005
5145
|
}
|
|
5006
5146
|
return {
|
|
5007
|
-
"
|
|
5147
|
+
"channel": json["channel"] == null ? void 0 : json["channel"],
|
|
5148
|
+
"enabled": json["enabled"] == null ? void 0 : json["enabled"],
|
|
5149
|
+
"source": json["source"] == null ? void 0 : json["source"]
|
|
5008
5150
|
};
|
|
5009
5151
|
}
|
|
5010
|
-
function
|
|
5011
|
-
return
|
|
5152
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON(json) {
|
|
5153
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped(json, false);
|
|
5012
5154
|
}
|
|
5013
|
-
function
|
|
5155
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5014
5156
|
if (value == null) {
|
|
5015
5157
|
return value;
|
|
5016
5158
|
}
|
|
5017
5159
|
return {
|
|
5018
|
-
"
|
|
5160
|
+
"channel": value["channel"],
|
|
5161
|
+
"enabled": value["enabled"],
|
|
5162
|
+
"source": value["source"]
|
|
5019
5163
|
};
|
|
5020
5164
|
}
|
|
5021
5165
|
|
|
5022
|
-
// src/src/models/
|
|
5023
|
-
function
|
|
5166
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataCategoriesInner.ts
|
|
5167
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner(value) {
|
|
5024
5168
|
return true;
|
|
5025
5169
|
}
|
|
5026
|
-
function
|
|
5027
|
-
return
|
|
5170
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON(json) {
|
|
5171
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped(json, false);
|
|
5028
5172
|
}
|
|
5029
|
-
function
|
|
5173
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
5030
5174
|
if (json == null) {
|
|
5031
5175
|
return json;
|
|
5032
5176
|
}
|
|
5033
5177
|
return {
|
|
5034
|
-
"
|
|
5035
|
-
"
|
|
5036
|
-
"endpointsCount": json["endpoints_count"] == null ? void 0 : json["endpoints_count"],
|
|
5037
|
-
"endpointsLimit": json["endpoints_limit"] == null ? void 0 : json["endpoints_limit"],
|
|
5038
|
-
"eventsThisMonth": json["events_this_month"] == null ? void 0 : json["events_this_month"],
|
|
5039
|
-
"eventsLimit": json["events_limit"] == null ? void 0 : json["events_limit"]
|
|
5178
|
+
"category": json["category"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON(json["category"]),
|
|
5179
|
+
"channels": json["channels"] == null ? void 0 : json["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON)
|
|
5040
5180
|
};
|
|
5041
5181
|
}
|
|
5042
|
-
function
|
|
5043
|
-
return
|
|
5182
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON(json) {
|
|
5183
|
+
return GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped(json, false);
|
|
5044
5184
|
}
|
|
5045
|
-
function
|
|
5185
|
+
function GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5046
5186
|
if (value == null) {
|
|
5047
5187
|
return value;
|
|
5048
5188
|
}
|
|
5049
5189
|
return {
|
|
5050
|
-
"
|
|
5051
|
-
"
|
|
5052
|
-
"endpoints_count": value["endpointsCount"],
|
|
5053
|
-
"endpoints_limit": value["endpointsLimit"],
|
|
5054
|
-
"events_this_month": value["eventsThisMonth"],
|
|
5055
|
-
"events_limit": value["eventsLimit"]
|
|
5190
|
+
"category": GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON(value["category"]),
|
|
5191
|
+
"channels": value["channels"] == null ? void 0 : value["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON)
|
|
5056
5192
|
};
|
|
5057
5193
|
}
|
|
5058
5194
|
|
|
5059
|
-
// src/src/models/
|
|
5060
|
-
function
|
|
5195
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseDataGlobal.ts
|
|
5196
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal(value) {
|
|
5061
5197
|
return true;
|
|
5062
5198
|
}
|
|
5063
|
-
function
|
|
5064
|
-
return
|
|
5199
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON(json) {
|
|
5200
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped(json, false);
|
|
5065
5201
|
}
|
|
5066
|
-
function
|
|
5202
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped(json, ignoreDiscriminator) {
|
|
5067
5203
|
if (json == null) {
|
|
5068
5204
|
return json;
|
|
5069
5205
|
}
|
|
5070
5206
|
return {
|
|
5071
|
-
"
|
|
5207
|
+
"channels": json["channels"] == null ? void 0 : json["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON)
|
|
5072
5208
|
};
|
|
5073
5209
|
}
|
|
5074
|
-
function
|
|
5075
|
-
return
|
|
5210
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalToJSON(json) {
|
|
5211
|
+
return GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped(json, false);
|
|
5076
5212
|
}
|
|
5077
|
-
function
|
|
5213
|
+
function GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5078
5214
|
if (value == null) {
|
|
5079
5215
|
return value;
|
|
5080
5216
|
}
|
|
5081
5217
|
return {
|
|
5082
|
-
"
|
|
5218
|
+
"channels": value["channels"] == null ? void 0 : value["channels"].map(GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON)
|
|
5083
5219
|
};
|
|
5084
5220
|
}
|
|
5085
5221
|
|
|
5086
|
-
// src/src/models/
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
}
|
|
5093
|
-
function
|
|
5222
|
+
// src/src/models/GetSubscriberInboxPreferences200ResponseData.ts
|
|
5223
|
+
function instanceOfGetSubscriberInboxPreferences200ResponseData(value) {
|
|
5224
|
+
return true;
|
|
5225
|
+
}
|
|
5226
|
+
function GetSubscriberInboxPreferences200ResponseDataFromJSON(json) {
|
|
5227
|
+
return GetSubscriberInboxPreferences200ResponseDataFromJSONTyped(json, false);
|
|
5228
|
+
}
|
|
5229
|
+
function GetSubscriberInboxPreferences200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
5230
|
+
if (json == null) {
|
|
5231
|
+
return json;
|
|
5232
|
+
}
|
|
5233
|
+
return {
|
|
5234
|
+
"global": json["global"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON(json["global"]),
|
|
5235
|
+
"categories": json["categories"] == null ? void 0 : json["categories"].map(GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON)
|
|
5236
|
+
};
|
|
5237
|
+
}
|
|
5238
|
+
function GetSubscriberInboxPreferences200ResponseDataToJSON(json) {
|
|
5239
|
+
return GetSubscriberInboxPreferences200ResponseDataToJSONTyped(json, false);
|
|
5240
|
+
}
|
|
5241
|
+
function GetSubscriberInboxPreferences200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5242
|
+
if (value == null) {
|
|
5243
|
+
return value;
|
|
5244
|
+
}
|
|
5245
|
+
return {
|
|
5246
|
+
"global": GetSubscriberInboxPreferences200ResponseDataGlobalToJSON(value["global"]),
|
|
5247
|
+
"categories": value["categories"] == null ? void 0 : value["categories"].map(GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON)
|
|
5248
|
+
};
|
|
5249
|
+
}
|
|
5250
|
+
|
|
5251
|
+
// src/src/models/GetSubscriberInboxPreferences200Response.ts
|
|
5252
|
+
function instanceOfGetSubscriberInboxPreferences200Response(value) {
|
|
5253
|
+
return true;
|
|
5254
|
+
}
|
|
5255
|
+
function GetSubscriberInboxPreferences200ResponseFromJSON(json) {
|
|
5256
|
+
return GetSubscriberInboxPreferences200ResponseFromJSONTyped(json, false);
|
|
5257
|
+
}
|
|
5258
|
+
function GetSubscriberInboxPreferences200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5259
|
+
if (json == null) {
|
|
5260
|
+
return json;
|
|
5261
|
+
}
|
|
5262
|
+
return {
|
|
5263
|
+
"data": json["data"] == null ? void 0 : GetSubscriberInboxPreferences200ResponseDataFromJSON(json["data"])
|
|
5264
|
+
};
|
|
5265
|
+
}
|
|
5266
|
+
function GetSubscriberInboxPreferences200ResponseToJSON(json) {
|
|
5267
|
+
return GetSubscriberInboxPreferences200ResponseToJSONTyped(json, false);
|
|
5268
|
+
}
|
|
5269
|
+
function GetSubscriberInboxPreferences200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5270
|
+
if (value == null) {
|
|
5271
|
+
return value;
|
|
5272
|
+
}
|
|
5273
|
+
return {
|
|
5274
|
+
"data": GetSubscriberInboxPreferences200ResponseDataToJSON(value["data"])
|
|
5275
|
+
};
|
|
5276
|
+
}
|
|
5277
|
+
|
|
5278
|
+
// src/src/models/InAppNotification.ts
|
|
5279
|
+
var InAppNotificationPriorityEnum = {
|
|
5280
|
+
LOW: "low",
|
|
5281
|
+
NORMAL: "normal",
|
|
5282
|
+
HIGH: "high",
|
|
5283
|
+
URGENT: "urgent"
|
|
5284
|
+
};
|
|
5285
|
+
function instanceOfInAppNotification(value) {
|
|
5286
|
+
return true;
|
|
5287
|
+
}
|
|
5288
|
+
function InAppNotificationFromJSON(json) {
|
|
5289
|
+
return InAppNotificationFromJSONTyped(json, false);
|
|
5290
|
+
}
|
|
5291
|
+
function InAppNotificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
5292
|
+
if (json == null) {
|
|
5293
|
+
return json;
|
|
5294
|
+
}
|
|
5295
|
+
return {
|
|
5296
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
5297
|
+
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
5298
|
+
"title": json["title"] == null ? void 0 : json["title"],
|
|
5299
|
+
"body": json["body"] == null ? void 0 : json["body"],
|
|
5300
|
+
"actionUrl": json["action_url"] == null ? void 0 : json["action_url"],
|
|
5301
|
+
"actionLabel": json["action_label"] == null ? void 0 : json["action_label"],
|
|
5302
|
+
"imageUrl": json["image_url"] == null ? void 0 : json["image_url"],
|
|
5303
|
+
"icon": json["icon"] == null ? void 0 : json["icon"],
|
|
5304
|
+
"category": json["category"] == null ? void 0 : json["category"],
|
|
5305
|
+
"priority": json["priority"] == null ? void 0 : json["priority"],
|
|
5306
|
+
"data": json["data"] == null ? void 0 : json["data"],
|
|
5307
|
+
"tags": json["tags"] == null ? void 0 : json["tags"],
|
|
5308
|
+
"readAt": json["read_at"] == null ? void 0 : new Date(json["read_at"]),
|
|
5309
|
+
"archivedAt": json["archived_at"] == null ? void 0 : new Date(json["archived_at"]),
|
|
5310
|
+
"expiresAt": json["expires_at"] == null ? void 0 : new Date(json["expires_at"]),
|
|
5311
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
5312
|
+
};
|
|
5313
|
+
}
|
|
5314
|
+
function InAppNotificationToJSON(json) {
|
|
5315
|
+
return InAppNotificationToJSONTyped(json, false);
|
|
5316
|
+
}
|
|
5317
|
+
function InAppNotificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5318
|
+
if (value == null) {
|
|
5319
|
+
return value;
|
|
5320
|
+
}
|
|
5321
|
+
return {
|
|
5322
|
+
"id": value["id"],
|
|
5323
|
+
"subscriber_id": value["subscriberId"],
|
|
5324
|
+
"title": value["title"],
|
|
5325
|
+
"body": value["body"],
|
|
5326
|
+
"action_url": value["actionUrl"],
|
|
5327
|
+
"action_label": value["actionLabel"],
|
|
5328
|
+
"image_url": value["imageUrl"],
|
|
5329
|
+
"icon": value["icon"],
|
|
5330
|
+
"category": value["category"],
|
|
5331
|
+
"priority": value["priority"],
|
|
5332
|
+
"data": value["data"],
|
|
5333
|
+
"tags": value["tags"],
|
|
5334
|
+
"read_at": value["readAt"] == null ? void 0 : value["readAt"].toISOString(),
|
|
5335
|
+
"archived_at": value["archivedAt"] == null ? void 0 : value["archivedAt"].toISOString(),
|
|
5336
|
+
"expires_at": value["expiresAt"] == null ? void 0 : value["expiresAt"].toISOString(),
|
|
5337
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
5338
|
+
};
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
// src/src/models/GetSubscriberNotification200Response.ts
|
|
5342
|
+
function instanceOfGetSubscriberNotification200Response(value) {
|
|
5343
|
+
return true;
|
|
5344
|
+
}
|
|
5345
|
+
function GetSubscriberNotification200ResponseFromJSON(json) {
|
|
5346
|
+
return GetSubscriberNotification200ResponseFromJSONTyped(json, false);
|
|
5347
|
+
}
|
|
5348
|
+
function GetSubscriberNotification200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5349
|
+
if (json == null) {
|
|
5350
|
+
return json;
|
|
5351
|
+
}
|
|
5352
|
+
return {
|
|
5353
|
+
"data": json["data"] == null ? void 0 : InAppNotificationFromJSON(json["data"])
|
|
5354
|
+
};
|
|
5355
|
+
}
|
|
5356
|
+
function GetSubscriberNotification200ResponseToJSON(json) {
|
|
5357
|
+
return GetSubscriberNotification200ResponseToJSONTyped(json, false);
|
|
5358
|
+
}
|
|
5359
|
+
function GetSubscriberNotification200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5360
|
+
if (value == null) {
|
|
5361
|
+
return value;
|
|
5362
|
+
}
|
|
5363
|
+
return {
|
|
5364
|
+
"data": InAppNotificationToJSON(value["data"])
|
|
5365
|
+
};
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5368
|
+
// src/src/models/UnreadCountData.ts
|
|
5369
|
+
function instanceOfUnreadCountData(value) {
|
|
5370
|
+
return true;
|
|
5371
|
+
}
|
|
5372
|
+
function UnreadCountDataFromJSON(json) {
|
|
5373
|
+
return UnreadCountDataFromJSONTyped(json, false);
|
|
5374
|
+
}
|
|
5375
|
+
function UnreadCountDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
5376
|
+
if (json == null) {
|
|
5377
|
+
return json;
|
|
5378
|
+
}
|
|
5379
|
+
return {
|
|
5380
|
+
"unreadCount": json["unread_count"] == null ? void 0 : json["unread_count"]
|
|
5381
|
+
};
|
|
5382
|
+
}
|
|
5383
|
+
function UnreadCountDataToJSON(json) {
|
|
5384
|
+
return UnreadCountDataToJSONTyped(json, false);
|
|
5385
|
+
}
|
|
5386
|
+
function UnreadCountDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5387
|
+
if (value == null) {
|
|
5388
|
+
return value;
|
|
5389
|
+
}
|
|
5390
|
+
return {
|
|
5391
|
+
"unread_count": value["unreadCount"]
|
|
5392
|
+
};
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
// src/src/models/GetSubscriberUnreadCount200Response.ts
|
|
5396
|
+
function instanceOfGetSubscriberUnreadCount200Response(value) {
|
|
5397
|
+
return true;
|
|
5398
|
+
}
|
|
5399
|
+
function GetSubscriberUnreadCount200ResponseFromJSON(json) {
|
|
5400
|
+
return GetSubscriberUnreadCount200ResponseFromJSONTyped(json, false);
|
|
5401
|
+
}
|
|
5402
|
+
function GetSubscriberUnreadCount200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5403
|
+
if (json == null) {
|
|
5404
|
+
return json;
|
|
5405
|
+
}
|
|
5406
|
+
return {
|
|
5407
|
+
"data": json["data"] == null ? void 0 : UnreadCountDataFromJSON(json["data"])
|
|
5408
|
+
};
|
|
5409
|
+
}
|
|
5410
|
+
function GetSubscriberUnreadCount200ResponseToJSON(json) {
|
|
5411
|
+
return GetSubscriberUnreadCount200ResponseToJSONTyped(json, false);
|
|
5412
|
+
}
|
|
5413
|
+
function GetSubscriberUnreadCount200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5414
|
+
if (value == null) {
|
|
5415
|
+
return value;
|
|
5416
|
+
}
|
|
5417
|
+
return {
|
|
5418
|
+
"data": UnreadCountDataToJSON(value["data"])
|
|
5419
|
+
};
|
|
5420
|
+
}
|
|
5421
|
+
|
|
5422
|
+
// src/src/models/WaaSDelivery.ts
|
|
5423
|
+
var WaaSDeliveryStatusEnum = {
|
|
5424
|
+
PENDING: "pending",
|
|
5425
|
+
DELIVERING: "delivering",
|
|
5426
|
+
DELIVERED: "delivered",
|
|
5427
|
+
FAILED: "failed",
|
|
5428
|
+
RETRYING: "retrying",
|
|
5429
|
+
EXHAUSTED: "exhausted"
|
|
5430
|
+
};
|
|
5431
|
+
function instanceOfWaaSDelivery(value) {
|
|
5432
|
+
return true;
|
|
5433
|
+
}
|
|
5434
|
+
function WaaSDeliveryFromJSON(json) {
|
|
5435
|
+
return WaaSDeliveryFromJSONTyped(json, false);
|
|
5436
|
+
}
|
|
5437
|
+
function WaaSDeliveryFromJSONTyped(json, ignoreDiscriminator) {
|
|
5438
|
+
if (json == null) {
|
|
5439
|
+
return json;
|
|
5440
|
+
}
|
|
5441
|
+
return {
|
|
5442
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
5443
|
+
"applicationId": json["application_id"] == null ? void 0 : json["application_id"],
|
|
5444
|
+
"endpointId": json["endpoint_id"] == null ? void 0 : json["endpoint_id"],
|
|
5445
|
+
"eventId": json["event_id"] == null ? void 0 : json["event_id"],
|
|
5446
|
+
"eventType": json["event_type"] == null ? void 0 : json["event_type"],
|
|
5447
|
+
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
5448
|
+
"status": json["status"] == null ? void 0 : json["status"],
|
|
5449
|
+
"attempts": json["attempts"] == null ? void 0 : json["attempts"],
|
|
5450
|
+
"lastAttemptAt": json["last_attempt_at"] == null ? void 0 : new Date(json["last_attempt_at"]),
|
|
5451
|
+
"nextRetryAt": json["next_retry_at"] == null ? void 0 : new Date(json["next_retry_at"]),
|
|
5452
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
5453
|
+
};
|
|
5454
|
+
}
|
|
5455
|
+
function WaaSDeliveryToJSON(json) {
|
|
5456
|
+
return WaaSDeliveryToJSONTyped(json, false);
|
|
5457
|
+
}
|
|
5458
|
+
function WaaSDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5459
|
+
if (value == null) {
|
|
5460
|
+
return value;
|
|
5461
|
+
}
|
|
5462
|
+
return {
|
|
5463
|
+
"id": value["id"],
|
|
5464
|
+
"application_id": value["applicationId"],
|
|
5465
|
+
"endpoint_id": value["endpointId"],
|
|
5466
|
+
"event_id": value["eventId"],
|
|
5467
|
+
"event_type": value["eventType"],
|
|
5468
|
+
"tenant_id": value["tenantId"],
|
|
5469
|
+
"status": value["status"],
|
|
5470
|
+
"attempts": value["attempts"],
|
|
5471
|
+
"last_attempt_at": value["lastAttemptAt"] == null ? void 0 : value["lastAttemptAt"].toISOString(),
|
|
5472
|
+
"next_retry_at": value["nextRetryAt"] == null ? void 0 : value["nextRetryAt"].toISOString(),
|
|
5473
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
5474
|
+
};
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
// src/src/models/GetWaaSDelivery200Response.ts
|
|
5478
|
+
function instanceOfGetWaaSDelivery200Response(value) {
|
|
5479
|
+
return true;
|
|
5480
|
+
}
|
|
5481
|
+
function GetWaaSDelivery200ResponseFromJSON(json) {
|
|
5482
|
+
return GetWaaSDelivery200ResponseFromJSONTyped(json, false);
|
|
5483
|
+
}
|
|
5484
|
+
function GetWaaSDelivery200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5485
|
+
if (json == null) {
|
|
5486
|
+
return json;
|
|
5487
|
+
}
|
|
5488
|
+
return {
|
|
5489
|
+
"data": json["data"] == null ? void 0 : WaaSDeliveryFromJSON(json["data"]),
|
|
5490
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
5491
|
+
};
|
|
5492
|
+
}
|
|
5493
|
+
function GetWaaSDelivery200ResponseToJSON(json) {
|
|
5494
|
+
return GetWaaSDelivery200ResponseToJSONTyped(json, false);
|
|
5495
|
+
}
|
|
5496
|
+
function GetWaaSDelivery200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5497
|
+
if (value == null) {
|
|
5498
|
+
return value;
|
|
5499
|
+
}
|
|
5500
|
+
return {
|
|
5501
|
+
"data": WaaSDeliveryToJSON(value["data"]),
|
|
5502
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
5503
|
+
};
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5506
|
+
// src/src/models/WaaSEndpoint.ts
|
|
5507
|
+
var WaaSEndpointStatusEnum = {
|
|
5508
|
+
ACTIVE: "active",
|
|
5509
|
+
PAUSED: "paused",
|
|
5510
|
+
DISABLED: "disabled"
|
|
5511
|
+
};
|
|
5512
|
+
function instanceOfWaaSEndpoint(value) {
|
|
5513
|
+
return true;
|
|
5514
|
+
}
|
|
5515
|
+
function WaaSEndpointFromJSON(json) {
|
|
5516
|
+
return WaaSEndpointFromJSONTyped(json, false);
|
|
5517
|
+
}
|
|
5518
|
+
function WaaSEndpointFromJSONTyped(json, ignoreDiscriminator) {
|
|
5519
|
+
if (json == null) {
|
|
5520
|
+
return json;
|
|
5521
|
+
}
|
|
5522
|
+
return {
|
|
5523
|
+
"id": json["id"] == null ? void 0 : json["id"],
|
|
5524
|
+
"applicationId": json["application_id"] == null ? void 0 : json["application_id"],
|
|
5525
|
+
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
5526
|
+
"url": json["url"] == null ? void 0 : json["url"],
|
|
5527
|
+
"events": json["events"] == null ? void 0 : json["events"],
|
|
5528
|
+
"status": json["status"] == null ? void 0 : json["status"],
|
|
5529
|
+
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
5530
|
+
"updatedAt": json["updated_at"] == null ? void 0 : new Date(json["updated_at"])
|
|
5531
|
+
};
|
|
5532
|
+
}
|
|
5533
|
+
function WaaSEndpointToJSON(json) {
|
|
5534
|
+
return WaaSEndpointToJSONTyped(json, false);
|
|
5535
|
+
}
|
|
5536
|
+
function WaaSEndpointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5537
|
+
if (value == null) {
|
|
5538
|
+
return value;
|
|
5539
|
+
}
|
|
5540
|
+
return {
|
|
5541
|
+
"id": value["id"],
|
|
5542
|
+
"application_id": value["applicationId"],
|
|
5543
|
+
"tenant_id": value["tenantId"],
|
|
5544
|
+
"url": value["url"],
|
|
5545
|
+
"events": value["events"],
|
|
5546
|
+
"status": value["status"],
|
|
5547
|
+
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString(),
|
|
5548
|
+
"updated_at": value["updatedAt"] == null ? void 0 : value["updatedAt"].toISOString()
|
|
5549
|
+
};
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
// src/src/models/GetWaaSEndpoint200Response.ts
|
|
5553
|
+
function instanceOfGetWaaSEndpoint200Response(value) {
|
|
5554
|
+
return true;
|
|
5555
|
+
}
|
|
5556
|
+
function GetWaaSEndpoint200ResponseFromJSON(json) {
|
|
5557
|
+
return GetWaaSEndpoint200ResponseFromJSONTyped(json, false);
|
|
5558
|
+
}
|
|
5559
|
+
function GetWaaSEndpoint200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5560
|
+
if (json == null) {
|
|
5561
|
+
return json;
|
|
5562
|
+
}
|
|
5563
|
+
return {
|
|
5564
|
+
"data": json["data"] == null ? void 0 : WaaSEndpointFromJSON(json["data"])
|
|
5565
|
+
};
|
|
5566
|
+
}
|
|
5567
|
+
function GetWaaSEndpoint200ResponseToJSON(json) {
|
|
5568
|
+
return GetWaaSEndpoint200ResponseToJSONTyped(json, false);
|
|
5569
|
+
}
|
|
5570
|
+
function GetWaaSEndpoint200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5571
|
+
if (value == null) {
|
|
5572
|
+
return value;
|
|
5573
|
+
}
|
|
5574
|
+
return {
|
|
5575
|
+
"data": WaaSEndpointToJSON(value["data"])
|
|
5576
|
+
};
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
// src/src/models/GetWaaSEndpointCircuit200ResponseData.ts
|
|
5580
|
+
var GetWaaSEndpointCircuit200ResponseDataStateEnum = {
|
|
5581
|
+
CLOSED: "closed",
|
|
5582
|
+
OPEN: "open",
|
|
5583
|
+
HALF_OPEN: "half_open"
|
|
5584
|
+
};
|
|
5585
|
+
function instanceOfGetWaaSEndpointCircuit200ResponseData(value) {
|
|
5586
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
5587
|
+
if (!("failures" in value) || value["failures"] === void 0) return false;
|
|
5588
|
+
if (!("lastFailureAt" in value) || value["lastFailureAt"] === void 0) return false;
|
|
5589
|
+
if (!("openedAt" in value) || value["openedAt"] === void 0) return false;
|
|
5590
|
+
if (!("nextTestAt" in value) || value["nextTestAt"] === void 0) return false;
|
|
5591
|
+
if (!("recoveryAttempts" in value) || value["recoveryAttempts"] === void 0) return false;
|
|
5592
|
+
return true;
|
|
5593
|
+
}
|
|
5594
|
+
function GetWaaSEndpointCircuit200ResponseDataFromJSON(json) {
|
|
5595
|
+
return GetWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, false);
|
|
5596
|
+
}
|
|
5597
|
+
function GetWaaSEndpointCircuit200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
5598
|
+
if (json == null) {
|
|
5599
|
+
return json;
|
|
5600
|
+
}
|
|
5601
|
+
return {
|
|
5602
|
+
"state": json["state"],
|
|
5603
|
+
"failures": json["failures"],
|
|
5604
|
+
"lastFailureAt": json["last_failure_at"] == null ? null : new Date(json["last_failure_at"]),
|
|
5605
|
+
"openedAt": json["opened_at"] == null ? null : new Date(json["opened_at"]),
|
|
5606
|
+
"nextTestAt": json["next_test_at"] == null ? null : new Date(json["next_test_at"]),
|
|
5607
|
+
"recoveryAttempts": json["recovery_attempts"]
|
|
5608
|
+
};
|
|
5609
|
+
}
|
|
5610
|
+
function GetWaaSEndpointCircuit200ResponseDataToJSON(json) {
|
|
5611
|
+
return GetWaaSEndpointCircuit200ResponseDataToJSONTyped(json, false);
|
|
5612
|
+
}
|
|
5613
|
+
function GetWaaSEndpointCircuit200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5614
|
+
if (value == null) {
|
|
5615
|
+
return value;
|
|
5616
|
+
}
|
|
5617
|
+
return {
|
|
5618
|
+
"state": value["state"],
|
|
5619
|
+
"failures": value["failures"],
|
|
5620
|
+
"last_failure_at": value["lastFailureAt"] == null ? null : value["lastFailureAt"].toISOString(),
|
|
5621
|
+
"opened_at": value["openedAt"] == null ? null : value["openedAt"].toISOString(),
|
|
5622
|
+
"next_test_at": value["nextTestAt"] == null ? null : value["nextTestAt"].toISOString(),
|
|
5623
|
+
"recovery_attempts": value["recoveryAttempts"]
|
|
5624
|
+
};
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5627
|
+
// src/src/models/GetWaaSEndpointCircuit200Response.ts
|
|
5628
|
+
function instanceOfGetWaaSEndpointCircuit200Response(value) {
|
|
5629
|
+
return true;
|
|
5630
|
+
}
|
|
5631
|
+
function GetWaaSEndpointCircuit200ResponseFromJSON(json) {
|
|
5632
|
+
return GetWaaSEndpointCircuit200ResponseFromJSONTyped(json, false);
|
|
5633
|
+
}
|
|
5634
|
+
function GetWaaSEndpointCircuit200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5635
|
+
if (json == null) {
|
|
5636
|
+
return json;
|
|
5637
|
+
}
|
|
5638
|
+
return {
|
|
5639
|
+
"data": json["data"] == null ? void 0 : GetWaaSEndpointCircuit200ResponseDataFromJSON(json["data"]),
|
|
5640
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
5641
|
+
};
|
|
5642
|
+
}
|
|
5643
|
+
function GetWaaSEndpointCircuit200ResponseToJSON(json) {
|
|
5644
|
+
return GetWaaSEndpointCircuit200ResponseToJSONTyped(json, false);
|
|
5645
|
+
}
|
|
5646
|
+
function GetWaaSEndpointCircuit200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5647
|
+
if (value == null) {
|
|
5648
|
+
return value;
|
|
5649
|
+
}
|
|
5650
|
+
return {
|
|
5651
|
+
"data": GetWaaSEndpointCircuit200ResponseDataToJSON(value["data"]),
|
|
5652
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
5653
|
+
};
|
|
5654
|
+
}
|
|
5655
|
+
|
|
5656
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseDataWindowsValue.ts
|
|
5657
|
+
var GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum = {
|
|
5658
|
+
_1H: "1h",
|
|
5659
|
+
_24H: "24h",
|
|
5660
|
+
_7D: "7d",
|
|
5661
|
+
_30D: "30d"
|
|
5662
|
+
};
|
|
5663
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue(value) {
|
|
5664
|
+
return true;
|
|
5665
|
+
}
|
|
5666
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON(json) {
|
|
5667
|
+
return GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped(json, false);
|
|
5668
|
+
}
|
|
5669
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped(json, ignoreDiscriminator) {
|
|
5670
|
+
if (json == null) {
|
|
5671
|
+
return json;
|
|
5672
|
+
}
|
|
5673
|
+
return {
|
|
5674
|
+
"window": json["window"] == null ? void 0 : json["window"],
|
|
5675
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
5676
|
+
"successes": json["successes"] == null ? void 0 : json["successes"],
|
|
5677
|
+
"failures": json["failures"] == null ? void 0 : json["failures"],
|
|
5678
|
+
"successRate": json["success_rate"] == null ? void 0 : json["success_rate"],
|
|
5679
|
+
"avgLatencyMs": json["avg_latency_ms"] == null ? void 0 : json["avg_latency_ms"],
|
|
5680
|
+
"p95LatencyMs": json["p95_latency_ms"] == null ? void 0 : json["p95_latency_ms"]
|
|
5681
|
+
};
|
|
5682
|
+
}
|
|
5683
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON(json) {
|
|
5684
|
+
return GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped(json, false);
|
|
5685
|
+
}
|
|
5686
|
+
function GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5687
|
+
if (value == null) {
|
|
5688
|
+
return value;
|
|
5689
|
+
}
|
|
5690
|
+
return {
|
|
5691
|
+
"window": value["window"],
|
|
5692
|
+
"total": value["total"],
|
|
5693
|
+
"successes": value["successes"],
|
|
5694
|
+
"failures": value["failures"],
|
|
5695
|
+
"success_rate": value["successRate"],
|
|
5696
|
+
"avg_latency_ms": value["avgLatencyMs"],
|
|
5697
|
+
"p95_latency_ms": value["p95LatencyMs"]
|
|
5698
|
+
};
|
|
5699
|
+
}
|
|
5700
|
+
|
|
5701
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseDataHealth.ts
|
|
5702
|
+
var GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum = {
|
|
5703
|
+
HEALTHY: "healthy",
|
|
5704
|
+
DEGRADED: "degraded",
|
|
5705
|
+
UNHEALTHY: "unhealthy"
|
|
5706
|
+
};
|
|
5707
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseDataHealth(value) {
|
|
5708
|
+
if (!("score" in value) || value["score"] === void 0) return false;
|
|
5709
|
+
if (!("status" in value) || value["status"] === void 0) return false;
|
|
5710
|
+
return true;
|
|
5711
|
+
}
|
|
5712
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthFromJSON(json) {
|
|
5713
|
+
return GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped(json, false);
|
|
5714
|
+
}
|
|
5715
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
5716
|
+
if (json == null) {
|
|
5717
|
+
return json;
|
|
5718
|
+
}
|
|
5719
|
+
return {
|
|
5720
|
+
"score": json["score"],
|
|
5721
|
+
"status": json["status"]
|
|
5722
|
+
};
|
|
5723
|
+
}
|
|
5724
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthToJSON(json) {
|
|
5725
|
+
return GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped(json, false);
|
|
5726
|
+
}
|
|
5727
|
+
function GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5728
|
+
if (value == null) {
|
|
5729
|
+
return value;
|
|
5730
|
+
}
|
|
5731
|
+
return {
|
|
5732
|
+
"score": value["score"],
|
|
5733
|
+
"status": value["status"]
|
|
5734
|
+
};
|
|
5735
|
+
}
|
|
5736
|
+
|
|
5737
|
+
// src/src/models/GetWaaSEndpointMetrics200ResponseData.ts
|
|
5738
|
+
function instanceOfGetWaaSEndpointMetrics200ResponseData(value) {
|
|
5739
|
+
if (!("webhookId" in value) || value["webhookId"] === void 0) return false;
|
|
5740
|
+
if (!("health" in value) || value["health"] === void 0) return false;
|
|
5741
|
+
if (!("windows" in value) || value["windows"] === void 0) return false;
|
|
5742
|
+
return true;
|
|
5743
|
+
}
|
|
5744
|
+
function GetWaaSEndpointMetrics200ResponseDataFromJSON(json) {
|
|
5745
|
+
return GetWaaSEndpointMetrics200ResponseDataFromJSONTyped(json, false);
|
|
5746
|
+
}
|
|
5747
|
+
function GetWaaSEndpointMetrics200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
5748
|
+
if (json == null) {
|
|
5749
|
+
return json;
|
|
5750
|
+
}
|
|
5751
|
+
return {
|
|
5752
|
+
"webhookId": json["webhook_id"],
|
|
5753
|
+
"health": GetWaaSEndpointMetrics200ResponseDataHealthFromJSON(json["health"]),
|
|
5754
|
+
"windows": mapValues(json["windows"], GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON)
|
|
5755
|
+
};
|
|
5756
|
+
}
|
|
5757
|
+
function GetWaaSEndpointMetrics200ResponseDataToJSON(json) {
|
|
5758
|
+
return GetWaaSEndpointMetrics200ResponseDataToJSONTyped(json, false);
|
|
5759
|
+
}
|
|
5760
|
+
function GetWaaSEndpointMetrics200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5761
|
+
if (value == null) {
|
|
5762
|
+
return value;
|
|
5763
|
+
}
|
|
5764
|
+
return {
|
|
5765
|
+
"webhook_id": value["webhookId"],
|
|
5766
|
+
"health": GetWaaSEndpointMetrics200ResponseDataHealthToJSON(value["health"]),
|
|
5767
|
+
"windows": mapValues(value["windows"], GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON)
|
|
5768
|
+
};
|
|
5769
|
+
}
|
|
5770
|
+
|
|
5771
|
+
// src/src/models/GetWaaSEndpointMetrics200Response.ts
|
|
5772
|
+
function instanceOfGetWaaSEndpointMetrics200Response(value) {
|
|
5773
|
+
return true;
|
|
5774
|
+
}
|
|
5775
|
+
function GetWaaSEndpointMetrics200ResponseFromJSON(json) {
|
|
5776
|
+
return GetWaaSEndpointMetrics200ResponseFromJSONTyped(json, false);
|
|
5777
|
+
}
|
|
5778
|
+
function GetWaaSEndpointMetrics200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5779
|
+
if (json == null) {
|
|
5780
|
+
return json;
|
|
5781
|
+
}
|
|
5782
|
+
return {
|
|
5783
|
+
"data": json["data"] == null ? void 0 : GetWaaSEndpointMetrics200ResponseDataFromJSON(json["data"]),
|
|
5784
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
5785
|
+
};
|
|
5786
|
+
}
|
|
5787
|
+
function GetWaaSEndpointMetrics200ResponseToJSON(json) {
|
|
5788
|
+
return GetWaaSEndpointMetrics200ResponseToJSONTyped(json, false);
|
|
5789
|
+
}
|
|
5790
|
+
function GetWaaSEndpointMetrics200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5791
|
+
if (value == null) {
|
|
5792
|
+
return value;
|
|
5793
|
+
}
|
|
5794
|
+
return {
|
|
5795
|
+
"data": GetWaaSEndpointMetrics200ResponseDataToJSON(value["data"]),
|
|
5796
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
5797
|
+
};
|
|
5798
|
+
}
|
|
5799
|
+
|
|
5800
|
+
// src/src/models/WaaSUsageResponse.ts
|
|
5801
|
+
function instanceOfWaaSUsageResponse(value) {
|
|
5802
|
+
return true;
|
|
5803
|
+
}
|
|
5804
|
+
function WaaSUsageResponseFromJSON(json) {
|
|
5805
|
+
return WaaSUsageResponseFromJSONTyped(json, false);
|
|
5806
|
+
}
|
|
5807
|
+
function WaaSUsageResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5808
|
+
if (json == null) {
|
|
5809
|
+
return json;
|
|
5810
|
+
}
|
|
5811
|
+
return {
|
|
5812
|
+
"applicationsCount": json["applications_count"] == null ? void 0 : json["applications_count"],
|
|
5813
|
+
"applicationsLimit": json["applications_limit"] == null ? void 0 : json["applications_limit"],
|
|
5814
|
+
"endpointsCount": json["endpoints_count"] == null ? void 0 : json["endpoints_count"],
|
|
5815
|
+
"endpointsLimit": json["endpoints_limit"] == null ? void 0 : json["endpoints_limit"],
|
|
5816
|
+
"eventsThisMonth": json["events_this_month"] == null ? void 0 : json["events_this_month"],
|
|
5817
|
+
"eventsLimit": json["events_limit"] == null ? void 0 : json["events_limit"]
|
|
5818
|
+
};
|
|
5819
|
+
}
|
|
5820
|
+
function WaaSUsageResponseToJSON(json) {
|
|
5821
|
+
return WaaSUsageResponseToJSONTyped(json, false);
|
|
5822
|
+
}
|
|
5823
|
+
function WaaSUsageResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5824
|
+
if (value == null) {
|
|
5825
|
+
return value;
|
|
5826
|
+
}
|
|
5827
|
+
return {
|
|
5828
|
+
"applications_count": value["applicationsCount"],
|
|
5829
|
+
"applications_limit": value["applicationsLimit"],
|
|
5830
|
+
"endpoints_count": value["endpointsCount"],
|
|
5831
|
+
"endpoints_limit": value["endpointsLimit"],
|
|
5832
|
+
"events_this_month": value["eventsThisMonth"],
|
|
5833
|
+
"events_limit": value["eventsLimit"]
|
|
5834
|
+
};
|
|
5835
|
+
}
|
|
5836
|
+
|
|
5837
|
+
// src/src/models/GetWaaSUsage200Response.ts
|
|
5838
|
+
function instanceOfGetWaaSUsage200Response(value) {
|
|
5094
5839
|
return true;
|
|
5095
5840
|
}
|
|
5096
|
-
function
|
|
5097
|
-
return
|
|
5841
|
+
function GetWaaSUsage200ResponseFromJSON(json) {
|
|
5842
|
+
return GetWaaSUsage200ResponseFromJSONTyped(json, false);
|
|
5098
5843
|
}
|
|
5099
|
-
function
|
|
5844
|
+
function GetWaaSUsage200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5100
5845
|
if (json == null) {
|
|
5101
5846
|
return json;
|
|
5102
5847
|
}
|
|
5103
5848
|
return {
|
|
5104
|
-
"
|
|
5105
|
-
"subscriberId": json["subscriber_id"] == null ? void 0 : json["subscriber_id"],
|
|
5106
|
-
"title": json["title"] == null ? void 0 : json["title"],
|
|
5107
|
-
"body": json["body"] == null ? void 0 : json["body"],
|
|
5108
|
-
"actionUrl": json["action_url"] == null ? void 0 : json["action_url"],
|
|
5109
|
-
"actionLabel": json["action_label"] == null ? void 0 : json["action_label"],
|
|
5110
|
-
"imageUrl": json["image_url"] == null ? void 0 : json["image_url"],
|
|
5111
|
-
"icon": json["icon"] == null ? void 0 : json["icon"],
|
|
5112
|
-
"category": json["category"] == null ? void 0 : json["category"],
|
|
5113
|
-
"priority": json["priority"] == null ? void 0 : json["priority"],
|
|
5114
|
-
"data": json["data"] == null ? void 0 : json["data"],
|
|
5115
|
-
"tags": json["tags"] == null ? void 0 : json["tags"],
|
|
5116
|
-
"readAt": json["read_at"] == null ? void 0 : new Date(json["read_at"]),
|
|
5117
|
-
"archivedAt": json["archived_at"] == null ? void 0 : new Date(json["archived_at"]),
|
|
5118
|
-
"expiresAt": json["expires_at"] == null ? void 0 : new Date(json["expires_at"]),
|
|
5119
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
5849
|
+
"data": json["data"] == null ? void 0 : WaaSUsageResponseFromJSON(json["data"])
|
|
5120
5850
|
};
|
|
5121
5851
|
}
|
|
5122
|
-
function
|
|
5123
|
-
return
|
|
5852
|
+
function GetWaaSUsage200ResponseToJSON(json) {
|
|
5853
|
+
return GetWaaSUsage200ResponseToJSONTyped(json, false);
|
|
5124
5854
|
}
|
|
5125
|
-
function
|
|
5855
|
+
function GetWaaSUsage200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5126
5856
|
if (value == null) {
|
|
5127
5857
|
return value;
|
|
5128
5858
|
}
|
|
5129
5859
|
return {
|
|
5130
|
-
"
|
|
5131
|
-
"subscriber_id": value["subscriberId"],
|
|
5132
|
-
"title": value["title"],
|
|
5133
|
-
"body": value["body"],
|
|
5134
|
-
"action_url": value["actionUrl"],
|
|
5135
|
-
"action_label": value["actionLabel"],
|
|
5136
|
-
"image_url": value["imageUrl"],
|
|
5137
|
-
"icon": value["icon"],
|
|
5138
|
-
"category": value["category"],
|
|
5139
|
-
"priority": value["priority"],
|
|
5140
|
-
"data": value["data"],
|
|
5141
|
-
"tags": value["tags"],
|
|
5142
|
-
"read_at": value["readAt"] == null ? void 0 : value["readAt"].toISOString(),
|
|
5143
|
-
"archived_at": value["archivedAt"] == null ? void 0 : value["archivedAt"].toISOString(),
|
|
5144
|
-
"expires_at": value["expiresAt"] == null ? void 0 : value["expiresAt"].toISOString(),
|
|
5145
|
-
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString()
|
|
5860
|
+
"data": WaaSUsageResponseToJSON(value["data"])
|
|
5146
5861
|
};
|
|
5147
5862
|
}
|
|
5148
5863
|
|
|
@@ -5536,6 +6251,66 @@ function InboxNotificationResponseToJSONTyped(value, ignoreDiscriminator = false
|
|
|
5536
6251
|
};
|
|
5537
6252
|
}
|
|
5538
6253
|
|
|
6254
|
+
// src/src/models/InviteEndUser200ResponseData.ts
|
|
6255
|
+
function instanceOfInviteEndUser200ResponseData(value) {
|
|
6256
|
+
return true;
|
|
6257
|
+
}
|
|
6258
|
+
function InviteEndUser200ResponseDataFromJSON(json) {
|
|
6259
|
+
return InviteEndUser200ResponseDataFromJSONTyped(json, false);
|
|
6260
|
+
}
|
|
6261
|
+
function InviteEndUser200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
6262
|
+
if (json == null) {
|
|
6263
|
+
return json;
|
|
6264
|
+
}
|
|
6265
|
+
return {
|
|
6266
|
+
"userId": json["user_id"] == null ? void 0 : json["user_id"],
|
|
6267
|
+
"created": json["created"] == null ? void 0 : json["created"],
|
|
6268
|
+
"linkSent": json["link_sent"] == null ? void 0 : json["link_sent"]
|
|
6269
|
+
};
|
|
6270
|
+
}
|
|
6271
|
+
function InviteEndUser200ResponseDataToJSON(json) {
|
|
6272
|
+
return InviteEndUser200ResponseDataToJSONTyped(json, false);
|
|
6273
|
+
}
|
|
6274
|
+
function InviteEndUser200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6275
|
+
if (value == null) {
|
|
6276
|
+
return value;
|
|
6277
|
+
}
|
|
6278
|
+
return {
|
|
6279
|
+
"user_id": value["userId"],
|
|
6280
|
+
"created": value["created"],
|
|
6281
|
+
"link_sent": value["linkSent"]
|
|
6282
|
+
};
|
|
6283
|
+
}
|
|
6284
|
+
|
|
6285
|
+
// src/src/models/InviteEndUser200Response.ts
|
|
6286
|
+
function instanceOfInviteEndUser200Response(value) {
|
|
6287
|
+
return true;
|
|
6288
|
+
}
|
|
6289
|
+
function InviteEndUser200ResponseFromJSON(json) {
|
|
6290
|
+
return InviteEndUser200ResponseFromJSONTyped(json, false);
|
|
6291
|
+
}
|
|
6292
|
+
function InviteEndUser200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
6293
|
+
if (json == null) {
|
|
6294
|
+
return json;
|
|
6295
|
+
}
|
|
6296
|
+
return {
|
|
6297
|
+
"data": json["data"] == null ? void 0 : InviteEndUser200ResponseDataFromJSON(json["data"]),
|
|
6298
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
6299
|
+
};
|
|
6300
|
+
}
|
|
6301
|
+
function InviteEndUser200ResponseToJSON(json) {
|
|
6302
|
+
return InviteEndUser200ResponseToJSONTyped(json, false);
|
|
6303
|
+
}
|
|
6304
|
+
function InviteEndUser200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6305
|
+
if (value == null) {
|
|
6306
|
+
return value;
|
|
6307
|
+
}
|
|
6308
|
+
return {
|
|
6309
|
+
"data": InviteEndUser200ResponseDataToJSON(value["data"]),
|
|
6310
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
6311
|
+
};
|
|
6312
|
+
}
|
|
6313
|
+
|
|
5539
6314
|
// src/src/models/InviteEndUserRequest.ts
|
|
5540
6315
|
var InviteEndUserRequestSendLinkEnum = {
|
|
5541
6316
|
MAGIC: "magic",
|
|
@@ -5577,85 +6352,94 @@ function InviteEndUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
5577
6352
|
};
|
|
5578
6353
|
}
|
|
5579
6354
|
|
|
5580
|
-
// src/src/models/
|
|
5581
|
-
function
|
|
6355
|
+
// src/src/models/ListEndUsers200ResponseMeta.ts
|
|
6356
|
+
function instanceOfListEndUsers200ResponseMeta(value) {
|
|
5582
6357
|
return true;
|
|
5583
6358
|
}
|
|
5584
|
-
function
|
|
5585
|
-
return
|
|
6359
|
+
function ListEndUsers200ResponseMetaFromJSON(json) {
|
|
6360
|
+
return ListEndUsers200ResponseMetaFromJSONTyped(json, false);
|
|
5586
6361
|
}
|
|
5587
|
-
function
|
|
6362
|
+
function ListEndUsers200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
5588
6363
|
if (json == null) {
|
|
5589
6364
|
return json;
|
|
5590
6365
|
}
|
|
5591
6366
|
return {
|
|
5592
|
-
"
|
|
6367
|
+
"requestId": json["request_id"] == null ? void 0 : json["request_id"],
|
|
6368
|
+
"page": json["page"] == null ? void 0 : json["page"],
|
|
6369
|
+
"perPage": json["per_page"] == null ? void 0 : json["per_page"],
|
|
6370
|
+
"total": json["total"] == null ? void 0 : json["total"],
|
|
6371
|
+
"totalPages": json["total_pages"] == null ? void 0 : json["total_pages"]
|
|
5593
6372
|
};
|
|
5594
6373
|
}
|
|
5595
|
-
function
|
|
5596
|
-
return
|
|
6374
|
+
function ListEndUsers200ResponseMetaToJSON(json) {
|
|
6375
|
+
return ListEndUsers200ResponseMetaToJSONTyped(json, false);
|
|
5597
6376
|
}
|
|
5598
|
-
function
|
|
6377
|
+
function ListEndUsers200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5599
6378
|
if (value == null) {
|
|
5600
6379
|
return value;
|
|
5601
6380
|
}
|
|
5602
6381
|
return {
|
|
5603
|
-
"
|
|
6382
|
+
"request_id": value["requestId"],
|
|
6383
|
+
"page": value["page"],
|
|
6384
|
+
"per_page": value["perPage"],
|
|
6385
|
+
"total": value["total"],
|
|
6386
|
+
"total_pages": value["totalPages"]
|
|
5604
6387
|
};
|
|
5605
6388
|
}
|
|
5606
6389
|
|
|
5607
|
-
// src/src/models/
|
|
5608
|
-
|
|
5609
|
-
PENDING: "pending",
|
|
5610
|
-
DELIVERING: "delivering",
|
|
5611
|
-
DELIVERED: "delivered",
|
|
5612
|
-
FAILED: "failed",
|
|
5613
|
-
RETRYING: "retrying",
|
|
5614
|
-
EXHAUSTED: "exhausted"
|
|
5615
|
-
};
|
|
5616
|
-
function instanceOfWaaSDelivery(value) {
|
|
6390
|
+
// src/src/models/ListEndUsers200Response.ts
|
|
6391
|
+
function instanceOfListEndUsers200Response(value) {
|
|
5617
6392
|
return true;
|
|
5618
6393
|
}
|
|
5619
|
-
function
|
|
5620
|
-
return
|
|
6394
|
+
function ListEndUsers200ResponseFromJSON(json) {
|
|
6395
|
+
return ListEndUsers200ResponseFromJSONTyped(json, false);
|
|
5621
6396
|
}
|
|
5622
|
-
function
|
|
6397
|
+
function ListEndUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
5623
6398
|
if (json == null) {
|
|
5624
6399
|
return json;
|
|
5625
6400
|
}
|
|
5626
6401
|
return {
|
|
5627
|
-
"
|
|
5628
|
-
"
|
|
5629
|
-
"endpointId": json["endpoint_id"] == null ? void 0 : json["endpoint_id"],
|
|
5630
|
-
"eventId": json["event_id"] == null ? void 0 : json["event_id"],
|
|
5631
|
-
"eventType": json["event_type"] == null ? void 0 : json["event_type"],
|
|
5632
|
-
"tenantId": json["tenant_id"] == null ? void 0 : json["tenant_id"],
|
|
5633
|
-
"status": json["status"] == null ? void 0 : json["status"],
|
|
5634
|
-
"attempts": json["attempts"] == null ? void 0 : json["attempts"],
|
|
5635
|
-
"lastAttemptAt": json["last_attempt_at"] == null ? void 0 : new Date(json["last_attempt_at"]),
|
|
5636
|
-
"nextRetryAt": json["next_retry_at"] == null ? void 0 : new Date(json["next_retry_at"]),
|
|
5637
|
-
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"])
|
|
6402
|
+
"data": json["data"] == null ? void 0 : json["data"].map(AuthUserFromJSON),
|
|
6403
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
5638
6404
|
};
|
|
5639
6405
|
}
|
|
5640
|
-
function
|
|
5641
|
-
return
|
|
6406
|
+
function ListEndUsers200ResponseToJSON(json) {
|
|
6407
|
+
return ListEndUsers200ResponseToJSONTyped(json, false);
|
|
5642
6408
|
}
|
|
5643
|
-
function
|
|
6409
|
+
function ListEndUsers200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5644
6410
|
if (value == null) {
|
|
5645
6411
|
return value;
|
|
5646
6412
|
}
|
|
5647
6413
|
return {
|
|
5648
|
-
"
|
|
5649
|
-
"
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
6414
|
+
"data": value["data"] == null ? void 0 : value["data"].map(AuthUserToJSON),
|
|
6415
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
6416
|
+
};
|
|
6417
|
+
}
|
|
6418
|
+
|
|
6419
|
+
// src/src/models/ListWaaSApplications200Response.ts
|
|
6420
|
+
function instanceOfListWaaSApplications200Response(value) {
|
|
6421
|
+
return true;
|
|
6422
|
+
}
|
|
6423
|
+
function ListWaaSApplications200ResponseFromJSON(json) {
|
|
6424
|
+
return ListWaaSApplications200ResponseFromJSONTyped(json, false);
|
|
6425
|
+
}
|
|
6426
|
+
function ListWaaSApplications200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
6427
|
+
if (json == null) {
|
|
6428
|
+
return json;
|
|
6429
|
+
}
|
|
6430
|
+
return {
|
|
6431
|
+
"data": json["data"] == null ? void 0 : json["data"].map(WaaSApplicationFromJSON)
|
|
6432
|
+
};
|
|
6433
|
+
}
|
|
6434
|
+
function ListWaaSApplications200ResponseToJSON(json) {
|
|
6435
|
+
return ListWaaSApplications200ResponseToJSONTyped(json, false);
|
|
6436
|
+
}
|
|
6437
|
+
function ListWaaSApplications200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6438
|
+
if (value == null) {
|
|
6439
|
+
return value;
|
|
6440
|
+
}
|
|
6441
|
+
return {
|
|
6442
|
+
"data": value["data"] == null ? void 0 : value["data"].map(WaaSApplicationToJSON)
|
|
5659
6443
|
};
|
|
5660
6444
|
}
|
|
5661
6445
|
|
|
@@ -5740,41 +6524,6 @@ function ListWaaSEventTypes200ResponseToJSONTyped(value, ignoreDiscriminator = f
|
|
|
5740
6524
|
};
|
|
5741
6525
|
}
|
|
5742
6526
|
|
|
5743
|
-
// src/src/models/ListWorkflowExecutions200ResponseMeta.ts
|
|
5744
|
-
function instanceOfListWorkflowExecutions200ResponseMeta(value) {
|
|
5745
|
-
return true;
|
|
5746
|
-
}
|
|
5747
|
-
function ListWorkflowExecutions200ResponseMetaFromJSON(json) {
|
|
5748
|
-
return ListWorkflowExecutions200ResponseMetaFromJSONTyped(json, false);
|
|
5749
|
-
}
|
|
5750
|
-
function ListWorkflowExecutions200ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
5751
|
-
if (json == null) {
|
|
5752
|
-
return json;
|
|
5753
|
-
}
|
|
5754
|
-
return {
|
|
5755
|
-
"requestId": json["request_id"] == null ? void 0 : json["request_id"],
|
|
5756
|
-
"page": json["page"] == null ? void 0 : json["page"],
|
|
5757
|
-
"perPage": json["per_page"] == null ? void 0 : json["per_page"],
|
|
5758
|
-
"total": json["total"] == null ? void 0 : json["total"],
|
|
5759
|
-
"totalPages": json["total_pages"] == null ? void 0 : json["total_pages"]
|
|
5760
|
-
};
|
|
5761
|
-
}
|
|
5762
|
-
function ListWorkflowExecutions200ResponseMetaToJSON(json) {
|
|
5763
|
-
return ListWorkflowExecutions200ResponseMetaToJSONTyped(json, false);
|
|
5764
|
-
}
|
|
5765
|
-
function ListWorkflowExecutions200ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
5766
|
-
if (value == null) {
|
|
5767
|
-
return value;
|
|
5768
|
-
}
|
|
5769
|
-
return {
|
|
5770
|
-
"request_id": value["requestId"],
|
|
5771
|
-
"page": value["page"],
|
|
5772
|
-
"per_page": value["perPage"],
|
|
5773
|
-
"total": value["total"],
|
|
5774
|
-
"total_pages": value["totalPages"]
|
|
5775
|
-
};
|
|
5776
|
-
}
|
|
5777
|
-
|
|
5778
6527
|
// src/src/models/ListWorkflowExecutions200Response.ts
|
|
5779
6528
|
function instanceOfListWorkflowExecutions200Response(value) {
|
|
5780
6529
|
return true;
|
|
@@ -5788,7 +6537,7 @@ function ListWorkflowExecutions200ResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
5788
6537
|
}
|
|
5789
6538
|
return {
|
|
5790
6539
|
"data": json["data"] == null ? void 0 : json["data"].map(WorkflowExecutionFromJSON),
|
|
5791
|
-
"meta": json["meta"] == null ? void 0 :
|
|
6540
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
5792
6541
|
};
|
|
5793
6542
|
}
|
|
5794
6543
|
function ListWorkflowExecutions200ResponseToJSON(json) {
|
|
@@ -5800,7 +6549,7 @@ function ListWorkflowExecutions200ResponseToJSONTyped(value, ignoreDiscriminator
|
|
|
5800
6549
|
}
|
|
5801
6550
|
return {
|
|
5802
6551
|
"data": value["data"] == null ? void 0 : value["data"].map(WorkflowExecutionToJSON),
|
|
5803
|
-
"meta":
|
|
6552
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
5804
6553
|
};
|
|
5805
6554
|
}
|
|
5806
6555
|
|
|
@@ -6114,6 +6863,33 @@ function MarkAllReadResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
6114
6863
|
};
|
|
6115
6864
|
}
|
|
6116
6865
|
|
|
6866
|
+
// src/src/models/MarkAllSubscriberNotificationsRead200Response.ts
|
|
6867
|
+
function instanceOfMarkAllSubscriberNotificationsRead200Response(value) {
|
|
6868
|
+
return true;
|
|
6869
|
+
}
|
|
6870
|
+
function MarkAllSubscriberNotificationsRead200ResponseFromJSON(json) {
|
|
6871
|
+
return MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped(json, false);
|
|
6872
|
+
}
|
|
6873
|
+
function MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
6874
|
+
if (json == null) {
|
|
6875
|
+
return json;
|
|
6876
|
+
}
|
|
6877
|
+
return {
|
|
6878
|
+
"data": json["data"] == null ? void 0 : MarkAllReadDataFromJSON(json["data"])
|
|
6879
|
+
};
|
|
6880
|
+
}
|
|
6881
|
+
function MarkAllSubscriberNotificationsRead200ResponseToJSON(json) {
|
|
6882
|
+
return MarkAllSubscriberNotificationsRead200ResponseToJSONTyped(json, false);
|
|
6883
|
+
}
|
|
6884
|
+
function MarkAllSubscriberNotificationsRead200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
6885
|
+
if (value == null) {
|
|
6886
|
+
return value;
|
|
6887
|
+
}
|
|
6888
|
+
return {
|
|
6889
|
+
"data": MarkAllReadDataToJSON(value["data"])
|
|
6890
|
+
};
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6117
6893
|
// src/src/models/MarkAllSubscriberNotificationsReadRequest.ts
|
|
6118
6894
|
function instanceOfMarkAllSubscriberNotificationsReadRequest(value) {
|
|
6119
6895
|
return true;
|
|
@@ -9212,18 +9988,75 @@ function RevokeSessionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9212
9988
|
return json;
|
|
9213
9989
|
}
|
|
9214
9990
|
return {
|
|
9215
|
-
"refreshToken": json["refresh_token"]
|
|
9991
|
+
"refreshToken": json["refresh_token"]
|
|
9992
|
+
};
|
|
9993
|
+
}
|
|
9994
|
+
function RevokeSessionRequestToJSON(json) {
|
|
9995
|
+
return RevokeSessionRequestToJSONTyped(json, false);
|
|
9996
|
+
}
|
|
9997
|
+
function RevokeSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
9998
|
+
if (value == null) {
|
|
9999
|
+
return value;
|
|
10000
|
+
}
|
|
10001
|
+
return {
|
|
10002
|
+
"refresh_token": value["refreshToken"]
|
|
10003
|
+
};
|
|
10004
|
+
}
|
|
10005
|
+
|
|
10006
|
+
// src/src/models/RotateWaaSEndpointSecret200ResponseData.ts
|
|
10007
|
+
function instanceOfRotateWaaSEndpointSecret200ResponseData(value) {
|
|
10008
|
+
if (!("secret" in value) || value["secret"] === void 0) return false;
|
|
10009
|
+
return true;
|
|
10010
|
+
}
|
|
10011
|
+
function RotateWaaSEndpointSecret200ResponseDataFromJSON(json) {
|
|
10012
|
+
return RotateWaaSEndpointSecret200ResponseDataFromJSONTyped(json, false);
|
|
10013
|
+
}
|
|
10014
|
+
function RotateWaaSEndpointSecret200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
10015
|
+
if (json == null) {
|
|
10016
|
+
return json;
|
|
10017
|
+
}
|
|
10018
|
+
return {
|
|
10019
|
+
"secret": json["secret"]
|
|
10020
|
+
};
|
|
10021
|
+
}
|
|
10022
|
+
function RotateWaaSEndpointSecret200ResponseDataToJSON(json) {
|
|
10023
|
+
return RotateWaaSEndpointSecret200ResponseDataToJSONTyped(json, false);
|
|
10024
|
+
}
|
|
10025
|
+
function RotateWaaSEndpointSecret200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
10026
|
+
if (value == null) {
|
|
10027
|
+
return value;
|
|
10028
|
+
}
|
|
10029
|
+
return {
|
|
10030
|
+
"secret": value["secret"]
|
|
10031
|
+
};
|
|
10032
|
+
}
|
|
10033
|
+
|
|
10034
|
+
// src/src/models/RotateWaaSEndpointSecret200Response.ts
|
|
10035
|
+
function instanceOfRotateWaaSEndpointSecret200Response(value) {
|
|
10036
|
+
return true;
|
|
10037
|
+
}
|
|
10038
|
+
function RotateWaaSEndpointSecret200ResponseFromJSON(json) {
|
|
10039
|
+
return RotateWaaSEndpointSecret200ResponseFromJSONTyped(json, false);
|
|
10040
|
+
}
|
|
10041
|
+
function RotateWaaSEndpointSecret200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10042
|
+
if (json == null) {
|
|
10043
|
+
return json;
|
|
10044
|
+
}
|
|
10045
|
+
return {
|
|
10046
|
+
"data": json["data"] == null ? void 0 : RotateWaaSEndpointSecret200ResponseDataFromJSON(json["data"]),
|
|
10047
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
9216
10048
|
};
|
|
9217
10049
|
}
|
|
9218
|
-
function
|
|
9219
|
-
return
|
|
10050
|
+
function RotateWaaSEndpointSecret200ResponseToJSON(json) {
|
|
10051
|
+
return RotateWaaSEndpointSecret200ResponseToJSONTyped(json, false);
|
|
9220
10052
|
}
|
|
9221
|
-
function
|
|
10053
|
+
function RotateWaaSEndpointSecret200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
9222
10054
|
if (value == null) {
|
|
9223
10055
|
return value;
|
|
9224
10056
|
}
|
|
9225
10057
|
return {
|
|
9226
|
-
"
|
|
10058
|
+
"data": RotateWaaSEndpointSecret200ResponseDataToJSON(value["data"]),
|
|
10059
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
9227
10060
|
};
|
|
9228
10061
|
}
|
|
9229
10062
|
|
|
@@ -10463,6 +11296,111 @@ function SendSmsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
10463
11296
|
};
|
|
10464
11297
|
}
|
|
10465
11298
|
|
|
11299
|
+
// src/src/models/SendTemplateTestEmail202ResponseData.ts
|
|
11300
|
+
function instanceOfSendTemplateTestEmail202ResponseData(value) {
|
|
11301
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
11302
|
+
if (!("messageId" in value) || value["messageId"] === void 0) return false;
|
|
11303
|
+
if (!("to" in value) || value["to"] === void 0) return false;
|
|
11304
|
+
if (!("from" in value) || value["from"] === void 0) return false;
|
|
11305
|
+
if (!("subject" in value) || value["subject"] === void 0) return false;
|
|
11306
|
+
if (!("templateId" in value) || value["templateId"] === void 0) return false;
|
|
11307
|
+
if (!("templateName" in value) || value["templateName"] === void 0) return false;
|
|
11308
|
+
return true;
|
|
11309
|
+
}
|
|
11310
|
+
function SendTemplateTestEmail202ResponseDataFromJSON(json) {
|
|
11311
|
+
return SendTemplateTestEmail202ResponseDataFromJSONTyped(json, false);
|
|
11312
|
+
}
|
|
11313
|
+
function SendTemplateTestEmail202ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
11314
|
+
if (json == null) {
|
|
11315
|
+
return json;
|
|
11316
|
+
}
|
|
11317
|
+
return {
|
|
11318
|
+
"message": json["message"],
|
|
11319
|
+
"messageId": json["message_id"],
|
|
11320
|
+
"to": json["to"],
|
|
11321
|
+
"from": json["from"],
|
|
11322
|
+
"subject": json["subject"],
|
|
11323
|
+
"templateId": json["template_id"],
|
|
11324
|
+
"templateName": json["template_name"]
|
|
11325
|
+
};
|
|
11326
|
+
}
|
|
11327
|
+
function SendTemplateTestEmail202ResponseDataToJSON(json) {
|
|
11328
|
+
return SendTemplateTestEmail202ResponseDataToJSONTyped(json, false);
|
|
11329
|
+
}
|
|
11330
|
+
function SendTemplateTestEmail202ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
11331
|
+
if (value == null) {
|
|
11332
|
+
return value;
|
|
11333
|
+
}
|
|
11334
|
+
return {
|
|
11335
|
+
"message": value["message"],
|
|
11336
|
+
"message_id": value["messageId"],
|
|
11337
|
+
"to": value["to"],
|
|
11338
|
+
"from": value["from"],
|
|
11339
|
+
"subject": value["subject"],
|
|
11340
|
+
"template_id": value["templateId"],
|
|
11341
|
+
"template_name": value["templateName"]
|
|
11342
|
+
};
|
|
11343
|
+
}
|
|
11344
|
+
|
|
11345
|
+
// src/src/models/SendTemplateTestEmail202ResponseMeta.ts
|
|
11346
|
+
function instanceOfSendTemplateTestEmail202ResponseMeta(value) {
|
|
11347
|
+
if (!("requestId" in value) || value["requestId"] === void 0) return false;
|
|
11348
|
+
return true;
|
|
11349
|
+
}
|
|
11350
|
+
function SendTemplateTestEmail202ResponseMetaFromJSON(json) {
|
|
11351
|
+
return SendTemplateTestEmail202ResponseMetaFromJSONTyped(json, false);
|
|
11352
|
+
}
|
|
11353
|
+
function SendTemplateTestEmail202ResponseMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
11354
|
+
if (json == null) {
|
|
11355
|
+
return json;
|
|
11356
|
+
}
|
|
11357
|
+
return {
|
|
11358
|
+
"requestId": json["request_id"]
|
|
11359
|
+
};
|
|
11360
|
+
}
|
|
11361
|
+
function SendTemplateTestEmail202ResponseMetaToJSON(json) {
|
|
11362
|
+
return SendTemplateTestEmail202ResponseMetaToJSONTyped(json, false);
|
|
11363
|
+
}
|
|
11364
|
+
function SendTemplateTestEmail202ResponseMetaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
11365
|
+
if (value == null) {
|
|
11366
|
+
return value;
|
|
11367
|
+
}
|
|
11368
|
+
return {
|
|
11369
|
+
"request_id": value["requestId"]
|
|
11370
|
+
};
|
|
11371
|
+
}
|
|
11372
|
+
|
|
11373
|
+
// src/src/models/SendTemplateTestEmail202Response.ts
|
|
11374
|
+
function instanceOfSendTemplateTestEmail202Response(value) {
|
|
11375
|
+
if (!("data" in value) || value["data"] === void 0) return false;
|
|
11376
|
+
if (!("meta" in value) || value["meta"] === void 0) return false;
|
|
11377
|
+
return true;
|
|
11378
|
+
}
|
|
11379
|
+
function SendTemplateTestEmail202ResponseFromJSON(json) {
|
|
11380
|
+
return SendTemplateTestEmail202ResponseFromJSONTyped(json, false);
|
|
11381
|
+
}
|
|
11382
|
+
function SendTemplateTestEmail202ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
11383
|
+
if (json == null) {
|
|
11384
|
+
return json;
|
|
11385
|
+
}
|
|
11386
|
+
return {
|
|
11387
|
+
"data": SendTemplateTestEmail202ResponseDataFromJSON(json["data"]),
|
|
11388
|
+
"meta": SendTemplateTestEmail202ResponseMetaFromJSON(json["meta"])
|
|
11389
|
+
};
|
|
11390
|
+
}
|
|
11391
|
+
function SendTemplateTestEmail202ResponseToJSON(json) {
|
|
11392
|
+
return SendTemplateTestEmail202ResponseToJSONTyped(json, false);
|
|
11393
|
+
}
|
|
11394
|
+
function SendTemplateTestEmail202ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
11395
|
+
if (value == null) {
|
|
11396
|
+
return value;
|
|
11397
|
+
}
|
|
11398
|
+
return {
|
|
11399
|
+
"data": SendTemplateTestEmail202ResponseDataToJSON(value["data"]),
|
|
11400
|
+
"meta": SendTemplateTestEmail202ResponseMetaToJSON(value["meta"])
|
|
11401
|
+
};
|
|
11402
|
+
}
|
|
11403
|
+
|
|
10466
11404
|
// src/src/models/SendTemplateTestEmailRequest.ts
|
|
10467
11405
|
function instanceOfSendTemplateTestEmailRequest(value) {
|
|
10468
11406
|
if (!("to" in value) || value["to"] === void 0) return false;
|
|
@@ -11462,7 +12400,7 @@ function SmsListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11462
12400
|
}
|
|
11463
12401
|
return {
|
|
11464
12402
|
"data": json["data"] == null ? void 0 : json["data"].map(SmsMessageFromJSON),
|
|
11465
|
-
"meta": json["meta"] == null ? void 0 :
|
|
12403
|
+
"meta": json["meta"] == null ? void 0 : ListEndUsers200ResponseMetaFromJSON(json["meta"])
|
|
11466
12404
|
};
|
|
11467
12405
|
}
|
|
11468
12406
|
function SmsListResponseToJSON(json) {
|
|
@@ -11474,7 +12412,7 @@ function SmsListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
11474
12412
|
}
|
|
11475
12413
|
return {
|
|
11476
12414
|
"data": value["data"] == null ? void 0 : value["data"].map(SmsMessageToJSON),
|
|
11477
|
-
"meta":
|
|
12415
|
+
"meta": ListEndUsers200ResponseMetaToJSON(value["meta"])
|
|
11478
12416
|
};
|
|
11479
12417
|
}
|
|
11480
12418
|
|
|
@@ -12441,33 +13379,6 @@ function TriggerWorkflowRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
12441
13379
|
};
|
|
12442
13380
|
}
|
|
12443
13381
|
|
|
12444
|
-
// src/src/models/UnreadCountData.ts
|
|
12445
|
-
function instanceOfUnreadCountData(value) {
|
|
12446
|
-
return true;
|
|
12447
|
-
}
|
|
12448
|
-
function UnreadCountDataFromJSON(json) {
|
|
12449
|
-
return UnreadCountDataFromJSONTyped(json, false);
|
|
12450
|
-
}
|
|
12451
|
-
function UnreadCountDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
12452
|
-
if (json == null) {
|
|
12453
|
-
return json;
|
|
12454
|
-
}
|
|
12455
|
-
return {
|
|
12456
|
-
"unreadCount": json["unread_count"] == null ? void 0 : json["unread_count"]
|
|
12457
|
-
};
|
|
12458
|
-
}
|
|
12459
|
-
function UnreadCountDataToJSON(json) {
|
|
12460
|
-
return UnreadCountDataToJSONTyped(json, false);
|
|
12461
|
-
}
|
|
12462
|
-
function UnreadCountDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
12463
|
-
if (value == null) {
|
|
12464
|
-
return value;
|
|
12465
|
-
}
|
|
12466
|
-
return {
|
|
12467
|
-
"unread_count": value["unreadCount"]
|
|
12468
|
-
};
|
|
12469
|
-
}
|
|
12470
|
-
|
|
12471
13382
|
// src/src/models/UnreadCountResponse.ts
|
|
12472
13383
|
function instanceOfUnreadCountResponse(value) {
|
|
12473
13384
|
return true;
|
|
@@ -12791,6 +13702,101 @@ function UpdateOrganizationRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
12791
13702
|
};
|
|
12792
13703
|
}
|
|
12793
13704
|
|
|
13705
|
+
// src/src/models/UpdateSubscriberPreferences200ResponseDataPreferencesInner.ts
|
|
13706
|
+
var UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum = {
|
|
13707
|
+
EMAIL: "email",
|
|
13708
|
+
PUSH: "push",
|
|
13709
|
+
SMS: "sms",
|
|
13710
|
+
IN_APP: "in_app"
|
|
13711
|
+
};
|
|
13712
|
+
function instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner(value) {
|
|
13713
|
+
return true;
|
|
13714
|
+
}
|
|
13715
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON(json) {
|
|
13716
|
+
return UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped(json, false);
|
|
13717
|
+
}
|
|
13718
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
13719
|
+
if (json == null) {
|
|
13720
|
+
return json;
|
|
13721
|
+
}
|
|
13722
|
+
return {
|
|
13723
|
+
"categoryId": json["category_id"] == null ? void 0 : json["category_id"],
|
|
13724
|
+
"channel": json["channel"] == null ? void 0 : json["channel"],
|
|
13725
|
+
"enabled": json["enabled"] == null ? void 0 : json["enabled"],
|
|
13726
|
+
"source": json["source"] == null ? void 0 : json["source"]
|
|
13727
|
+
};
|
|
13728
|
+
}
|
|
13729
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON(json) {
|
|
13730
|
+
return UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped(json, false);
|
|
13731
|
+
}
|
|
13732
|
+
function UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13733
|
+
if (value == null) {
|
|
13734
|
+
return value;
|
|
13735
|
+
}
|
|
13736
|
+
return {
|
|
13737
|
+
"category_id": value["categoryId"],
|
|
13738
|
+
"channel": value["channel"],
|
|
13739
|
+
"enabled": value["enabled"],
|
|
13740
|
+
"source": value["source"]
|
|
13741
|
+
};
|
|
13742
|
+
}
|
|
13743
|
+
|
|
13744
|
+
// src/src/models/UpdateSubscriberPreferences200ResponseData.ts
|
|
13745
|
+
function instanceOfUpdateSubscriberPreferences200ResponseData(value) {
|
|
13746
|
+
return true;
|
|
13747
|
+
}
|
|
13748
|
+
function UpdateSubscriberPreferences200ResponseDataFromJSON(json) {
|
|
13749
|
+
return UpdateSubscriberPreferences200ResponseDataFromJSONTyped(json, false);
|
|
13750
|
+
}
|
|
13751
|
+
function UpdateSubscriberPreferences200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
13752
|
+
if (json == null) {
|
|
13753
|
+
return json;
|
|
13754
|
+
}
|
|
13755
|
+
return {
|
|
13756
|
+
"updated": json["updated"] == null ? void 0 : json["updated"],
|
|
13757
|
+
"preferences": json["preferences"] == null ? void 0 : json["preferences"].map(UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON)
|
|
13758
|
+
};
|
|
13759
|
+
}
|
|
13760
|
+
function UpdateSubscriberPreferences200ResponseDataToJSON(json) {
|
|
13761
|
+
return UpdateSubscriberPreferences200ResponseDataToJSONTyped(json, false);
|
|
13762
|
+
}
|
|
13763
|
+
function UpdateSubscriberPreferences200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13764
|
+
if (value == null) {
|
|
13765
|
+
return value;
|
|
13766
|
+
}
|
|
13767
|
+
return {
|
|
13768
|
+
"updated": value["updated"],
|
|
13769
|
+
"preferences": value["preferences"] == null ? void 0 : value["preferences"].map(UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON)
|
|
13770
|
+
};
|
|
13771
|
+
}
|
|
13772
|
+
|
|
13773
|
+
// src/src/models/UpdateSubscriberPreferences200Response.ts
|
|
13774
|
+
function instanceOfUpdateSubscriberPreferences200Response(value) {
|
|
13775
|
+
return true;
|
|
13776
|
+
}
|
|
13777
|
+
function UpdateSubscriberPreferences200ResponseFromJSON(json) {
|
|
13778
|
+
return UpdateSubscriberPreferences200ResponseFromJSONTyped(json, false);
|
|
13779
|
+
}
|
|
13780
|
+
function UpdateSubscriberPreferences200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13781
|
+
if (json == null) {
|
|
13782
|
+
return json;
|
|
13783
|
+
}
|
|
13784
|
+
return {
|
|
13785
|
+
"data": json["data"] == null ? void 0 : UpdateSubscriberPreferences200ResponseDataFromJSON(json["data"])
|
|
13786
|
+
};
|
|
13787
|
+
}
|
|
13788
|
+
function UpdateSubscriberPreferences200ResponseToJSON(json) {
|
|
13789
|
+
return UpdateSubscriberPreferences200ResponseToJSONTyped(json, false);
|
|
13790
|
+
}
|
|
13791
|
+
function UpdateSubscriberPreferences200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
13792
|
+
if (value == null) {
|
|
13793
|
+
return value;
|
|
13794
|
+
}
|
|
13795
|
+
return {
|
|
13796
|
+
"data": UpdateSubscriberPreferences200ResponseDataToJSON(value["data"])
|
|
13797
|
+
};
|
|
13798
|
+
}
|
|
13799
|
+
|
|
12794
13800
|
// src/src/models/UpdateSubscriberPreferencesRequestPreferencesInner.ts
|
|
12795
13801
|
var UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum = {
|
|
12796
13802
|
EMAIL: "email",
|
|
@@ -13003,6 +14009,35 @@ function UpdateWaaSApplicationRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
13003
14009
|
};
|
|
13004
14010
|
}
|
|
13005
14011
|
|
|
14012
|
+
// src/src/models/UpdateWaaSEndpoint200Response.ts
|
|
14013
|
+
function instanceOfUpdateWaaSEndpoint200Response(value) {
|
|
14014
|
+
return true;
|
|
14015
|
+
}
|
|
14016
|
+
function UpdateWaaSEndpoint200ResponseFromJSON(json) {
|
|
14017
|
+
return UpdateWaaSEndpoint200ResponseFromJSONTyped(json, false);
|
|
14018
|
+
}
|
|
14019
|
+
function UpdateWaaSEndpoint200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14020
|
+
if (json == null) {
|
|
14021
|
+
return json;
|
|
14022
|
+
}
|
|
14023
|
+
return {
|
|
14024
|
+
"data": json["data"] == null ? void 0 : WaaSEndpointFromJSON(json["data"]),
|
|
14025
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
14026
|
+
};
|
|
14027
|
+
}
|
|
14028
|
+
function UpdateWaaSEndpoint200ResponseToJSON(json) {
|
|
14029
|
+
return UpdateWaaSEndpoint200ResponseToJSONTyped(json, false);
|
|
14030
|
+
}
|
|
14031
|
+
function UpdateWaaSEndpoint200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
14032
|
+
if (value == null) {
|
|
14033
|
+
return value;
|
|
14034
|
+
}
|
|
14035
|
+
return {
|
|
14036
|
+
"data": WaaSEndpointToJSON(value["data"]),
|
|
14037
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
14038
|
+
};
|
|
14039
|
+
}
|
|
14040
|
+
|
|
13006
14041
|
// src/src/models/UpdateWaaSEndpointRequest.ts
|
|
13007
14042
|
var UpdateWaaSEndpointRequestStatusEnum = {
|
|
13008
14043
|
ACTIVE: "active",
|
|
@@ -13039,6 +14074,35 @@ function UpdateWaaSEndpointRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
13039
14074
|
};
|
|
13040
14075
|
}
|
|
13041
14076
|
|
|
14077
|
+
// src/src/models/UpdateWaaSEventType200Response.ts
|
|
14078
|
+
function instanceOfUpdateWaaSEventType200Response(value) {
|
|
14079
|
+
return true;
|
|
14080
|
+
}
|
|
14081
|
+
function UpdateWaaSEventType200ResponseFromJSON(json) {
|
|
14082
|
+
return UpdateWaaSEventType200ResponseFromJSONTyped(json, false);
|
|
14083
|
+
}
|
|
14084
|
+
function UpdateWaaSEventType200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14085
|
+
if (json == null) {
|
|
14086
|
+
return json;
|
|
14087
|
+
}
|
|
14088
|
+
return {
|
|
14089
|
+
"data": json["data"] == null ? void 0 : WaaSEventTypeFromJSON(json["data"]),
|
|
14090
|
+
"meta": json["meta"] == null ? void 0 : GetDomain200ResponseMetaFromJSON(json["meta"])
|
|
14091
|
+
};
|
|
14092
|
+
}
|
|
14093
|
+
function UpdateWaaSEventType200ResponseToJSON(json) {
|
|
14094
|
+
return UpdateWaaSEventType200ResponseToJSONTyped(json, false);
|
|
14095
|
+
}
|
|
14096
|
+
function UpdateWaaSEventType200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
14097
|
+
if (value == null) {
|
|
14098
|
+
return value;
|
|
14099
|
+
}
|
|
14100
|
+
return {
|
|
14101
|
+
"data": WaaSEventTypeToJSON(value["data"]),
|
|
14102
|
+
"meta": GetDomain200ResponseMetaToJSON(value["meta"])
|
|
14103
|
+
};
|
|
14104
|
+
}
|
|
14105
|
+
|
|
13042
14106
|
// src/src/models/UpdateWaaSEventTypeRequest.ts
|
|
13043
14107
|
function instanceOfUpdateWaaSEventTypeRequest(value) {
|
|
13044
14108
|
return true;
|
|
@@ -17951,14 +19015,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
17951
19015
|
headers: headerParameters,
|
|
17952
19016
|
query: queryParameters
|
|
17953
19017
|
}, initOverrides);
|
|
17954
|
-
return new
|
|
19018
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
17955
19019
|
}
|
|
17956
19020
|
/**
|
|
17957
19021
|
* Secret-key-scoped lookup of a single end user by email address within the authenticating application. Scoped to the application — never resolves a user from another application. Does not return the password hash.
|
|
17958
19022
|
* Look up an end user by email (server-side admin)
|
|
17959
19023
|
*/
|
|
17960
19024
|
async getEndUserByEmail(email, initOverrides) {
|
|
17961
|
-
await this.getEndUserByEmailRaw({ email }, initOverrides);
|
|
19025
|
+
const response = await this.getEndUserByEmailRaw({ email }, initOverrides);
|
|
19026
|
+
return await response.value();
|
|
17962
19027
|
}
|
|
17963
19028
|
/**
|
|
17964
19029
|
* Secret-key-scoped fetch of a single end user by id within the authenticating application. Scoped to the application — a caller can never read a user belonging to another application.
|
|
@@ -17985,14 +19050,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
17985
19050
|
headers: headerParameters,
|
|
17986
19051
|
query: queryParameters
|
|
17987
19052
|
}, initOverrides);
|
|
17988
|
-
return new
|
|
19053
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
17989
19054
|
}
|
|
17990
19055
|
/**
|
|
17991
19056
|
* Secret-key-scoped fetch of a single end user by id within the authenticating application. Scoped to the application — a caller can never read a user belonging to another application.
|
|
17992
19057
|
* Get an end user by id (server-side admin)
|
|
17993
19058
|
*/
|
|
17994
19059
|
async getEndUserById(userId, initOverrides) {
|
|
17995
|
-
await this.getEndUserByIdRaw({ userId }, initOverrides);
|
|
19060
|
+
const response = await this.getEndUserByIdRaw({ userId }, initOverrides);
|
|
19061
|
+
return await response.value();
|
|
17996
19062
|
}
|
|
17997
19063
|
/**
|
|
17998
19064
|
* Secret-key-scoped read of the authoritative custom_claims stored for an end user. These are the TRUSTED claims embedded into the user\'s JWTs on login/refresh — use them (not the client-writable `metadata` field) for authorization decisions. Returns an empty object when none are set.
|
|
@@ -18019,14 +19085,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
18019
19085
|
headers: headerParameters,
|
|
18020
19086
|
query: queryParameters
|
|
18021
19087
|
}, initOverrides);
|
|
18022
|
-
return new
|
|
19088
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserClaims200ResponseFromJSON(jsonValue));
|
|
18023
19089
|
}
|
|
18024
19090
|
/**
|
|
18025
19091
|
* Secret-key-scoped read of the authoritative custom_claims stored for an end user. These are the TRUSTED claims embedded into the user\'s JWTs on login/refresh — use them (not the client-writable `metadata` field) for authorization decisions. Returns an empty object when none are set.
|
|
18026
19092
|
* Get an end user\'s stored custom claims (server-side admin)
|
|
18027
19093
|
*/
|
|
18028
19094
|
async getEndUserClaims(userId, initOverrides) {
|
|
18029
|
-
await this.getEndUserClaimsRaw({ userId }, initOverrides);
|
|
19095
|
+
const response = await this.getEndUserClaimsRaw({ userId }, initOverrides);
|
|
19096
|
+
return await response.value();
|
|
18030
19097
|
}
|
|
18031
19098
|
/**
|
|
18032
19099
|
* Secret-key-scoped pre-provisioning for an end user. Creates a passwordless user in the authenticating application (idempotent on email — an existing, non-deleted user is reused, not duplicated) and, when `send_link` is set, sends a first-login link so the user can set up their account without self-registration. - `send_link: \"magic\"` sends a magic-link sign-in email. - `send_link: \"password_reset\"` sends a set-password email. - `send_link: \"none\"` (default) creates the user with no email. A `redirect_url` is required when `send_link` is \"magic\" or \"password_reset\"; it must match the application\'s redirect_uris allowlist (custom schemes such as yourapp://path are permitted).
|
|
@@ -18055,14 +19122,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
18055
19122
|
query: queryParameters,
|
|
18056
19123
|
body: InviteEndUserRequestToJSON(requestParameters["inviteEndUserRequest"])
|
|
18057
19124
|
}, initOverrides);
|
|
18058
|
-
return new
|
|
19125
|
+
return new JSONApiResponse(response, (jsonValue) => InviteEndUser200ResponseFromJSON(jsonValue));
|
|
18059
19126
|
}
|
|
18060
19127
|
/**
|
|
18061
19128
|
* Secret-key-scoped pre-provisioning for an end user. Creates a passwordless user in the authenticating application (idempotent on email — an existing, non-deleted user is reused, not duplicated) and, when `send_link` is set, sends a first-login link so the user can set up their account without self-registration. - `send_link: \"magic\"` sends a magic-link sign-in email. - `send_link: \"password_reset\"` sends a set-password email. - `send_link: \"none\"` (default) creates the user with no email. A `redirect_url` is required when `send_link` is \"magic\" or \"password_reset\"; it must match the application\'s redirect_uris allowlist (custom schemes such as yourapp://path are permitted).
|
|
18062
19129
|
* Pre-provision (invite) an end user (server-side admin)
|
|
18063
19130
|
*/
|
|
18064
19131
|
async inviteEndUser(inviteEndUserRequest, initOverrides) {
|
|
18065
|
-
await this.inviteEndUserRaw({ inviteEndUserRequest }, initOverrides);
|
|
19132
|
+
const response = await this.inviteEndUserRaw({ inviteEndUserRequest }, initOverrides);
|
|
19133
|
+
return await response.value();
|
|
18066
19134
|
}
|
|
18067
19135
|
/**
|
|
18068
19136
|
* Secret-key-scoped directory listing of end users in the authenticating application. Supports substring search over email, name, and phone, an optional environment filter (test/live), and pagination. Scoped to the application — never returns users from another application.
|
|
@@ -18095,14 +19163,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
18095
19163
|
headers: headerParameters,
|
|
18096
19164
|
query: queryParameters
|
|
18097
19165
|
}, initOverrides);
|
|
18098
|
-
return new
|
|
19166
|
+
return new JSONApiResponse(response, (jsonValue) => ListEndUsers200ResponseFromJSON(jsonValue));
|
|
18099
19167
|
}
|
|
18100
19168
|
/**
|
|
18101
19169
|
* Secret-key-scoped directory listing of end users in the authenticating application. Supports substring search over email, name, and phone, an optional environment filter (test/live), and pagination. Scoped to the application — never returns users from another application.
|
|
18102
19170
|
* List / search end users (server-side admin)
|
|
18103
19171
|
*/
|
|
18104
19172
|
async listEndUsers(page, perPage, search, environment, initOverrides) {
|
|
18105
|
-
await this.listEndUsersRaw({ page, perPage, search, environment }, initOverrides);
|
|
19173
|
+
const response = await this.listEndUsersRaw({ page, perPage, search, environment }, initOverrides);
|
|
19174
|
+
return await response.value();
|
|
18106
19175
|
}
|
|
18107
19176
|
/**
|
|
18108
19177
|
* Secret-key-scoped upsert of the authoritative custom_claims for an end user. Set server-side only — clients cannot write these, which is what makes them safe for authorization (e.g. an account-type/admin flag). Claims are embedded into the user\'s JWTs on the next login/refresh. Max 4KB; reserved JWT/Zyphr claim names are rejected. Each write bumps a monotonic `claims_version` (returned in the response). The change applies seamlessly on the user\'s next login or token refresh — a token carrying an older `claims_version` is rejected on verification and the client silently re-mints with the new claims, without a forced logout. For a hard cut-off (log the user out of all sessions immediately), call POST /auth/sessions/revoke-all after updating claims.
|
|
@@ -18180,14 +19249,15 @@ var AuthUserDirectoryApi = class extends BaseAPI {
|
|
|
18180
19249
|
query: queryParameters,
|
|
18181
19250
|
body: UpdateEndUserByApplicationRequestToJSON(requestParameters["updateEndUserByApplicationRequest"])
|
|
18182
19251
|
}, initOverrides);
|
|
18183
|
-
return new
|
|
19252
|
+
return new JSONApiResponse(response, (jsonValue) => GetEndUserById200ResponseFromJSON(jsonValue));
|
|
18184
19253
|
}
|
|
18185
19254
|
/**
|
|
18186
19255
|
* Secret-key-scoped update of an arbitrary end user in the authenticating application. Updatable fields: email, name, avatar_url, metadata, status. Scoped to the application — a caller can never modify a user belonging to another application.
|
|
18187
19256
|
* Update an end user (server-side admin)
|
|
18188
19257
|
*/
|
|
18189
19258
|
async updateEndUserByApplication(userId, updateEndUserByApplicationRequest, initOverrides) {
|
|
18190
|
-
await this.updateEndUserByApplicationRaw({ userId, updateEndUserByApplicationRequest }, initOverrides);
|
|
19259
|
+
const response = await this.updateEndUserByApplicationRaw({ userId, updateEndUserByApplicationRequest }, initOverrides);
|
|
19260
|
+
return await response.value();
|
|
18191
19261
|
}
|
|
18192
19262
|
};
|
|
18193
19263
|
var ListEndUsersEnvironmentEnum = {
|
|
@@ -19003,14 +20073,15 @@ var DomainsApi = class extends BaseAPI {
|
|
|
19003
20073
|
query: queryParameters,
|
|
19004
20074
|
body: SetDomainInboundRequestToJSON(requestParameters["setDomainInboundRequest"])
|
|
19005
20075
|
}, initOverrides);
|
|
19006
|
-
return new
|
|
20076
|
+
return new JSONApiResponse(response, (jsonValue) => GetDomain200ResponseFromJSON(jsonValue));
|
|
19007
20077
|
}
|
|
19008
20078
|
/**
|
|
19009
20079
|
* Toggle email receiving for a domain. When enabled, the domain\'s DNS records gain an MX record on the `inbound.` subdomain that the tenant must publish. Requires a plan with inbound email (Starter+).
|
|
19010
20080
|
* Enable or disable inbound email for a domain
|
|
19011
20081
|
*/
|
|
19012
20082
|
async setDomainInbound(id, setDomainInboundRequest, initOverrides) {
|
|
19013
|
-
await this.setDomainInboundRaw({ id, setDomainInboundRequest }, initOverrides);
|
|
20083
|
+
const response = await this.setDomainInboundRaw({ id, setDomainInboundRequest }, initOverrides);
|
|
20084
|
+
return await response.value();
|
|
19014
20085
|
}
|
|
19015
20086
|
/**
|
|
19016
20087
|
* Queue an asynchronous DNS verification check. Returns immediately with a `job_id`. Poll `GET /v1/domains/{id}/verification-status` (or the higher-level `GET /v1/domains/{id}`) for the result, or subscribe to the `domain.verified` webhook event when sc-5444 ships. Returns 409 if a verification is already in progress for this domain (within the last 2 minutes).
|
|
@@ -19544,13 +20615,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
19544
20615
|
headers: headerParameters,
|
|
19545
20616
|
query: queryParameters
|
|
19546
20617
|
}, initOverrides);
|
|
19547
|
-
return new
|
|
20618
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
19548
20619
|
}
|
|
19549
20620
|
/**
|
|
19550
20621
|
* Archive a notification
|
|
19551
20622
|
*/
|
|
19552
20623
|
async archiveSubscriberNotification(id, initOverrides) {
|
|
19553
|
-
await this.archiveSubscriberNotificationRaw({ id }, initOverrides);
|
|
20624
|
+
const response = await this.archiveSubscriberNotificationRaw({ id }, initOverrides);
|
|
20625
|
+
return await response.value();
|
|
19554
20626
|
}
|
|
19555
20627
|
/**
|
|
19556
20628
|
* Permanently delete an in-app notification.
|
|
@@ -19714,14 +20786,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
19714
20786
|
headers: headerParameters,
|
|
19715
20787
|
query: queryParameters
|
|
19716
20788
|
}, initOverrides);
|
|
19717
|
-
return new
|
|
20789
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberInboxPreferences200ResponseFromJSON(jsonValue));
|
|
19718
20790
|
}
|
|
19719
20791
|
/**
|
|
19720
20792
|
* Get notification preferences grouped by category for the authenticated subscriber.
|
|
19721
20793
|
* Get subscriber preferences
|
|
19722
20794
|
*/
|
|
19723
20795
|
async getSubscriberInboxPreferences(initOverrides) {
|
|
19724
|
-
await this.getSubscriberInboxPreferencesRaw(initOverrides);
|
|
20796
|
+
const response = await this.getSubscriberInboxPreferencesRaw(initOverrides);
|
|
20797
|
+
return await response.value();
|
|
19725
20798
|
}
|
|
19726
20799
|
/**
|
|
19727
20800
|
* Get a specific notification by ID for the authenticated subscriber.
|
|
@@ -19749,14 +20822,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
19749
20822
|
headers: headerParameters,
|
|
19750
20823
|
query: queryParameters
|
|
19751
20824
|
}, initOverrides);
|
|
19752
|
-
return new
|
|
20825
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
19753
20826
|
}
|
|
19754
20827
|
/**
|
|
19755
20828
|
* Get a specific notification by ID for the authenticated subscriber.
|
|
19756
20829
|
* Get a notification
|
|
19757
20830
|
*/
|
|
19758
20831
|
async getSubscriberNotification(id, initOverrides) {
|
|
19759
|
-
await this.getSubscriberNotificationRaw({ id }, initOverrides);
|
|
20832
|
+
const response = await this.getSubscriberNotificationRaw({ id }, initOverrides);
|
|
20833
|
+
return await response.value();
|
|
19760
20834
|
}
|
|
19761
20835
|
/**
|
|
19762
20836
|
* Get the unread notification count for the authenticated subscriber.
|
|
@@ -19778,14 +20852,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
19778
20852
|
headers: headerParameters,
|
|
19779
20853
|
query: queryParameters
|
|
19780
20854
|
}, initOverrides);
|
|
19781
|
-
return new
|
|
20855
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberUnreadCount200ResponseFromJSON(jsonValue));
|
|
19782
20856
|
}
|
|
19783
20857
|
/**
|
|
19784
20858
|
* Get the unread notification count for the authenticated subscriber.
|
|
19785
20859
|
* Get unread count
|
|
19786
20860
|
*/
|
|
19787
20861
|
async getSubscriberUnreadCount(initOverrides) {
|
|
19788
|
-
await this.getSubscriberUnreadCountRaw(initOverrides);
|
|
20862
|
+
const response = await this.getSubscriberUnreadCountRaw(initOverrides);
|
|
20863
|
+
return await response.value();
|
|
19789
20864
|
}
|
|
19790
20865
|
/**
|
|
19791
20866
|
* Get the count of unread in-app notifications for a subscriber.
|
|
@@ -19853,14 +20928,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
19853
20928
|
headers: headerParameters,
|
|
19854
20929
|
query: queryParameters
|
|
19855
20930
|
}, initOverrides);
|
|
19856
|
-
return new
|
|
20931
|
+
return new JSONApiResponse(response, (jsonValue) => InboxListResponseFromJSON(jsonValue));
|
|
19857
20932
|
}
|
|
19858
20933
|
/**
|
|
19859
20934
|
* List all in-app notifications for the current project. Used by the dashboard to display all notifications without requiring a subscriber selection.
|
|
19860
20935
|
* List all project notifications
|
|
19861
20936
|
*/
|
|
19862
20937
|
async listAllInbox(subscriberId, status, category, search, limit, offset, initOverrides) {
|
|
19863
|
-
await this.listAllInboxRaw({ subscriberId, status, category, search, limit, offset }, initOverrides);
|
|
20938
|
+
const response = await this.listAllInboxRaw({ subscriberId, status, category, search, limit, offset }, initOverrides);
|
|
20939
|
+
return await response.value();
|
|
19864
20940
|
}
|
|
19865
20941
|
/**
|
|
19866
20942
|
* Retrieve in-app notifications for a subscriber. Requires subscriber_id or external_id.
|
|
@@ -19947,14 +21023,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
19947
21023
|
headers: headerParameters,
|
|
19948
21024
|
query: queryParameters
|
|
19949
21025
|
}, initOverrides);
|
|
19950
|
-
return new
|
|
21026
|
+
return new JSONApiResponse(response, (jsonValue) => InboxListResponseFromJSON(jsonValue));
|
|
19951
21027
|
}
|
|
19952
21028
|
/**
|
|
19953
21029
|
* List notifications for the authenticated subscriber. Supports cursor-based pagination.
|
|
19954
21030
|
* List subscriber notifications
|
|
19955
21031
|
*/
|
|
19956
21032
|
async listSubscriberNotifications(category, includeRead, includeArchived, limit, cursor, initOverrides) {
|
|
19957
|
-
await this.listSubscriberNotificationsRaw({ category, includeRead, includeArchived, limit, cursor }, initOverrides);
|
|
21033
|
+
const response = await this.listSubscriberNotificationsRaw({ category, includeRead, includeArchived, limit, cursor }, initOverrides);
|
|
21034
|
+
return await response.value();
|
|
19958
21035
|
}
|
|
19959
21036
|
/**
|
|
19960
21037
|
* Mark all unread in-app notifications as read for a subscriber. Optionally filter by category.
|
|
@@ -20011,13 +21088,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
20011
21088
|
query: queryParameters,
|
|
20012
21089
|
body: MarkAllSubscriberNotificationsReadRequestToJSON(requestParameters["markAllSubscriberNotificationsReadRequest"])
|
|
20013
21090
|
}, initOverrides);
|
|
20014
|
-
return new
|
|
21091
|
+
return new JSONApiResponse(response, (jsonValue) => MarkAllSubscriberNotificationsRead200ResponseFromJSON(jsonValue));
|
|
20015
21092
|
}
|
|
20016
21093
|
/**
|
|
20017
21094
|
* Mark all notifications as read
|
|
20018
21095
|
*/
|
|
20019
21096
|
async markAllSubscriberNotificationsRead(markAllSubscriberNotificationsReadRequest, initOverrides) {
|
|
20020
|
-
await this.markAllSubscriberNotificationsReadRaw({ markAllSubscriberNotificationsReadRequest }, initOverrides);
|
|
21097
|
+
const response = await this.markAllSubscriberNotificationsReadRaw({ markAllSubscriberNotificationsReadRequest }, initOverrides);
|
|
21098
|
+
return await response.value();
|
|
20021
21099
|
}
|
|
20022
21100
|
/**
|
|
20023
21101
|
* Mark a specific in-app notification as read.
|
|
@@ -20078,13 +21156,14 @@ var InboxApi = class extends BaseAPI {
|
|
|
20078
21156
|
headers: headerParameters,
|
|
20079
21157
|
query: queryParameters
|
|
20080
21158
|
}, initOverrides);
|
|
20081
|
-
return new
|
|
21159
|
+
return new JSONApiResponse(response, (jsonValue) => GetSubscriberNotification200ResponseFromJSON(jsonValue));
|
|
20082
21160
|
}
|
|
20083
21161
|
/**
|
|
20084
21162
|
* Mark notification as read
|
|
20085
21163
|
*/
|
|
20086
21164
|
async markSubscriberNotificationRead(id, initOverrides) {
|
|
20087
|
-
await this.markSubscriberNotificationReadRaw({ id }, initOverrides);
|
|
21165
|
+
const response = await this.markSubscriberNotificationReadRaw({ id }, initOverrides);
|
|
21166
|
+
return await response.value();
|
|
20088
21167
|
}
|
|
20089
21168
|
/**
|
|
20090
21169
|
* Send in-app notifications to multiple subscribers in a single request (max 100).
|
|
@@ -20182,14 +21261,15 @@ var InboxApi = class extends BaseAPI {
|
|
|
20182
21261
|
query: queryParameters,
|
|
20183
21262
|
body: UpdateSubscriberPreferencesRequestToJSON(requestParameters["updateSubscriberPreferencesRequest"])
|
|
20184
21263
|
}, initOverrides);
|
|
20185
|
-
return new
|
|
21264
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateSubscriberPreferences200ResponseFromJSON(jsonValue));
|
|
20186
21265
|
}
|
|
20187
21266
|
/**
|
|
20188
21267
|
* Update notification channel preferences for specific categories or globally.
|
|
20189
21268
|
* Update subscriber preferences
|
|
20190
21269
|
*/
|
|
20191
21270
|
async updateSubscriberPreferences(updateSubscriberPreferencesRequest, initOverrides) {
|
|
20192
|
-
await this.updateSubscriberPreferencesRaw({ updateSubscriberPreferencesRequest }, initOverrides);
|
|
21271
|
+
const response = await this.updateSubscriberPreferencesRaw({ updateSubscriberPreferencesRequest }, initOverrides);
|
|
21272
|
+
return await response.value();
|
|
20193
21273
|
}
|
|
20194
21274
|
};
|
|
20195
21275
|
var ListAllInboxStatusEnum = {
|
|
@@ -21820,14 +22900,15 @@ var TemplatesApi = class extends BaseAPI {
|
|
|
21820
22900
|
query: queryParameters,
|
|
21821
22901
|
body: SendTemplateTestEmailRequestToJSON(requestParameters["sendTemplateTestEmailRequest"])
|
|
21822
22902
|
}, initOverrides);
|
|
21823
|
-
return new
|
|
22903
|
+
return new JSONApiResponse(response, (jsonValue) => SendTemplateTestEmail202ResponseFromJSON(jsonValue));
|
|
21824
22904
|
}
|
|
21825
22905
|
/**
|
|
21826
22906
|
* Render the template and send a one-off test email (dashboard JWT auth). Because this is a send-capable endpoint, a frozen account receives `403 account_frozen` and a throttled account receives `429 account_throttled`.
|
|
21827
22907
|
* Send a test email using a template
|
|
21828
22908
|
*/
|
|
21829
22909
|
async sendTemplateTestEmail(id, sendTemplateTestEmailRequest, initOverrides) {
|
|
21830
|
-
await this.sendTemplateTestEmailRaw({ id, sendTemplateTestEmailRequest }, initOverrides);
|
|
22910
|
+
const response = await this.sendTemplateTestEmailRaw({ id, sendTemplateTestEmailRequest }, initOverrides);
|
|
22911
|
+
return await response.value();
|
|
21831
22912
|
}
|
|
21832
22913
|
/**
|
|
21833
22914
|
* Update an existing template. Only provided fields are changed.
|
|
@@ -22465,14 +23546,15 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
22465
23546
|
headers: headerParameters,
|
|
22466
23547
|
query: queryParameters
|
|
22467
23548
|
}, initOverrides);
|
|
22468
|
-
return new
|
|
23549
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSDelivery200ResponseFromJSON(jsonValue));
|
|
22469
23550
|
}
|
|
22470
23551
|
/**
|
|
22471
23552
|
* Get full delivery details including request/response data.
|
|
22472
23553
|
* Get delivery detail
|
|
22473
23554
|
*/
|
|
22474
23555
|
async getWaaSDelivery(appId, deliveryId, initOverrides) {
|
|
22475
|
-
await this.getWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
23556
|
+
const response = await this.getWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
23557
|
+
return await response.value();
|
|
22476
23558
|
}
|
|
22477
23559
|
/**
|
|
22478
23560
|
* List delivery records for a WaaS application. Filter by tenant, event type, or status.
|
|
@@ -22596,14 +23678,15 @@ var WaaSDeliveriesApi = class extends BaseAPI {
|
|
|
22596
23678
|
headers: headerParameters,
|
|
22597
23679
|
query: queryParameters
|
|
22598
23680
|
}, initOverrides);
|
|
22599
|
-
return new
|
|
23681
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSDelivery200ResponseFromJSON(jsonValue));
|
|
22600
23682
|
}
|
|
22601
23683
|
/**
|
|
22602
23684
|
* Retry a failed or exhausted delivery. Resets the delivery status and re-queues it.
|
|
22603
23685
|
* Retry a delivery
|
|
22604
23686
|
*/
|
|
22605
23687
|
async retryWaaSDelivery(appId, deliveryId, initOverrides) {
|
|
22606
|
-
await this.retryWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
23688
|
+
const response = await this.retryWaaSDeliveryRaw({ appId, deliveryId }, initOverrides);
|
|
23689
|
+
return await response.value();
|
|
22607
23690
|
}
|
|
22608
23691
|
};
|
|
22609
23692
|
var ListWaaSDeliveriesStatusEnum = {
|
|
@@ -22645,14 +23728,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
22645
23728
|
headers: headerParameters,
|
|
22646
23729
|
query: queryParameters
|
|
22647
23730
|
}, initOverrides);
|
|
22648
|
-
return new
|
|
23731
|
+
return new JSONApiResponse(response, (jsonValue) => CloseWaaSEndpointCircuit200ResponseFromJSON(jsonValue));
|
|
22649
23732
|
}
|
|
22650
23733
|
/**
|
|
22651
23734
|
* Force the circuit breaker to close, resuming deliveries to the endpoint.
|
|
22652
23735
|
* Force-close circuit breaker
|
|
22653
23736
|
*/
|
|
22654
23737
|
async closeWaaSEndpointCircuit(appId, endpointId, initOverrides) {
|
|
22655
|
-
await this.closeWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
23738
|
+
const response = await this.closeWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
23739
|
+
return await response.value();
|
|
22656
23740
|
}
|
|
22657
23741
|
/**
|
|
22658
23742
|
* Create a webhook endpoint for a specific tenant. The signing secret is returned only on creation.
|
|
@@ -22795,14 +23879,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
22795
23879
|
headers: headerParameters,
|
|
22796
23880
|
query: queryParameters
|
|
22797
23881
|
}, initOverrides);
|
|
22798
|
-
return new
|
|
23882
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSEndpointCircuit200ResponseFromJSON(jsonValue));
|
|
22799
23883
|
}
|
|
22800
23884
|
/**
|
|
22801
23885
|
* Get the circuit breaker state for an endpoint (closed, open, or half-open).
|
|
22802
23886
|
* Get circuit breaker state
|
|
22803
23887
|
*/
|
|
22804
23888
|
async getWaaSEndpointCircuit(appId, endpointId, initOverrides) {
|
|
22805
|
-
await this.getWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
23889
|
+
const response = await this.getWaaSEndpointCircuitRaw({ appId, endpointId }, initOverrides);
|
|
23890
|
+
return await response.value();
|
|
22806
23891
|
}
|
|
22807
23892
|
/**
|
|
22808
23893
|
* Get delivery success rate, latency, and health metrics for an endpoint.
|
|
@@ -22832,14 +23917,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
22832
23917
|
headers: headerParameters,
|
|
22833
23918
|
query: queryParameters
|
|
22834
23919
|
}, initOverrides);
|
|
22835
|
-
return new
|
|
23920
|
+
return new JSONApiResponse(response, (jsonValue) => GetWaaSEndpointMetrics200ResponseFromJSON(jsonValue));
|
|
22836
23921
|
}
|
|
22837
23922
|
/**
|
|
22838
23923
|
* Get delivery success rate, latency, and health metrics for an endpoint.
|
|
22839
23924
|
* Get endpoint metrics
|
|
22840
23925
|
*/
|
|
22841
23926
|
async getWaaSEndpointMetrics(appId, endpointId, initOverrides) {
|
|
22842
|
-
await this.getWaaSEndpointMetricsRaw({ appId, endpointId }, initOverrides);
|
|
23927
|
+
const response = await this.getWaaSEndpointMetricsRaw({ appId, endpointId }, initOverrides);
|
|
23928
|
+
return await response.value();
|
|
22843
23929
|
}
|
|
22844
23930
|
/**
|
|
22845
23931
|
* List all endpoints for a WaaS application. Optionally filter by tenant ID or status.
|
|
@@ -22913,14 +23999,15 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
22913
23999
|
headers: headerParameters,
|
|
22914
24000
|
query: queryParameters
|
|
22915
24001
|
}, initOverrides);
|
|
22916
|
-
return new
|
|
24002
|
+
return new JSONApiResponse(response, (jsonValue) => RotateWaaSEndpointSecret200ResponseFromJSON(jsonValue));
|
|
22917
24003
|
}
|
|
22918
24004
|
/**
|
|
22919
24005
|
* Rotate the signing secret for an endpoint. During rotation, deliveries are signed with both old and new secrets.
|
|
22920
24006
|
* Rotate endpoint secret
|
|
22921
24007
|
*/
|
|
22922
24008
|
async rotateWaaSEndpointSecret(appId, endpointId, initOverrides) {
|
|
22923
|
-
await this.rotateWaaSEndpointSecretRaw({ appId, endpointId }, initOverrides);
|
|
24009
|
+
const response = await this.rotateWaaSEndpointSecretRaw({ appId, endpointId }, initOverrides);
|
|
24010
|
+
return await response.value();
|
|
22924
24011
|
}
|
|
22925
24012
|
/**
|
|
22926
24013
|
* Update an endpoint
|
|
@@ -22957,13 +24044,14 @@ var WaaSEndpointsApi = class extends BaseAPI {
|
|
|
22957
24044
|
query: queryParameters,
|
|
22958
24045
|
body: UpdateWaaSEndpointRequestToJSON(requestParameters["updateWaaSEndpointRequest"])
|
|
22959
24046
|
}, initOverrides);
|
|
22960
|
-
return new
|
|
24047
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEndpoint200ResponseFromJSON(jsonValue));
|
|
22961
24048
|
}
|
|
22962
24049
|
/**
|
|
22963
24050
|
* Update an endpoint
|
|
22964
24051
|
*/
|
|
22965
24052
|
async updateWaaSEndpoint(appId, endpointId, updateWaaSEndpointRequest, initOverrides) {
|
|
22966
|
-
await this.updateWaaSEndpointRaw({ appId, endpointId, updateWaaSEndpointRequest }, initOverrides);
|
|
24053
|
+
const response = await this.updateWaaSEndpointRaw({ appId, endpointId, updateWaaSEndpointRequest }, initOverrides);
|
|
24054
|
+
return await response.value();
|
|
22967
24055
|
}
|
|
22968
24056
|
};
|
|
22969
24057
|
var ListWaaSEndpointsStatusEnum = {
|
|
@@ -23079,14 +24167,15 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
23079
24167
|
headers: headerParameters,
|
|
23080
24168
|
query: queryParameters
|
|
23081
24169
|
}, initOverrides);
|
|
23082
|
-
return new
|
|
24170
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEventType200ResponseFromJSON(jsonValue));
|
|
23083
24171
|
}
|
|
23084
24172
|
/**
|
|
23085
24173
|
* Mark an event type as deprecated. Existing subscriptions continue to receive deliveries, but new subscriptions are blocked.
|
|
23086
24174
|
* Deprecate an event type
|
|
23087
24175
|
*/
|
|
23088
24176
|
async deprecateWaaSEventType(appId, eventTypeId, initOverrides) {
|
|
23089
|
-
await this.deprecateWaaSEventTypeRaw({ appId, eventTypeId }, initOverrides);
|
|
24177
|
+
const response = await this.deprecateWaaSEventTypeRaw({ appId, eventTypeId }, initOverrides);
|
|
24178
|
+
return await response.value();
|
|
23090
24179
|
}
|
|
23091
24180
|
/**
|
|
23092
24181
|
* Get an event type
|
|
@@ -23203,13 +24292,14 @@ var WaaSEventTypesApi = class extends BaseAPI {
|
|
|
23203
24292
|
query: queryParameters,
|
|
23204
24293
|
body: UpdateWaaSEventTypeRequestToJSON(requestParameters["updateWaaSEventTypeRequest"])
|
|
23205
24294
|
}, initOverrides);
|
|
23206
|
-
return new
|
|
24295
|
+
return new JSONApiResponse(response, (jsonValue) => UpdateWaaSEventType200ResponseFromJSON(jsonValue));
|
|
23207
24296
|
}
|
|
23208
24297
|
/**
|
|
23209
24298
|
* Update an event type
|
|
23210
24299
|
*/
|
|
23211
24300
|
async updateWaaSEventType(appId, eventTypeId, updateWaaSEventTypeRequest, initOverrides) {
|
|
23212
|
-
await this.updateWaaSEventTypeRaw({ appId, eventTypeId, updateWaaSEventTypeRequest }, initOverrides);
|
|
24301
|
+
const response = await this.updateWaaSEventTypeRaw({ appId, eventTypeId, updateWaaSEventTypeRequest }, initOverrides);
|
|
24302
|
+
return await response.value();
|
|
23213
24303
|
}
|
|
23214
24304
|
};
|
|
23215
24305
|
var ListWaaSEventTypesStatusEnum = {
|
|
@@ -25088,6 +26178,15 @@ export {
|
|
|
25088
26178
|
CategoryResponseToJSONTyped,
|
|
25089
26179
|
CategoryToJSON,
|
|
25090
26180
|
CategoryToJSONTyped,
|
|
26181
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
26182
|
+
CloseWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
26183
|
+
CloseWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
26184
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSON,
|
|
26185
|
+
CloseWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
26186
|
+
CloseWaaSEndpointCircuit200ResponseFromJSON,
|
|
26187
|
+
CloseWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
26188
|
+
CloseWaaSEndpointCircuit200ResponseToJSON,
|
|
26189
|
+
CloseWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
25091
26190
|
Configuration,
|
|
25092
26191
|
ConfirmEmailVerificationRequestFromJSON,
|
|
25093
26192
|
ConfirmEmailVerificationRequestFromJSONTyped,
|
|
@@ -25411,10 +26510,86 @@ export {
|
|
|
25411
26510
|
GetDomain200ResponseMetaToJSONTyped,
|
|
25412
26511
|
GetDomain200ResponseToJSON,
|
|
25413
26512
|
GetDomain200ResponseToJSONTyped,
|
|
26513
|
+
GetEndUserById200ResponseFromJSON,
|
|
26514
|
+
GetEndUserById200ResponseFromJSONTyped,
|
|
26515
|
+
GetEndUserById200ResponseToJSON,
|
|
26516
|
+
GetEndUserById200ResponseToJSONTyped,
|
|
26517
|
+
GetEndUserClaims200ResponseDataFromJSON,
|
|
26518
|
+
GetEndUserClaims200ResponseDataFromJSONTyped,
|
|
26519
|
+
GetEndUserClaims200ResponseDataToJSON,
|
|
26520
|
+
GetEndUserClaims200ResponseDataToJSONTyped,
|
|
26521
|
+
GetEndUserClaims200ResponseFromJSON,
|
|
26522
|
+
GetEndUserClaims200ResponseFromJSONTyped,
|
|
26523
|
+
GetEndUserClaims200ResponseToJSON,
|
|
26524
|
+
GetEndUserClaims200ResponseToJSONTyped,
|
|
26525
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSON,
|
|
26526
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryFromJSONTyped,
|
|
26527
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSON,
|
|
26528
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategoryToJSONTyped,
|
|
26529
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSON,
|
|
26530
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerFromJSONTyped,
|
|
26531
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSON,
|
|
26532
|
+
GetSubscriberInboxPreferences200ResponseDataCategoriesInnerToJSONTyped,
|
|
26533
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSON,
|
|
26534
|
+
GetSubscriberInboxPreferences200ResponseDataFromJSONTyped,
|
|
26535
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerChannelEnum,
|
|
26536
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSON,
|
|
26537
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerFromJSONTyped,
|
|
26538
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSON,
|
|
26539
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalChannelsInnerToJSONTyped,
|
|
26540
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSON,
|
|
26541
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalFromJSONTyped,
|
|
26542
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSON,
|
|
26543
|
+
GetSubscriberInboxPreferences200ResponseDataGlobalToJSONTyped,
|
|
26544
|
+
GetSubscriberInboxPreferences200ResponseDataToJSON,
|
|
26545
|
+
GetSubscriberInboxPreferences200ResponseDataToJSONTyped,
|
|
26546
|
+
GetSubscriberInboxPreferences200ResponseFromJSON,
|
|
26547
|
+
GetSubscriberInboxPreferences200ResponseFromJSONTyped,
|
|
26548
|
+
GetSubscriberInboxPreferences200ResponseToJSON,
|
|
26549
|
+
GetSubscriberInboxPreferences200ResponseToJSONTyped,
|
|
26550
|
+
GetSubscriberNotification200ResponseFromJSON,
|
|
26551
|
+
GetSubscriberNotification200ResponseFromJSONTyped,
|
|
26552
|
+
GetSubscriberNotification200ResponseToJSON,
|
|
26553
|
+
GetSubscriberNotification200ResponseToJSONTyped,
|
|
26554
|
+
GetSubscriberUnreadCount200ResponseFromJSON,
|
|
26555
|
+
GetSubscriberUnreadCount200ResponseFromJSONTyped,
|
|
26556
|
+
GetSubscriberUnreadCount200ResponseToJSON,
|
|
26557
|
+
GetSubscriberUnreadCount200ResponseToJSONTyped,
|
|
26558
|
+
GetWaaSDelivery200ResponseFromJSON,
|
|
26559
|
+
GetWaaSDelivery200ResponseFromJSONTyped,
|
|
26560
|
+
GetWaaSDelivery200ResponseToJSON,
|
|
26561
|
+
GetWaaSDelivery200ResponseToJSONTyped,
|
|
25414
26562
|
GetWaaSEndpoint200ResponseFromJSON,
|
|
25415
26563
|
GetWaaSEndpoint200ResponseFromJSONTyped,
|
|
25416
26564
|
GetWaaSEndpoint200ResponseToJSON,
|
|
25417
26565
|
GetWaaSEndpoint200ResponseToJSONTyped,
|
|
26566
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSON,
|
|
26567
|
+
GetWaaSEndpointCircuit200ResponseDataFromJSONTyped,
|
|
26568
|
+
GetWaaSEndpointCircuit200ResponseDataStateEnum,
|
|
26569
|
+
GetWaaSEndpointCircuit200ResponseDataToJSON,
|
|
26570
|
+
GetWaaSEndpointCircuit200ResponseDataToJSONTyped,
|
|
26571
|
+
GetWaaSEndpointCircuit200ResponseFromJSON,
|
|
26572
|
+
GetWaaSEndpointCircuit200ResponseFromJSONTyped,
|
|
26573
|
+
GetWaaSEndpointCircuit200ResponseToJSON,
|
|
26574
|
+
GetWaaSEndpointCircuit200ResponseToJSONTyped,
|
|
26575
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSON,
|
|
26576
|
+
GetWaaSEndpointMetrics200ResponseDataFromJSONTyped,
|
|
26577
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSON,
|
|
26578
|
+
GetWaaSEndpointMetrics200ResponseDataHealthFromJSONTyped,
|
|
26579
|
+
GetWaaSEndpointMetrics200ResponseDataHealthStatusEnum,
|
|
26580
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSON,
|
|
26581
|
+
GetWaaSEndpointMetrics200ResponseDataHealthToJSONTyped,
|
|
26582
|
+
GetWaaSEndpointMetrics200ResponseDataToJSON,
|
|
26583
|
+
GetWaaSEndpointMetrics200ResponseDataToJSONTyped,
|
|
26584
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSON,
|
|
26585
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueFromJSONTyped,
|
|
26586
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSON,
|
|
26587
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueToJSONTyped,
|
|
26588
|
+
GetWaaSEndpointMetrics200ResponseDataWindowsValueWindowEnum,
|
|
26589
|
+
GetWaaSEndpointMetrics200ResponseFromJSON,
|
|
26590
|
+
GetWaaSEndpointMetrics200ResponseFromJSONTyped,
|
|
26591
|
+
GetWaaSEndpointMetrics200ResponseToJSON,
|
|
26592
|
+
GetWaaSEndpointMetrics200ResponseToJSONTyped,
|
|
25418
26593
|
GetWaaSUsage200ResponseFromJSON,
|
|
25419
26594
|
GetWaaSUsage200ResponseFromJSONTyped,
|
|
25420
26595
|
GetWaaSUsage200ResponseToJSON,
|
|
@@ -25474,6 +26649,14 @@ export {
|
|
|
25474
26649
|
InboxNotificationResponseFromJSONTyped,
|
|
25475
26650
|
InboxNotificationResponseToJSON,
|
|
25476
26651
|
InboxNotificationResponseToJSONTyped,
|
|
26652
|
+
InviteEndUser200ResponseDataFromJSON,
|
|
26653
|
+
InviteEndUser200ResponseDataFromJSONTyped,
|
|
26654
|
+
InviteEndUser200ResponseDataToJSON,
|
|
26655
|
+
InviteEndUser200ResponseDataToJSONTyped,
|
|
26656
|
+
InviteEndUser200ResponseFromJSON,
|
|
26657
|
+
InviteEndUser200ResponseFromJSONTyped,
|
|
26658
|
+
InviteEndUser200ResponseToJSON,
|
|
26659
|
+
InviteEndUser200ResponseToJSONTyped,
|
|
25477
26660
|
InviteEndUserRequestFromJSON,
|
|
25478
26661
|
InviteEndUserRequestFromJSONTyped,
|
|
25479
26662
|
InviteEndUserRequestSendLinkEnum,
|
|
@@ -25483,6 +26666,14 @@ export {
|
|
|
25483
26666
|
ListAllInboxStatusEnum,
|
|
25484
26667
|
ListDevicesPlatformEnum,
|
|
25485
26668
|
ListEmailsStatusEnum,
|
|
26669
|
+
ListEndUsers200ResponseFromJSON,
|
|
26670
|
+
ListEndUsers200ResponseFromJSONTyped,
|
|
26671
|
+
ListEndUsers200ResponseMetaFromJSON,
|
|
26672
|
+
ListEndUsers200ResponseMetaFromJSONTyped,
|
|
26673
|
+
ListEndUsers200ResponseMetaToJSON,
|
|
26674
|
+
ListEndUsers200ResponseMetaToJSONTyped,
|
|
26675
|
+
ListEndUsers200ResponseToJSON,
|
|
26676
|
+
ListEndUsers200ResponseToJSONTyped,
|
|
25486
26677
|
ListEndUsersEnvironmentEnum,
|
|
25487
26678
|
ListInboundEmailsStatusEnum,
|
|
25488
26679
|
ListPushStatusEnum,
|
|
@@ -25512,10 +26703,6 @@ export {
|
|
|
25512
26703
|
ListWebhookDeliveriesStatusEnum,
|
|
25513
26704
|
ListWorkflowExecutions200ResponseFromJSON,
|
|
25514
26705
|
ListWorkflowExecutions200ResponseFromJSONTyped,
|
|
25515
|
-
ListWorkflowExecutions200ResponseMetaFromJSON,
|
|
25516
|
-
ListWorkflowExecutions200ResponseMetaFromJSONTyped,
|
|
25517
|
-
ListWorkflowExecutions200ResponseMetaToJSON,
|
|
25518
|
-
ListWorkflowExecutions200ResponseMetaToJSONTyped,
|
|
25519
26706
|
ListWorkflowExecutions200ResponseToJSON,
|
|
25520
26707
|
ListWorkflowExecutions200ResponseToJSONTyped,
|
|
25521
26708
|
ListWorkflows200ResponseFromJSON,
|
|
@@ -25558,6 +26745,10 @@ export {
|
|
|
25558
26745
|
MarkAllReadResponseFromJSONTyped,
|
|
25559
26746
|
MarkAllReadResponseToJSON,
|
|
25560
26747
|
MarkAllReadResponseToJSONTyped,
|
|
26748
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSON,
|
|
26749
|
+
MarkAllSubscriberNotificationsRead200ResponseFromJSONTyped,
|
|
26750
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSON,
|
|
26751
|
+
MarkAllSubscriberNotificationsRead200ResponseToJSONTyped,
|
|
25561
26752
|
MarkAllSubscriberNotificationsReadRequestFromJSON,
|
|
25562
26753
|
MarkAllSubscriberNotificationsReadRequestFromJSONTyped,
|
|
25563
26754
|
MarkAllSubscriberNotificationsReadRequestToJSON,
|
|
@@ -25955,6 +27146,14 @@ export {
|
|
|
25955
27146
|
RevokeSessionRequestFromJSONTyped,
|
|
25956
27147
|
RevokeSessionRequestToJSON,
|
|
25957
27148
|
RevokeSessionRequestToJSONTyped,
|
|
27149
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSON,
|
|
27150
|
+
RotateWaaSEndpointSecret200ResponseDataFromJSONTyped,
|
|
27151
|
+
RotateWaaSEndpointSecret200ResponseDataToJSON,
|
|
27152
|
+
RotateWaaSEndpointSecret200ResponseDataToJSONTyped,
|
|
27153
|
+
RotateWaaSEndpointSecret200ResponseFromJSON,
|
|
27154
|
+
RotateWaaSEndpointSecret200ResponseFromJSONTyped,
|
|
27155
|
+
RotateWaaSEndpointSecret200ResponseToJSON,
|
|
27156
|
+
RotateWaaSEndpointSecret200ResponseToJSONTyped,
|
|
25958
27157
|
SDK_VERSION,
|
|
25959
27158
|
SMSApi,
|
|
25960
27159
|
SendBatchEmailRequestFromJSON,
|
|
@@ -26087,6 +27286,18 @@ export {
|
|
|
26087
27286
|
SendSmsResponseFromJSONTyped,
|
|
26088
27287
|
SendSmsResponseToJSON,
|
|
26089
27288
|
SendSmsResponseToJSONTyped,
|
|
27289
|
+
SendTemplateTestEmail202ResponseDataFromJSON,
|
|
27290
|
+
SendTemplateTestEmail202ResponseDataFromJSONTyped,
|
|
27291
|
+
SendTemplateTestEmail202ResponseDataToJSON,
|
|
27292
|
+
SendTemplateTestEmail202ResponseDataToJSONTyped,
|
|
27293
|
+
SendTemplateTestEmail202ResponseFromJSON,
|
|
27294
|
+
SendTemplateTestEmail202ResponseFromJSONTyped,
|
|
27295
|
+
SendTemplateTestEmail202ResponseMetaFromJSON,
|
|
27296
|
+
SendTemplateTestEmail202ResponseMetaFromJSONTyped,
|
|
27297
|
+
SendTemplateTestEmail202ResponseMetaToJSON,
|
|
27298
|
+
SendTemplateTestEmail202ResponseMetaToJSONTyped,
|
|
27299
|
+
SendTemplateTestEmail202ResponseToJSON,
|
|
27300
|
+
SendTemplateTestEmail202ResponseToJSONTyped,
|
|
26090
27301
|
SendTemplateTestEmailRequestFromJSON,
|
|
26091
27302
|
SendTemplateTestEmailRequestFromJSONTyped,
|
|
26092
27303
|
SendTemplateTestEmailRequestToJSON,
|
|
@@ -26408,6 +27619,19 @@ export {
|
|
|
26408
27619
|
UpdateOrganizationRequestFromJSONTyped,
|
|
26409
27620
|
UpdateOrganizationRequestToJSON,
|
|
26410
27621
|
UpdateOrganizationRequestToJSONTyped,
|
|
27622
|
+
UpdateSubscriberPreferences200ResponseDataFromJSON,
|
|
27623
|
+
UpdateSubscriberPreferences200ResponseDataFromJSONTyped,
|
|
27624
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerChannelEnum,
|
|
27625
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSON,
|
|
27626
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerFromJSONTyped,
|
|
27627
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSON,
|
|
27628
|
+
UpdateSubscriberPreferences200ResponseDataPreferencesInnerToJSONTyped,
|
|
27629
|
+
UpdateSubscriberPreferences200ResponseDataToJSON,
|
|
27630
|
+
UpdateSubscriberPreferences200ResponseDataToJSONTyped,
|
|
27631
|
+
UpdateSubscriberPreferences200ResponseFromJSON,
|
|
27632
|
+
UpdateSubscriberPreferences200ResponseFromJSONTyped,
|
|
27633
|
+
UpdateSubscriberPreferences200ResponseToJSON,
|
|
27634
|
+
UpdateSubscriberPreferences200ResponseToJSONTyped,
|
|
26411
27635
|
UpdateSubscriberPreferencesRequestFromJSON,
|
|
26412
27636
|
UpdateSubscriberPreferencesRequestFromJSONTyped,
|
|
26413
27637
|
UpdateSubscriberPreferencesRequestPreferencesInnerChannelEnum,
|
|
@@ -26435,11 +27659,19 @@ export {
|
|
|
26435
27659
|
UpdateWaaSApplicationRequestStatusEnum,
|
|
26436
27660
|
UpdateWaaSApplicationRequestToJSON,
|
|
26437
27661
|
UpdateWaaSApplicationRequestToJSONTyped,
|
|
27662
|
+
UpdateWaaSEndpoint200ResponseFromJSON,
|
|
27663
|
+
UpdateWaaSEndpoint200ResponseFromJSONTyped,
|
|
27664
|
+
UpdateWaaSEndpoint200ResponseToJSON,
|
|
27665
|
+
UpdateWaaSEndpoint200ResponseToJSONTyped,
|
|
26438
27666
|
UpdateWaaSEndpointRequestFromJSON,
|
|
26439
27667
|
UpdateWaaSEndpointRequestFromJSONTyped,
|
|
26440
27668
|
UpdateWaaSEndpointRequestStatusEnum,
|
|
26441
27669
|
UpdateWaaSEndpointRequestToJSON,
|
|
26442
27670
|
UpdateWaaSEndpointRequestToJSONTyped,
|
|
27671
|
+
UpdateWaaSEventType200ResponseFromJSON,
|
|
27672
|
+
UpdateWaaSEventType200ResponseFromJSONTyped,
|
|
27673
|
+
UpdateWaaSEventType200ResponseToJSON,
|
|
27674
|
+
UpdateWaaSEventType200ResponseToJSONTyped,
|
|
26443
27675
|
UpdateWaaSEventTypeRequestFromJSON,
|
|
26444
27676
|
UpdateWaaSEventTypeRequestFromJSONTyped,
|
|
26445
27677
|
UpdateWaaSEventTypeRequestToJSON,
|
|
@@ -26895,6 +28127,8 @@ export {
|
|
|
26895
28127
|
instanceOfCategory,
|
|
26896
28128
|
instanceOfCategoryListResponse,
|
|
26897
28129
|
instanceOfCategoryResponse,
|
|
28130
|
+
instanceOfCloseWaaSEndpointCircuit200Response,
|
|
28131
|
+
instanceOfCloseWaaSEndpointCircuit200ResponseData,
|
|
26898
28132
|
instanceOfConfirmEmailVerificationRequest,
|
|
26899
28133
|
instanceOfConfirmEmailVerificationResponse,
|
|
26900
28134
|
instanceOfConfirmEmailVerificationResponseData,
|
|
@@ -26970,7 +28204,25 @@ export {
|
|
|
26970
28204
|
instanceOfGenerateWaaSPortalToken201Response,
|
|
26971
28205
|
instanceOfGetDomain200Response,
|
|
26972
28206
|
instanceOfGetDomain200ResponseMeta,
|
|
28207
|
+
instanceOfGetEndUserById200Response,
|
|
28208
|
+
instanceOfGetEndUserClaims200Response,
|
|
28209
|
+
instanceOfGetEndUserClaims200ResponseData,
|
|
28210
|
+
instanceOfGetSubscriberInboxPreferences200Response,
|
|
28211
|
+
instanceOfGetSubscriberInboxPreferences200ResponseData,
|
|
28212
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInner,
|
|
28213
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataCategoriesInnerCategory,
|
|
28214
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobal,
|
|
28215
|
+
instanceOfGetSubscriberInboxPreferences200ResponseDataGlobalChannelsInner,
|
|
28216
|
+
instanceOfGetSubscriberNotification200Response,
|
|
28217
|
+
instanceOfGetSubscriberUnreadCount200Response,
|
|
28218
|
+
instanceOfGetWaaSDelivery200Response,
|
|
26973
28219
|
instanceOfGetWaaSEndpoint200Response,
|
|
28220
|
+
instanceOfGetWaaSEndpointCircuit200Response,
|
|
28221
|
+
instanceOfGetWaaSEndpointCircuit200ResponseData,
|
|
28222
|
+
instanceOfGetWaaSEndpointMetrics200Response,
|
|
28223
|
+
instanceOfGetWaaSEndpointMetrics200ResponseData,
|
|
28224
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataHealth,
|
|
28225
|
+
instanceOfGetWaaSEndpointMetrics200ResponseDataWindowsValue,
|
|
26974
28226
|
instanceOfGetWaaSUsage200Response,
|
|
26975
28227
|
instanceOfInAppNotification,
|
|
26976
28228
|
instanceOfInboundAttachmentUrlResponse,
|
|
@@ -26984,13 +28236,16 @@ export {
|
|
|
26984
28236
|
instanceOfInboxListMeta,
|
|
26985
28237
|
instanceOfInboxListResponse,
|
|
26986
28238
|
instanceOfInboxNotificationResponse,
|
|
28239
|
+
instanceOfInviteEndUser200Response,
|
|
28240
|
+
instanceOfInviteEndUser200ResponseData,
|
|
26987
28241
|
instanceOfInviteEndUserRequest,
|
|
28242
|
+
instanceOfListEndUsers200Response,
|
|
28243
|
+
instanceOfListEndUsers200ResponseMeta,
|
|
26988
28244
|
instanceOfListWaaSApplications200Response,
|
|
26989
28245
|
instanceOfListWaaSEndpointDeliveries200Response,
|
|
26990
28246
|
instanceOfListWaaSEndpoints200Response,
|
|
26991
28247
|
instanceOfListWaaSEventTypes200Response,
|
|
26992
28248
|
instanceOfListWorkflowExecutions200Response,
|
|
26993
|
-
instanceOfListWorkflowExecutions200ResponseMeta,
|
|
26994
28249
|
instanceOfListWorkflows200Response,
|
|
26995
28250
|
instanceOfListWorkflows200ResponseMeta,
|
|
26996
28251
|
instanceOfLoginRequest,
|
|
@@ -27001,6 +28256,7 @@ export {
|
|
|
27001
28256
|
instanceOfMarkAllInboxReadRequest,
|
|
27002
28257
|
instanceOfMarkAllReadData,
|
|
27003
28258
|
instanceOfMarkAllReadResponse,
|
|
28259
|
+
instanceOfMarkAllSubscriberNotificationsRead200Response,
|
|
27004
28260
|
instanceOfMarkAllSubscriberNotificationsReadRequest,
|
|
27005
28261
|
instanceOfMarkInboxReadRequest,
|
|
27006
28262
|
instanceOfMfaBackupCodesResponse,
|
|
@@ -27097,6 +28353,8 @@ export {
|
|
|
27097
28353
|
instanceOfRevokeAllSessionsResponse,
|
|
27098
28354
|
instanceOfRevokeAllSessionsResponseData,
|
|
27099
28355
|
instanceOfRevokeSessionRequest,
|
|
28356
|
+
instanceOfRotateWaaSEndpointSecret200Response,
|
|
28357
|
+
instanceOfRotateWaaSEndpointSecret200ResponseData,
|
|
27100
28358
|
instanceOfSendBatchEmailRequest,
|
|
27101
28359
|
instanceOfSendBatchEmailResponse,
|
|
27102
28360
|
instanceOfSendBatchEmailResult,
|
|
@@ -27129,6 +28387,9 @@ export {
|
|
|
27129
28387
|
instanceOfSendSmsData,
|
|
27130
28388
|
instanceOfSendSmsRequest,
|
|
27131
28389
|
instanceOfSendSmsResponse,
|
|
28390
|
+
instanceOfSendTemplateTestEmail202Response,
|
|
28391
|
+
instanceOfSendTemplateTestEmail202ResponseData,
|
|
28392
|
+
instanceOfSendTemplateTestEmail202ResponseMeta,
|
|
27132
28393
|
instanceOfSendTemplateTestEmailRequest,
|
|
27133
28394
|
instanceOfSendTestSmsData,
|
|
27134
28395
|
instanceOfSendTestSmsRequest,
|
|
@@ -27206,13 +28467,18 @@ export {
|
|
|
27206
28467
|
instanceOfUpdateEndUserRequest,
|
|
27207
28468
|
instanceOfUpdateOrganizationMemberRoleRequest,
|
|
27208
28469
|
instanceOfUpdateOrganizationRequest,
|
|
28470
|
+
instanceOfUpdateSubscriberPreferences200Response,
|
|
28471
|
+
instanceOfUpdateSubscriberPreferences200ResponseData,
|
|
28472
|
+
instanceOfUpdateSubscriberPreferences200ResponseDataPreferencesInner,
|
|
27209
28473
|
instanceOfUpdateSubscriberPreferencesRequest,
|
|
27210
28474
|
instanceOfUpdateSubscriberPreferencesRequestPreferencesInner,
|
|
27211
28475
|
instanceOfUpdateSubscriberRequest,
|
|
27212
28476
|
instanceOfUpdateTemplateRequest,
|
|
27213
28477
|
instanceOfUpdateTopicRequest,
|
|
27214
28478
|
instanceOfUpdateWaaSApplicationRequest,
|
|
28479
|
+
instanceOfUpdateWaaSEndpoint200Response,
|
|
27215
28480
|
instanceOfUpdateWaaSEndpointRequest,
|
|
28481
|
+
instanceOfUpdateWaaSEventType200Response,
|
|
27216
28482
|
instanceOfUpdateWaaSEventTypeRequest,
|
|
27217
28483
|
instanceOfUpdateWebhookRequest,
|
|
27218
28484
|
instanceOfUpdateWorkflowRequest,
|