@zyphr-dev/node-sdk 0.1.24 → 0.1.26
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/README.md +6 -0
- package/dist/index.cjs +478 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +482 -1
- package/dist/index.d.ts +482 -1
- package/dist/index.js +430 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +9 -0
- package/src/errors.ts +31 -0
- package/src/src/apis/AuthEmailTemplatesApi.ts +3 -0
- package/src/src/apis/AuthRegistrationApi.ts +126 -0
- package/src/src/apis/EmailsApi.ts +3 -0
- package/src/src/apis/InboxApi.ts +3 -0
- package/src/src/apis/PushApi.ts +3 -0
- package/src/src/apis/SMSApi.ts +3 -0
- package/src/src/apis/TemplatesApi.ts +3 -0
- package/src/src/models/AuthUser.ts +24 -0
- package/src/src/models/ConvertAnonymousUserRequest.ts +73 -0
- package/src/src/models/ConvertAnonymousUserRequestOneOf.ts +102 -0
- package/src/src/models/ConvertAnonymousUserRequestOneOf1.ts +110 -0
- package/src/src/models/ConvertAnonymousUserRequestOneOf1AppleUser.ts +73 -0
- package/src/src/models/ConvertAnonymousUserRequestOneOf1AppleUserName.ts +73 -0
- package/src/src/models/PayloadTooLargeError.ts +89 -0
- package/src/src/models/PayloadTooLargeErrorError.ts +101 -0
- package/src/src/models/PayloadTooLargeErrorErrorDetails.ts +73 -0
- package/src/src/models/SignInAnonymouslyRequest.ts +82 -0
- package/src/src/models/index.ts +9 -0
package/README.md
CHANGED
|
@@ -498,6 +498,7 @@ import {
|
|
|
498
498
|
ZyphrAuthenticationError,
|
|
499
499
|
ZyphrRateLimitError,
|
|
500
500
|
ZyphrNotFoundError,
|
|
501
|
+
ZyphrPayloadTooLargeError,
|
|
501
502
|
} from '@zyphr-dev/node-sdk';
|
|
502
503
|
|
|
503
504
|
try {
|
|
@@ -509,6 +510,9 @@ try {
|
|
|
509
510
|
console.log('Invalid input:', error.details); // 400/422
|
|
510
511
|
} else if (error instanceof ZyphrAuthenticationError) {
|
|
511
512
|
console.log('Check your API key'); // 401/403
|
|
513
|
+
} else if (error instanceof ZyphrPayloadTooLargeError) {
|
|
514
|
+
// 413 — see https://zyphr.dev/resources/api-limits
|
|
515
|
+
console.log(`Body too large: sent ${error.receivedBytes}, max ${error.limitBytes}`);
|
|
512
516
|
} else if (error instanceof ZyphrRateLimitError) {
|
|
513
517
|
console.log('Retry after:', error.retryAfter); // 429
|
|
514
518
|
} else if (error instanceof ZyphrError) {
|
|
@@ -528,6 +532,8 @@ All error classes extend `ZyphrError`, which extends `Error`:
|
|
|
528
532
|
| `requestId` | `string \| undefined` | Request ID for support tickets |
|
|
529
533
|
| `details` | `Record<string, unknown> \| undefined` | Validation errors and context |
|
|
530
534
|
| `retryAfter` | `number \| undefined` | Seconds to wait (`ZyphrRateLimitError` only) |
|
|
535
|
+
| `limitBytes` | `number \| undefined` | Server-enforced body cap (`ZyphrPayloadTooLargeError` only) |
|
|
536
|
+
| `receivedBytes` | `number \| undefined` | Size of the rejected body (`ZyphrPayloadTooLargeError` only) |
|
|
531
537
|
|
|
532
538
|
## Bundle
|
|
533
539
|
|
package/dist/index.cjs
CHANGED
|
@@ -238,6 +238,28 @@ __export(index_exports, {
|
|
|
238
238
|
ConsentWithdrawResponseFromJSONTyped: () => ConsentWithdrawResponseFromJSONTyped,
|
|
239
239
|
ConsentWithdrawResponseToJSON: () => ConsentWithdrawResponseToJSON,
|
|
240
240
|
ConsentWithdrawResponseToJSONTyped: () => ConsentWithdrawResponseToJSONTyped,
|
|
241
|
+
ConvertAnonymousUserRequestFromJSON: () => ConvertAnonymousUserRequestFromJSON,
|
|
242
|
+
ConvertAnonymousUserRequestFromJSONTyped: () => ConvertAnonymousUserRequestFromJSONTyped,
|
|
243
|
+
ConvertAnonymousUserRequestOneOf1AppleUserFromJSON: () => ConvertAnonymousUserRequestOneOf1AppleUserFromJSON,
|
|
244
|
+
ConvertAnonymousUserRequestOneOf1AppleUserFromJSONTyped: () => ConvertAnonymousUserRequestOneOf1AppleUserFromJSONTyped,
|
|
245
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSON: () => ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSON,
|
|
246
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSONTyped: () => ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSONTyped,
|
|
247
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameToJSON: () => ConvertAnonymousUserRequestOneOf1AppleUserNameToJSON,
|
|
248
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameToJSONTyped: () => ConvertAnonymousUserRequestOneOf1AppleUserNameToJSONTyped,
|
|
249
|
+
ConvertAnonymousUserRequestOneOf1AppleUserToJSON: () => ConvertAnonymousUserRequestOneOf1AppleUserToJSON,
|
|
250
|
+
ConvertAnonymousUserRequestOneOf1AppleUserToJSONTyped: () => ConvertAnonymousUserRequestOneOf1AppleUserToJSONTyped,
|
|
251
|
+
ConvertAnonymousUserRequestOneOf1FromJSON: () => ConvertAnonymousUserRequestOneOf1FromJSON,
|
|
252
|
+
ConvertAnonymousUserRequestOneOf1FromJSONTyped: () => ConvertAnonymousUserRequestOneOf1FromJSONTyped,
|
|
253
|
+
ConvertAnonymousUserRequestOneOf1MethodEnum: () => ConvertAnonymousUserRequestOneOf1MethodEnum,
|
|
254
|
+
ConvertAnonymousUserRequestOneOf1ToJSON: () => ConvertAnonymousUserRequestOneOf1ToJSON,
|
|
255
|
+
ConvertAnonymousUserRequestOneOf1ToJSONTyped: () => ConvertAnonymousUserRequestOneOf1ToJSONTyped,
|
|
256
|
+
ConvertAnonymousUserRequestOneOfFromJSON: () => ConvertAnonymousUserRequestOneOfFromJSON,
|
|
257
|
+
ConvertAnonymousUserRequestOneOfFromJSONTyped: () => ConvertAnonymousUserRequestOneOfFromJSONTyped,
|
|
258
|
+
ConvertAnonymousUserRequestOneOfMethodEnum: () => ConvertAnonymousUserRequestOneOfMethodEnum,
|
|
259
|
+
ConvertAnonymousUserRequestOneOfToJSON: () => ConvertAnonymousUserRequestOneOfToJSON,
|
|
260
|
+
ConvertAnonymousUserRequestOneOfToJSONTyped: () => ConvertAnonymousUserRequestOneOfToJSONTyped,
|
|
261
|
+
ConvertAnonymousUserRequestToJSON: () => ConvertAnonymousUserRequestToJSON,
|
|
262
|
+
ConvertAnonymousUserRequestToJSONTyped: () => ConvertAnonymousUserRequestToJSONTyped,
|
|
241
263
|
CreateCategoryRequestFromJSON: () => CreateCategoryRequestFromJSON,
|
|
242
264
|
CreateCategoryRequestFromJSONTyped: () => CreateCategoryRequestFromJSONTyped,
|
|
243
265
|
CreateCategoryRequestToJSON: () => CreateCategoryRequestToJSON,
|
|
@@ -688,6 +710,19 @@ __export(index_exports, {
|
|
|
688
710
|
PasswordRequirementsResponseToJSONTyped: () => PasswordRequirementsResponseToJSONTyped,
|
|
689
711
|
PasswordRequirementsToJSON: () => PasswordRequirementsToJSON,
|
|
690
712
|
PasswordRequirementsToJSONTyped: () => PasswordRequirementsToJSONTyped,
|
|
713
|
+
PayloadTooLargeErrorErrorCodeEnum: () => PayloadTooLargeErrorErrorCodeEnum,
|
|
714
|
+
PayloadTooLargeErrorErrorDetailsFromJSON: () => PayloadTooLargeErrorErrorDetailsFromJSON,
|
|
715
|
+
PayloadTooLargeErrorErrorDetailsFromJSONTyped: () => PayloadTooLargeErrorErrorDetailsFromJSONTyped,
|
|
716
|
+
PayloadTooLargeErrorErrorDetailsToJSON: () => PayloadTooLargeErrorErrorDetailsToJSON,
|
|
717
|
+
PayloadTooLargeErrorErrorDetailsToJSONTyped: () => PayloadTooLargeErrorErrorDetailsToJSONTyped,
|
|
718
|
+
PayloadTooLargeErrorErrorFromJSON: () => PayloadTooLargeErrorErrorFromJSON,
|
|
719
|
+
PayloadTooLargeErrorErrorFromJSONTyped: () => PayloadTooLargeErrorErrorFromJSONTyped,
|
|
720
|
+
PayloadTooLargeErrorErrorToJSON: () => PayloadTooLargeErrorErrorToJSON,
|
|
721
|
+
PayloadTooLargeErrorErrorToJSONTyped: () => PayloadTooLargeErrorErrorToJSONTyped,
|
|
722
|
+
PayloadTooLargeErrorFromJSON: () => PayloadTooLargeErrorFromJSON,
|
|
723
|
+
PayloadTooLargeErrorFromJSONTyped: () => PayloadTooLargeErrorFromJSONTyped,
|
|
724
|
+
PayloadTooLargeErrorToJSON: () => PayloadTooLargeErrorToJSON,
|
|
725
|
+
PayloadTooLargeErrorToJSONTyped: () => PayloadTooLargeErrorToJSONTyped,
|
|
691
726
|
PhoneAuthAvailabilityResponseDataFromJSON: () => PhoneAuthAvailabilityResponseDataFromJSON,
|
|
692
727
|
PhoneAuthAvailabilityResponseDataFromJSONTyped: () => PhoneAuthAvailabilityResponseDataFromJSONTyped,
|
|
693
728
|
PhoneAuthAvailabilityResponseDataToJSON: () => PhoneAuthAvailabilityResponseDataToJSON,
|
|
@@ -1026,6 +1061,10 @@ __export(index_exports, {
|
|
|
1026
1061
|
SetPreferencesRequestPreferencesInnerToJSONTyped: () => SetPreferencesRequestPreferencesInnerToJSONTyped,
|
|
1027
1062
|
SetPreferencesRequestToJSON: () => SetPreferencesRequestToJSON,
|
|
1028
1063
|
SetPreferencesRequestToJSONTyped: () => SetPreferencesRequestToJSONTyped,
|
|
1064
|
+
SignInAnonymouslyRequestFromJSON: () => SignInAnonymouslyRequestFromJSON,
|
|
1065
|
+
SignInAnonymouslyRequestFromJSONTyped: () => SignInAnonymouslyRequestFromJSONTyped,
|
|
1066
|
+
SignInAnonymouslyRequestToJSON: () => SignInAnonymouslyRequestToJSON,
|
|
1067
|
+
SignInAnonymouslyRequestToJSONTyped: () => SignInAnonymouslyRequestToJSONTyped,
|
|
1029
1068
|
SlackApi: () => SlackApi,
|
|
1030
1069
|
SlackMessageFromJSON: () => SlackMessageFromJSON,
|
|
1031
1070
|
SlackMessageFromJSONTyped: () => SlackMessageFromJSONTyped,
|
|
@@ -1618,6 +1657,7 @@ __export(index_exports, {
|
|
|
1618
1657
|
ZyphrAuthenticationError: () => ZyphrAuthenticationError,
|
|
1619
1658
|
ZyphrError: () => ZyphrError,
|
|
1620
1659
|
ZyphrNotFoundError: () => ZyphrNotFoundError,
|
|
1660
|
+
ZyphrPayloadTooLargeError: () => ZyphrPayloadTooLargeError,
|
|
1621
1661
|
ZyphrRateLimitError: () => ZyphrRateLimitError,
|
|
1622
1662
|
ZyphrValidationError: () => ZyphrValidationError,
|
|
1623
1663
|
ZyphrWebhookVerificationError: () => ZyphrWebhookVerificationError,
|
|
@@ -1672,6 +1712,10 @@ __export(index_exports, {
|
|
|
1672
1712
|
instanceOfConsentStatus: () => instanceOfConsentStatus,
|
|
1673
1713
|
instanceOfConsentStatusResponse: () => instanceOfConsentStatusResponse,
|
|
1674
1714
|
instanceOfConsentWithdrawResponse: () => instanceOfConsentWithdrawResponse,
|
|
1715
|
+
instanceOfConvertAnonymousUserRequestOneOf: () => instanceOfConvertAnonymousUserRequestOneOf,
|
|
1716
|
+
instanceOfConvertAnonymousUserRequestOneOf1: () => instanceOfConvertAnonymousUserRequestOneOf1,
|
|
1717
|
+
instanceOfConvertAnonymousUserRequestOneOf1AppleUser: () => instanceOfConvertAnonymousUserRequestOneOf1AppleUser,
|
|
1718
|
+
instanceOfConvertAnonymousUserRequestOneOf1AppleUserName: () => instanceOfConvertAnonymousUserRequestOneOf1AppleUserName,
|
|
1675
1719
|
instanceOfCreateCategoryRequest: () => instanceOfCreateCategoryRequest,
|
|
1676
1720
|
instanceOfCreateSubscriberRequest: () => instanceOfCreateSubscriberRequest,
|
|
1677
1721
|
instanceOfCreateTemplateRequest: () => instanceOfCreateTemplateRequest,
|
|
@@ -1778,6 +1822,9 @@ __export(index_exports, {
|
|
|
1778
1822
|
instanceOfPasswordRequirements: () => instanceOfPasswordRequirements,
|
|
1779
1823
|
instanceOfPasswordRequirementsResponse: () => instanceOfPasswordRequirementsResponse,
|
|
1780
1824
|
instanceOfPasswordRequirementsResponseData: () => instanceOfPasswordRequirementsResponseData,
|
|
1825
|
+
instanceOfPayloadTooLargeError: () => instanceOfPayloadTooLargeError,
|
|
1826
|
+
instanceOfPayloadTooLargeErrorError: () => instanceOfPayloadTooLargeErrorError,
|
|
1827
|
+
instanceOfPayloadTooLargeErrorErrorDetails: () => instanceOfPayloadTooLargeErrorErrorDetails,
|
|
1781
1828
|
instanceOfPhoneAuthAvailabilityResponse: () => instanceOfPhoneAuthAvailabilityResponse,
|
|
1782
1829
|
instanceOfPhoneAuthAvailabilityResponseData: () => instanceOfPhoneAuthAvailabilityResponseData,
|
|
1783
1830
|
instanceOfPhoneLoginVerifyRequest: () => instanceOfPhoneLoginVerifyRequest,
|
|
@@ -1859,6 +1906,7 @@ __export(index_exports, {
|
|
|
1859
1906
|
instanceOfSessionListResponseDataSessionInfo: () => instanceOfSessionListResponseDataSessionInfo,
|
|
1860
1907
|
instanceOfSetPreferencesRequest: () => instanceOfSetPreferencesRequest,
|
|
1861
1908
|
instanceOfSetPreferencesRequestPreferencesInner: () => instanceOfSetPreferencesRequestPreferencesInner,
|
|
1909
|
+
instanceOfSignInAnonymouslyRequest: () => instanceOfSignInAnonymouslyRequest,
|
|
1862
1910
|
instanceOfSlackMessage: () => instanceOfSlackMessage,
|
|
1863
1911
|
instanceOfSlackMessageListResponse: () => instanceOfSlackMessageListResponse,
|
|
1864
1912
|
instanceOfSlackMessageListResponseMeta: () => instanceOfSlackMessageListResponseMeta,
|
|
@@ -3090,6 +3138,9 @@ function AuthUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
3090
3138
|
"phoneVerified": json["phone_verified"] == null ? void 0 : json["phone_verified"],
|
|
3091
3139
|
"status": json["status"] == null ? void 0 : json["status"],
|
|
3092
3140
|
"mfaEnabled": json["mfa_enabled"] == null ? void 0 : json["mfa_enabled"],
|
|
3141
|
+
"isAnonymous": json["is_anonymous"] == null ? void 0 : json["is_anonymous"],
|
|
3142
|
+
"anonymousDeviceId": json["anonymous_device_id"] == null ? void 0 : json["anonymous_device_id"],
|
|
3143
|
+
"firstActivityAt": json["first_activity_at"] == null ? void 0 : new Date(json["first_activity_at"]),
|
|
3093
3144
|
"createdAt": json["created_at"] == null ? void 0 : new Date(json["created_at"]),
|
|
3094
3145
|
"updatedAt": json["updated_at"] == null ? void 0 : new Date(json["updated_at"]),
|
|
3095
3146
|
"lastLoginAt": json["last_login_at"] == null ? void 0 : new Date(json["last_login_at"])
|
|
@@ -3113,6 +3164,9 @@ function AuthUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
3113
3164
|
"phone_verified": value["phoneVerified"],
|
|
3114
3165
|
"status": value["status"],
|
|
3115
3166
|
"mfa_enabled": value["mfaEnabled"],
|
|
3167
|
+
"is_anonymous": value["isAnonymous"],
|
|
3168
|
+
"anonymous_device_id": value["anonymousDeviceId"],
|
|
3169
|
+
"first_activity_at": value["firstActivityAt"] == null ? void 0 : value["firstActivityAt"].toISOString(),
|
|
3116
3170
|
"created_at": value["createdAt"] == null ? void 0 : value["createdAt"].toISOString(),
|
|
3117
3171
|
"updated_at": value["updatedAt"] == null ? void 0 : value["updatedAt"].toISOString(),
|
|
3118
3172
|
"last_login_at": value["lastLoginAt"] == null ? void 0 : value["lastLoginAt"].toISOString()
|
|
@@ -4064,6 +4118,172 @@ function ConsentWithdrawResponseToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
4064
4118
|
};
|
|
4065
4119
|
}
|
|
4066
4120
|
|
|
4121
|
+
// src/src/models/ConvertAnonymousUserRequestOneOf.ts
|
|
4122
|
+
var ConvertAnonymousUserRequestOneOfMethodEnum = {
|
|
4123
|
+
PASSWORD: "password"
|
|
4124
|
+
};
|
|
4125
|
+
function instanceOfConvertAnonymousUserRequestOneOf(value) {
|
|
4126
|
+
if (!("method" in value) || value["method"] === void 0) return false;
|
|
4127
|
+
if (!("email" in value) || value["email"] === void 0) return false;
|
|
4128
|
+
if (!("password" in value) || value["password"] === void 0) return false;
|
|
4129
|
+
return true;
|
|
4130
|
+
}
|
|
4131
|
+
function ConvertAnonymousUserRequestOneOfFromJSON(json) {
|
|
4132
|
+
return ConvertAnonymousUserRequestOneOfFromJSONTyped(json, false);
|
|
4133
|
+
}
|
|
4134
|
+
function ConvertAnonymousUserRequestOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
4135
|
+
if (json == null) {
|
|
4136
|
+
return json;
|
|
4137
|
+
}
|
|
4138
|
+
return {
|
|
4139
|
+
"method": json["method"],
|
|
4140
|
+
"email": json["email"],
|
|
4141
|
+
"password": json["password"],
|
|
4142
|
+
"name": json["name"] == null ? void 0 : json["name"]
|
|
4143
|
+
};
|
|
4144
|
+
}
|
|
4145
|
+
function ConvertAnonymousUserRequestOneOfToJSON(json) {
|
|
4146
|
+
return ConvertAnonymousUserRequestOneOfToJSONTyped(json, false);
|
|
4147
|
+
}
|
|
4148
|
+
function ConvertAnonymousUserRequestOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4149
|
+
if (value == null) {
|
|
4150
|
+
return value;
|
|
4151
|
+
}
|
|
4152
|
+
return {
|
|
4153
|
+
"method": value["method"],
|
|
4154
|
+
"email": value["email"],
|
|
4155
|
+
"password": value["password"],
|
|
4156
|
+
"name": value["name"]
|
|
4157
|
+
};
|
|
4158
|
+
}
|
|
4159
|
+
|
|
4160
|
+
// src/src/models/ConvertAnonymousUserRequestOneOf1AppleUserName.ts
|
|
4161
|
+
function instanceOfConvertAnonymousUserRequestOneOf1AppleUserName(value) {
|
|
4162
|
+
return true;
|
|
4163
|
+
}
|
|
4164
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSON(json) {
|
|
4165
|
+
return ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSONTyped(json, false);
|
|
4166
|
+
}
|
|
4167
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSONTyped(json, ignoreDiscriminator) {
|
|
4168
|
+
if (json == null) {
|
|
4169
|
+
return json;
|
|
4170
|
+
}
|
|
4171
|
+
return {
|
|
4172
|
+
"firstName": json["firstName"] == null ? void 0 : json["firstName"],
|
|
4173
|
+
"lastName": json["lastName"] == null ? void 0 : json["lastName"]
|
|
4174
|
+
};
|
|
4175
|
+
}
|
|
4176
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserNameToJSON(json) {
|
|
4177
|
+
return ConvertAnonymousUserRequestOneOf1AppleUserNameToJSONTyped(json, false);
|
|
4178
|
+
}
|
|
4179
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserNameToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4180
|
+
if (value == null) {
|
|
4181
|
+
return value;
|
|
4182
|
+
}
|
|
4183
|
+
return {
|
|
4184
|
+
"firstName": value["firstName"],
|
|
4185
|
+
"lastName": value["lastName"]
|
|
4186
|
+
};
|
|
4187
|
+
}
|
|
4188
|
+
|
|
4189
|
+
// src/src/models/ConvertAnonymousUserRequestOneOf1AppleUser.ts
|
|
4190
|
+
function instanceOfConvertAnonymousUserRequestOneOf1AppleUser(value) {
|
|
4191
|
+
return true;
|
|
4192
|
+
}
|
|
4193
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserFromJSON(json) {
|
|
4194
|
+
return ConvertAnonymousUserRequestOneOf1AppleUserFromJSONTyped(json, false);
|
|
4195
|
+
}
|
|
4196
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
4197
|
+
if (json == null) {
|
|
4198
|
+
return json;
|
|
4199
|
+
}
|
|
4200
|
+
return {
|
|
4201
|
+
"name": json["name"] == null ? void 0 : ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSON(json["name"])
|
|
4202
|
+
};
|
|
4203
|
+
}
|
|
4204
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserToJSON(json) {
|
|
4205
|
+
return ConvertAnonymousUserRequestOneOf1AppleUserToJSONTyped(json, false);
|
|
4206
|
+
}
|
|
4207
|
+
function ConvertAnonymousUserRequestOneOf1AppleUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4208
|
+
if (value == null) {
|
|
4209
|
+
return value;
|
|
4210
|
+
}
|
|
4211
|
+
return {
|
|
4212
|
+
"name": ConvertAnonymousUserRequestOneOf1AppleUserNameToJSON(value["name"])
|
|
4213
|
+
};
|
|
4214
|
+
}
|
|
4215
|
+
|
|
4216
|
+
// src/src/models/ConvertAnonymousUserRequestOneOf1.ts
|
|
4217
|
+
var ConvertAnonymousUserRequestOneOf1MethodEnum = {
|
|
4218
|
+
OAUTH: "oauth"
|
|
4219
|
+
};
|
|
4220
|
+
function instanceOfConvertAnonymousUserRequestOneOf1(value) {
|
|
4221
|
+
if (!("method" in value) || value["method"] === void 0) return false;
|
|
4222
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
4223
|
+
if (!("state" in value) || value["state"] === void 0) return false;
|
|
4224
|
+
return true;
|
|
4225
|
+
}
|
|
4226
|
+
function ConvertAnonymousUserRequestOneOf1FromJSON(json) {
|
|
4227
|
+
return ConvertAnonymousUserRequestOneOf1FromJSONTyped(json, false);
|
|
4228
|
+
}
|
|
4229
|
+
function ConvertAnonymousUserRequestOneOf1FromJSONTyped(json, ignoreDiscriminator) {
|
|
4230
|
+
if (json == null) {
|
|
4231
|
+
return json;
|
|
4232
|
+
}
|
|
4233
|
+
return {
|
|
4234
|
+
"method": json["method"],
|
|
4235
|
+
"code": json["code"],
|
|
4236
|
+
"state": json["state"],
|
|
4237
|
+
"appleUser": json["apple_user"] == null ? void 0 : ConvertAnonymousUserRequestOneOf1AppleUserFromJSON(json["apple_user"])
|
|
4238
|
+
};
|
|
4239
|
+
}
|
|
4240
|
+
function ConvertAnonymousUserRequestOneOf1ToJSON(json) {
|
|
4241
|
+
return ConvertAnonymousUserRequestOneOf1ToJSONTyped(json, false);
|
|
4242
|
+
}
|
|
4243
|
+
function ConvertAnonymousUserRequestOneOf1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4244
|
+
if (value == null) {
|
|
4245
|
+
return value;
|
|
4246
|
+
}
|
|
4247
|
+
return {
|
|
4248
|
+
"method": value["method"],
|
|
4249
|
+
"code": value["code"],
|
|
4250
|
+
"state": value["state"],
|
|
4251
|
+
"apple_user": ConvertAnonymousUserRequestOneOf1AppleUserToJSON(value["appleUser"])
|
|
4252
|
+
};
|
|
4253
|
+
}
|
|
4254
|
+
|
|
4255
|
+
// src/src/models/ConvertAnonymousUserRequest.ts
|
|
4256
|
+
function ConvertAnonymousUserRequestFromJSON(json) {
|
|
4257
|
+
return ConvertAnonymousUserRequestFromJSONTyped(json, false);
|
|
4258
|
+
}
|
|
4259
|
+
function ConvertAnonymousUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
4260
|
+
if (json == null) {
|
|
4261
|
+
return json;
|
|
4262
|
+
}
|
|
4263
|
+
if (instanceOfConvertAnonymousUserRequestOneOf(json)) {
|
|
4264
|
+
return ConvertAnonymousUserRequestOneOfFromJSONTyped(json, true);
|
|
4265
|
+
}
|
|
4266
|
+
if (instanceOfConvertAnonymousUserRequestOneOf1(json)) {
|
|
4267
|
+
return ConvertAnonymousUserRequestOneOf1FromJSONTyped(json, true);
|
|
4268
|
+
}
|
|
4269
|
+
return {};
|
|
4270
|
+
}
|
|
4271
|
+
function ConvertAnonymousUserRequestToJSON(json) {
|
|
4272
|
+
return ConvertAnonymousUserRequestToJSONTyped(json, false);
|
|
4273
|
+
}
|
|
4274
|
+
function ConvertAnonymousUserRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
4275
|
+
if (value == null) {
|
|
4276
|
+
return value;
|
|
4277
|
+
}
|
|
4278
|
+
if (instanceOfConvertAnonymousUserRequestOneOf(value)) {
|
|
4279
|
+
return ConvertAnonymousUserRequestOneOfToJSON(value);
|
|
4280
|
+
}
|
|
4281
|
+
if (instanceOfConvertAnonymousUserRequestOneOf1(value)) {
|
|
4282
|
+
return ConvertAnonymousUserRequestOneOf1ToJSON(value);
|
|
4283
|
+
}
|
|
4284
|
+
return {};
|
|
4285
|
+
}
|
|
4286
|
+
|
|
4067
4287
|
// src/src/models/CreateCategoryRequest.ts
|
|
4068
4288
|
function instanceOfCreateCategoryRequest(value) {
|
|
4069
4289
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
@@ -7827,6 +8047,101 @@ function PasswordRequirementsResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
7827
8047
|
};
|
|
7828
8048
|
}
|
|
7829
8049
|
|
|
8050
|
+
// src/src/models/PayloadTooLargeErrorErrorDetails.ts
|
|
8051
|
+
function instanceOfPayloadTooLargeErrorErrorDetails(value) {
|
|
8052
|
+
return true;
|
|
8053
|
+
}
|
|
8054
|
+
function PayloadTooLargeErrorErrorDetailsFromJSON(json) {
|
|
8055
|
+
return PayloadTooLargeErrorErrorDetailsFromJSONTyped(json, false);
|
|
8056
|
+
}
|
|
8057
|
+
function PayloadTooLargeErrorErrorDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8058
|
+
if (json == null) {
|
|
8059
|
+
return json;
|
|
8060
|
+
}
|
|
8061
|
+
return {
|
|
8062
|
+
"limitBytes": json["limit_bytes"] == null ? void 0 : json["limit_bytes"],
|
|
8063
|
+
"receivedBytes": json["received_bytes"] == null ? void 0 : json["received_bytes"]
|
|
8064
|
+
};
|
|
8065
|
+
}
|
|
8066
|
+
function PayloadTooLargeErrorErrorDetailsToJSON(json) {
|
|
8067
|
+
return PayloadTooLargeErrorErrorDetailsToJSONTyped(json, false);
|
|
8068
|
+
}
|
|
8069
|
+
function PayloadTooLargeErrorErrorDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8070
|
+
if (value == null) {
|
|
8071
|
+
return value;
|
|
8072
|
+
}
|
|
8073
|
+
return {
|
|
8074
|
+
"limit_bytes": value["limitBytes"],
|
|
8075
|
+
"received_bytes": value["receivedBytes"]
|
|
8076
|
+
};
|
|
8077
|
+
}
|
|
8078
|
+
|
|
8079
|
+
// src/src/models/PayloadTooLargeErrorError.ts
|
|
8080
|
+
var PayloadTooLargeErrorErrorCodeEnum = {
|
|
8081
|
+
PAYLOAD_TOO_LARGE: "payload_too_large"
|
|
8082
|
+
};
|
|
8083
|
+
function instanceOfPayloadTooLargeErrorError(value) {
|
|
8084
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
8085
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
8086
|
+
return true;
|
|
8087
|
+
}
|
|
8088
|
+
function PayloadTooLargeErrorErrorFromJSON(json) {
|
|
8089
|
+
return PayloadTooLargeErrorErrorFromJSONTyped(json, false);
|
|
8090
|
+
}
|
|
8091
|
+
function PayloadTooLargeErrorErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
8092
|
+
if (json == null) {
|
|
8093
|
+
return json;
|
|
8094
|
+
}
|
|
8095
|
+
return {
|
|
8096
|
+
"code": json["code"],
|
|
8097
|
+
"message": json["message"],
|
|
8098
|
+
"details": json["details"] == null ? void 0 : PayloadTooLargeErrorErrorDetailsFromJSON(json["details"])
|
|
8099
|
+
};
|
|
8100
|
+
}
|
|
8101
|
+
function PayloadTooLargeErrorErrorToJSON(json) {
|
|
8102
|
+
return PayloadTooLargeErrorErrorToJSONTyped(json, false);
|
|
8103
|
+
}
|
|
8104
|
+
function PayloadTooLargeErrorErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8105
|
+
if (value == null) {
|
|
8106
|
+
return value;
|
|
8107
|
+
}
|
|
8108
|
+
return {
|
|
8109
|
+
"code": value["code"],
|
|
8110
|
+
"message": value["message"],
|
|
8111
|
+
"details": PayloadTooLargeErrorErrorDetailsToJSON(value["details"])
|
|
8112
|
+
};
|
|
8113
|
+
}
|
|
8114
|
+
|
|
8115
|
+
// src/src/models/PayloadTooLargeError.ts
|
|
8116
|
+
function instanceOfPayloadTooLargeError(value) {
|
|
8117
|
+
if (!("error" in value) || value["error"] === void 0) return false;
|
|
8118
|
+
return true;
|
|
8119
|
+
}
|
|
8120
|
+
function PayloadTooLargeErrorFromJSON(json) {
|
|
8121
|
+
return PayloadTooLargeErrorFromJSONTyped(json, false);
|
|
8122
|
+
}
|
|
8123
|
+
function PayloadTooLargeErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
8124
|
+
if (json == null) {
|
|
8125
|
+
return json;
|
|
8126
|
+
}
|
|
8127
|
+
return {
|
|
8128
|
+
"error": PayloadTooLargeErrorErrorFromJSON(json["error"]),
|
|
8129
|
+
"meta": json["meta"] == null ? void 0 : RequestMetaFromJSON(json["meta"])
|
|
8130
|
+
};
|
|
8131
|
+
}
|
|
8132
|
+
function PayloadTooLargeErrorToJSON(json) {
|
|
8133
|
+
return PayloadTooLargeErrorToJSONTyped(json, false);
|
|
8134
|
+
}
|
|
8135
|
+
function PayloadTooLargeErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
8136
|
+
if (value == null) {
|
|
8137
|
+
return value;
|
|
8138
|
+
}
|
|
8139
|
+
return {
|
|
8140
|
+
"error": PayloadTooLargeErrorErrorToJSON(value["error"]),
|
|
8141
|
+
"meta": RequestMetaToJSON(value["meta"])
|
|
8142
|
+
};
|
|
8143
|
+
}
|
|
8144
|
+
|
|
7830
8145
|
// src/src/models/PhoneAuthAvailabilityResponseData.ts
|
|
7831
8146
|
function instanceOfPhoneAuthAvailabilityResponseData(value) {
|
|
7832
8147
|
return true;
|
|
@@ -10708,6 +11023,38 @@ function SetPreferencesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
10708
11023
|
};
|
|
10709
11024
|
}
|
|
10710
11025
|
|
|
11026
|
+
// src/src/models/SignInAnonymouslyRequest.ts
|
|
11027
|
+
function instanceOfSignInAnonymouslyRequest(value) {
|
|
11028
|
+
if (!("deviceId" in value) || value["deviceId"] === void 0) return false;
|
|
11029
|
+
return true;
|
|
11030
|
+
}
|
|
11031
|
+
function SignInAnonymouslyRequestFromJSON(json) {
|
|
11032
|
+
return SignInAnonymouslyRequestFromJSONTyped(json, false);
|
|
11033
|
+
}
|
|
11034
|
+
function SignInAnonymouslyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11035
|
+
if (json == null) {
|
|
11036
|
+
return json;
|
|
11037
|
+
}
|
|
11038
|
+
return {
|
|
11039
|
+
"deviceId": json["device_id"],
|
|
11040
|
+
"name": json["name"] == null ? void 0 : json["name"],
|
|
11041
|
+
"metadata": json["metadata"] == null ? void 0 : json["metadata"]
|
|
11042
|
+
};
|
|
11043
|
+
}
|
|
11044
|
+
function SignInAnonymouslyRequestToJSON(json) {
|
|
11045
|
+
return SignInAnonymouslyRequestToJSONTyped(json, false);
|
|
11046
|
+
}
|
|
11047
|
+
function SignInAnonymouslyRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
11048
|
+
if (value == null) {
|
|
11049
|
+
return value;
|
|
11050
|
+
}
|
|
11051
|
+
return {
|
|
11052
|
+
"device_id": value["deviceId"],
|
|
11053
|
+
"name": value["name"],
|
|
11054
|
+
"metadata": value["metadata"]
|
|
11055
|
+
};
|
|
11056
|
+
}
|
|
11057
|
+
|
|
10711
11058
|
// src/src/models/SlackMessage.ts
|
|
10712
11059
|
function instanceOfSlackMessage(value) {
|
|
10713
11060
|
return true;
|
|
@@ -16089,6 +16436,37 @@ var AuthPhoneApi = class extends BaseAPI {
|
|
|
16089
16436
|
|
|
16090
16437
|
// src/src/apis/AuthRegistrationApi.ts
|
|
16091
16438
|
var AuthRegistrationApi = class extends BaseAPI {
|
|
16439
|
+
/**
|
|
16440
|
+
* Upgrade the calling anonymous user to a full email+password account in place. The end_user.id is preserved, so customer-domain tables with foreign keys to end_users.id need no migration on conversion. All prior sessions for the user (including the anonymous token used to make this call) are revoked. A fresh token pair is returned in the response body. The conversion is the moment the user becomes billable -- MAU is tracked from this point forward.
|
|
16441
|
+
* Convert anonymous account to a full account
|
|
16442
|
+
*/
|
|
16443
|
+
async convertAnonymousUserRaw(requestParameters, initOverrides) {
|
|
16444
|
+
if (requestParameters["convertAnonymousUserRequest"] == null) {
|
|
16445
|
+
throw new RequiredError(
|
|
16446
|
+
"convertAnonymousUserRequest",
|
|
16447
|
+
'Required parameter "convertAnonymousUserRequest" was null or undefined when calling convertAnonymousUser().'
|
|
16448
|
+
);
|
|
16449
|
+
}
|
|
16450
|
+
const queryParameters = {};
|
|
16451
|
+
const headerParameters = {};
|
|
16452
|
+
headerParameters["Content-Type"] = "application/json";
|
|
16453
|
+
const response = await this.request({
|
|
16454
|
+
path: `/auth/users/convert`,
|
|
16455
|
+
method: "POST",
|
|
16456
|
+
headers: headerParameters,
|
|
16457
|
+
query: queryParameters,
|
|
16458
|
+
body: ConvertAnonymousUserRequestToJSON(requestParameters["convertAnonymousUserRequest"])
|
|
16459
|
+
}, initOverrides);
|
|
16460
|
+
return new JSONApiResponse(response, (jsonValue) => AuthResultResponseFromJSON(jsonValue));
|
|
16461
|
+
}
|
|
16462
|
+
/**
|
|
16463
|
+
* Upgrade the calling anonymous user to a full email+password account in place. The end_user.id is preserved, so customer-domain tables with foreign keys to end_users.id need no migration on conversion. All prior sessions for the user (including the anonymous token used to make this call) are revoked. A fresh token pair is returned in the response body. The conversion is the moment the user becomes billable -- MAU is tracked from this point forward.
|
|
16464
|
+
* Convert anonymous account to a full account
|
|
16465
|
+
*/
|
|
16466
|
+
async convertAnonymousUser(convertAnonymousUserRequest, initOverrides) {
|
|
16467
|
+
const response = await this.convertAnonymousUserRaw({ convertAnonymousUserRequest }, initOverrides);
|
|
16468
|
+
return await response.value();
|
|
16469
|
+
}
|
|
16092
16470
|
/**
|
|
16093
16471
|
* Register a new end user with email and password.
|
|
16094
16472
|
* Register a new end user
|
|
@@ -16126,6 +16504,40 @@ var AuthRegistrationApi = class extends BaseAPI {
|
|
|
16126
16504
|
const response = await this.registerEndUserRaw({ registerRequest }, initOverrides);
|
|
16127
16505
|
return await response.value();
|
|
16128
16506
|
}
|
|
16507
|
+
/**
|
|
16508
|
+
* Issue an end-user identity to a device without email, password, OAuth, or any other credential. Idempotent per (application, environment, device_id): repeated calls with the same device_id return the same user but a fresh token pair. Prior sessions for the user remain valid until natural expiry. Anonymous users do not count toward MAU quota until their first authenticated request after sign-in (excluding /v1/auth/refresh). Convert an anonymous user to a full account via POST /v1/auth/users/convert.
|
|
16509
|
+
* Sign in anonymously
|
|
16510
|
+
*/
|
|
16511
|
+
async signInAnonymouslyRaw(requestParameters, initOverrides) {
|
|
16512
|
+
if (requestParameters["signInAnonymouslyRequest"] == null) {
|
|
16513
|
+
throw new RequiredError(
|
|
16514
|
+
"signInAnonymouslyRequest",
|
|
16515
|
+
'Required parameter "signInAnonymouslyRequest" was null or undefined when calling signInAnonymously().'
|
|
16516
|
+
);
|
|
16517
|
+
}
|
|
16518
|
+
const queryParameters = {};
|
|
16519
|
+
const headerParameters = {};
|
|
16520
|
+
headerParameters["Content-Type"] = "application/json";
|
|
16521
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
16522
|
+
headerParameters["X-Application-Key"] = await this.configuration.apiKey("X-Application-Key");
|
|
16523
|
+
}
|
|
16524
|
+
const response = await this.request({
|
|
16525
|
+
path: `/auth/users/anonymous`,
|
|
16526
|
+
method: "POST",
|
|
16527
|
+
headers: headerParameters,
|
|
16528
|
+
query: queryParameters,
|
|
16529
|
+
body: SignInAnonymouslyRequestToJSON(requestParameters["signInAnonymouslyRequest"])
|
|
16530
|
+
}, initOverrides);
|
|
16531
|
+
return new JSONApiResponse(response, (jsonValue) => AuthResultResponseFromJSON(jsonValue));
|
|
16532
|
+
}
|
|
16533
|
+
/**
|
|
16534
|
+
* Issue an end-user identity to a device without email, password, OAuth, or any other credential. Idempotent per (application, environment, device_id): repeated calls with the same device_id return the same user but a fresh token pair. Prior sessions for the user remain valid until natural expiry. Anonymous users do not count toward MAU quota until their first authenticated request after sign-in (excluding /v1/auth/refresh). Convert an anonymous user to a full account via POST /v1/auth/users/convert.
|
|
16535
|
+
* Sign in anonymously
|
|
16536
|
+
*/
|
|
16537
|
+
async signInAnonymously(signInAnonymouslyRequest, initOverrides) {
|
|
16538
|
+
const response = await this.signInAnonymouslyRaw({ signInAnonymouslyRequest }, initOverrides);
|
|
16539
|
+
return await response.value();
|
|
16540
|
+
}
|
|
16129
16541
|
};
|
|
16130
16542
|
|
|
16131
16543
|
// src/src/apis/AuthSessionsApi.ts
|
|
@@ -21848,6 +22260,22 @@ var ZyphrNotFoundError = class extends ZyphrError {
|
|
|
21848
22260
|
this.name = "ZyphrNotFoundError";
|
|
21849
22261
|
}
|
|
21850
22262
|
};
|
|
22263
|
+
var ZyphrPayloadTooLargeError = class extends ZyphrError {
|
|
22264
|
+
constructor(message, details, requestId) {
|
|
22265
|
+
super({ message, status: 413, code: "payload_too_large", details, requestId });
|
|
22266
|
+
this.name = "ZyphrPayloadTooLargeError";
|
|
22267
|
+
}
|
|
22268
|
+
/** Maximum allowed request body size in bytes (server-enforced). */
|
|
22269
|
+
get limitBytes() {
|
|
22270
|
+
const value = this.details?.limit_bytes;
|
|
22271
|
+
return typeof value === "number" ? value : void 0;
|
|
22272
|
+
}
|
|
22273
|
+
/** Size of the rejected request body in bytes, as measured by the server. */
|
|
22274
|
+
get receivedBytes() {
|
|
22275
|
+
const value = this.details?.received_bytes;
|
|
22276
|
+
return typeof value === "number" ? value : void 0;
|
|
22277
|
+
}
|
|
22278
|
+
};
|
|
21851
22279
|
var ZyphrWebhookVerificationError = class extends ZyphrError {
|
|
21852
22280
|
constructor(message) {
|
|
21853
22281
|
super({ message, status: 401, code: "webhook_verification_failed" });
|
|
@@ -21876,6 +22304,8 @@ async function parseErrorResponse(response) {
|
|
|
21876
22304
|
return new ZyphrAuthenticationError(message);
|
|
21877
22305
|
case 404:
|
|
21878
22306
|
return new ZyphrNotFoundError(message);
|
|
22307
|
+
case 413:
|
|
22308
|
+
return new ZyphrPayloadTooLargeError(message, details, requestId);
|
|
21879
22309
|
case 429: {
|
|
21880
22310
|
const retryAfterHeader = response.headers.get("Retry-After");
|
|
21881
22311
|
const retryAfter = retryAfterHeader ? parseInt(retryAfterHeader, 10) : void 0;
|
|
@@ -22203,6 +22633,28 @@ var SDK_VERSION = "0.1.0";
|
|
|
22203
22633
|
ConsentWithdrawResponseFromJSONTyped,
|
|
22204
22634
|
ConsentWithdrawResponseToJSON,
|
|
22205
22635
|
ConsentWithdrawResponseToJSONTyped,
|
|
22636
|
+
ConvertAnonymousUserRequestFromJSON,
|
|
22637
|
+
ConvertAnonymousUserRequestFromJSONTyped,
|
|
22638
|
+
ConvertAnonymousUserRequestOneOf1AppleUserFromJSON,
|
|
22639
|
+
ConvertAnonymousUserRequestOneOf1AppleUserFromJSONTyped,
|
|
22640
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSON,
|
|
22641
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameFromJSONTyped,
|
|
22642
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameToJSON,
|
|
22643
|
+
ConvertAnonymousUserRequestOneOf1AppleUserNameToJSONTyped,
|
|
22644
|
+
ConvertAnonymousUserRequestOneOf1AppleUserToJSON,
|
|
22645
|
+
ConvertAnonymousUserRequestOneOf1AppleUserToJSONTyped,
|
|
22646
|
+
ConvertAnonymousUserRequestOneOf1FromJSON,
|
|
22647
|
+
ConvertAnonymousUserRequestOneOf1FromJSONTyped,
|
|
22648
|
+
ConvertAnonymousUserRequestOneOf1MethodEnum,
|
|
22649
|
+
ConvertAnonymousUserRequestOneOf1ToJSON,
|
|
22650
|
+
ConvertAnonymousUserRequestOneOf1ToJSONTyped,
|
|
22651
|
+
ConvertAnonymousUserRequestOneOfFromJSON,
|
|
22652
|
+
ConvertAnonymousUserRequestOneOfFromJSONTyped,
|
|
22653
|
+
ConvertAnonymousUserRequestOneOfMethodEnum,
|
|
22654
|
+
ConvertAnonymousUserRequestOneOfToJSON,
|
|
22655
|
+
ConvertAnonymousUserRequestOneOfToJSONTyped,
|
|
22656
|
+
ConvertAnonymousUserRequestToJSON,
|
|
22657
|
+
ConvertAnonymousUserRequestToJSONTyped,
|
|
22206
22658
|
CreateCategoryRequestFromJSON,
|
|
22207
22659
|
CreateCategoryRequestFromJSONTyped,
|
|
22208
22660
|
CreateCategoryRequestToJSON,
|
|
@@ -22653,6 +23105,19 @@ var SDK_VERSION = "0.1.0";
|
|
|
22653
23105
|
PasswordRequirementsResponseToJSONTyped,
|
|
22654
23106
|
PasswordRequirementsToJSON,
|
|
22655
23107
|
PasswordRequirementsToJSONTyped,
|
|
23108
|
+
PayloadTooLargeErrorErrorCodeEnum,
|
|
23109
|
+
PayloadTooLargeErrorErrorDetailsFromJSON,
|
|
23110
|
+
PayloadTooLargeErrorErrorDetailsFromJSONTyped,
|
|
23111
|
+
PayloadTooLargeErrorErrorDetailsToJSON,
|
|
23112
|
+
PayloadTooLargeErrorErrorDetailsToJSONTyped,
|
|
23113
|
+
PayloadTooLargeErrorErrorFromJSON,
|
|
23114
|
+
PayloadTooLargeErrorErrorFromJSONTyped,
|
|
23115
|
+
PayloadTooLargeErrorErrorToJSON,
|
|
23116
|
+
PayloadTooLargeErrorErrorToJSONTyped,
|
|
23117
|
+
PayloadTooLargeErrorFromJSON,
|
|
23118
|
+
PayloadTooLargeErrorFromJSONTyped,
|
|
23119
|
+
PayloadTooLargeErrorToJSON,
|
|
23120
|
+
PayloadTooLargeErrorToJSONTyped,
|
|
22656
23121
|
PhoneAuthAvailabilityResponseDataFromJSON,
|
|
22657
23122
|
PhoneAuthAvailabilityResponseDataFromJSONTyped,
|
|
22658
23123
|
PhoneAuthAvailabilityResponseDataToJSON,
|
|
@@ -22991,6 +23456,10 @@ var SDK_VERSION = "0.1.0";
|
|
|
22991
23456
|
SetPreferencesRequestPreferencesInnerToJSONTyped,
|
|
22992
23457
|
SetPreferencesRequestToJSON,
|
|
22993
23458
|
SetPreferencesRequestToJSONTyped,
|
|
23459
|
+
SignInAnonymouslyRequestFromJSON,
|
|
23460
|
+
SignInAnonymouslyRequestFromJSONTyped,
|
|
23461
|
+
SignInAnonymouslyRequestToJSON,
|
|
23462
|
+
SignInAnonymouslyRequestToJSONTyped,
|
|
22994
23463
|
SlackApi,
|
|
22995
23464
|
SlackMessageFromJSON,
|
|
22996
23465
|
SlackMessageFromJSONTyped,
|
|
@@ -23583,6 +24052,7 @@ var SDK_VERSION = "0.1.0";
|
|
|
23583
24052
|
ZyphrAuthenticationError,
|
|
23584
24053
|
ZyphrError,
|
|
23585
24054
|
ZyphrNotFoundError,
|
|
24055
|
+
ZyphrPayloadTooLargeError,
|
|
23586
24056
|
ZyphrRateLimitError,
|
|
23587
24057
|
ZyphrValidationError,
|
|
23588
24058
|
ZyphrWebhookVerificationError,
|
|
@@ -23637,6 +24107,10 @@ var SDK_VERSION = "0.1.0";
|
|
|
23637
24107
|
instanceOfConsentStatus,
|
|
23638
24108
|
instanceOfConsentStatusResponse,
|
|
23639
24109
|
instanceOfConsentWithdrawResponse,
|
|
24110
|
+
instanceOfConvertAnonymousUserRequestOneOf,
|
|
24111
|
+
instanceOfConvertAnonymousUserRequestOneOf1,
|
|
24112
|
+
instanceOfConvertAnonymousUserRequestOneOf1AppleUser,
|
|
24113
|
+
instanceOfConvertAnonymousUserRequestOneOf1AppleUserName,
|
|
23640
24114
|
instanceOfCreateCategoryRequest,
|
|
23641
24115
|
instanceOfCreateSubscriberRequest,
|
|
23642
24116
|
instanceOfCreateTemplateRequest,
|
|
@@ -23743,6 +24217,9 @@ var SDK_VERSION = "0.1.0";
|
|
|
23743
24217
|
instanceOfPasswordRequirements,
|
|
23744
24218
|
instanceOfPasswordRequirementsResponse,
|
|
23745
24219
|
instanceOfPasswordRequirementsResponseData,
|
|
24220
|
+
instanceOfPayloadTooLargeError,
|
|
24221
|
+
instanceOfPayloadTooLargeErrorError,
|
|
24222
|
+
instanceOfPayloadTooLargeErrorErrorDetails,
|
|
23746
24223
|
instanceOfPhoneAuthAvailabilityResponse,
|
|
23747
24224
|
instanceOfPhoneAuthAvailabilityResponseData,
|
|
23748
24225
|
instanceOfPhoneLoginVerifyRequest,
|
|
@@ -23824,6 +24301,7 @@ var SDK_VERSION = "0.1.0";
|
|
|
23824
24301
|
instanceOfSessionListResponseDataSessionInfo,
|
|
23825
24302
|
instanceOfSetPreferencesRequest,
|
|
23826
24303
|
instanceOfSetPreferencesRequestPreferencesInner,
|
|
24304
|
+
instanceOfSignInAnonymouslyRequest,
|
|
23827
24305
|
instanceOfSlackMessage,
|
|
23828
24306
|
instanceOfSlackMessageListResponse,
|
|
23829
24307
|
instanceOfSlackMessageListResponseMeta,
|