@memnexus-ai/typescript-sdk 1.65.6 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +22 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -9
- package/dist/index.d.ts +24 -9
- package/dist/index.js +22 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -7102,6 +7102,7 @@ declare const user: z.ZodObject<{
|
|
|
7102
7102
|
memoryLimit: z.ZodNumber;
|
|
7103
7103
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
7104
7104
|
isTestUser: z.ZodBoolean;
|
|
7105
|
+
/** DEPRECATED (v4.02 / OP-1). Legacy gated-preview cohort flag, set only when an account was created with an invite code. Signup no longer requires an invite code, so accounts created after the open-preview flip are false. Do not use for cohort logic in new integrations. */
|
|
7105
7106
|
isPreviewUser: z.ZodBoolean;
|
|
7106
7107
|
isInternalUser: z.ZodBoolean;
|
|
7107
7108
|
deletionStatus: z.ZodEnum<["none", "pending_deletion", "deleting", "deleted", "deletion_failed"]>;
|
|
@@ -9333,8 +9334,17 @@ declare class UsersService extends BaseService {
|
|
|
9333
9334
|
* Called by the customer portal after WorkOS authentication.
|
|
9334
9335
|
Creates a new user if they don't exist, or updates their profile if they do.
|
|
9335
9336
|
This is the main entry point for user provisioning.
|
|
9336
|
-
|
|
9337
|
-
|
|
9337
|
+
|
|
9338
|
+
Signup does not require an invite code. `inviteCode` is optional and
|
|
9339
|
+
legacy: when a valid code is supplied on a newly created account it is
|
|
9340
|
+
redeemed for attribution only, and an invalid or unknown code never
|
|
9341
|
+
blocks account creation.
|
|
9342
|
+
|
|
9343
|
+
Account creation is rate limited per client IP. Re-syncing an
|
|
9344
|
+
existing user does not consume that budget, so ordinary traffic is
|
|
9345
|
+
unaffected; once an IP has exhausted its hourly creation budget,
|
|
9346
|
+
further requests from it are refused uniformly until the window
|
|
9347
|
+
rolls over.
|
|
9338
9348
|
|
|
9339
9349
|
* @param body - Request body
|
|
9340
9350
|
*/
|
|
@@ -11023,30 +11033,35 @@ declare class MemoriesService extends BaseService {
|
|
|
11023
11033
|
}
|
|
11024
11034
|
|
|
11025
11035
|
/**
|
|
11026
|
-
* InvitesService -
|
|
11036
|
+
* InvitesService - DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface. API operations.
|
|
11027
11037
|
* Auto-generated by sdk-generator - do not edit manually.
|
|
11028
11038
|
*/
|
|
11029
11039
|
|
|
11030
11040
|
/**
|
|
11031
|
-
*
|
|
11041
|
+
* DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface.
|
|
11032
11042
|
*/
|
|
11033
11043
|
declare class InvitesService extends BaseService {
|
|
11034
11044
|
/**
|
|
11035
11045
|
* Check invite gate status
|
|
11036
|
-
*
|
|
11037
|
-
|
|
11038
|
-
|
|
11046
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
11047
|
+
The API no longer requires an invite code for signup, so this flag now
|
|
11048
|
+
only drives the customer portal's legacy gate UI. Response is cached
|
|
11049
|
+
server-side (30-second TTL).
|
|
11039
11050
|
|
|
11051
|
+
* @deprecated
|
|
11040
11052
|
*/
|
|
11041
11053
|
getGateStatus(): Promise<HttpResponse<{
|
|
11042
11054
|
gated?: boolean;
|
|
11043
11055
|
}>>;
|
|
11044
11056
|
/**
|
|
11045
11057
|
* Validate an invite code
|
|
11046
|
-
* Validate an invite code without redeeming it.
|
|
11058
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
11059
|
+
Signup no longer requires an invite code; this endpoint remains for the
|
|
11060
|
+
customer portal's legacy gate UI.
|
|
11047
11061
|
Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
11048
11062
|
Error messages are intentionally generic.
|
|
11049
11063
|
|
|
11064
|
+
* @deprecated
|
|
11050
11065
|
* @param body - Request body
|
|
11051
11066
|
*/
|
|
11052
11067
|
validateInviteCode(body: {
|
|
@@ -12000,7 +12015,7 @@ declare class Memnexus {
|
|
|
12000
12015
|
readonly monitoring: MonitoringService;
|
|
12001
12016
|
/** Memory management and retrieval endpoints operations */
|
|
12002
12017
|
readonly memories: MemoriesService;
|
|
12003
|
-
/**
|
|
12018
|
+
/** DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface. operations */
|
|
12004
12019
|
readonly invites: InvitesService;
|
|
12005
12020
|
/** Health check endpoints operations */
|
|
12006
12021
|
readonly health: HealthService;
|
package/dist/index.d.ts
CHANGED
|
@@ -7102,6 +7102,7 @@ declare const user: z.ZodObject<{
|
|
|
7102
7102
|
memoryLimit: z.ZodNumber;
|
|
7103
7103
|
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
7104
7104
|
isTestUser: z.ZodBoolean;
|
|
7105
|
+
/** DEPRECATED (v4.02 / OP-1). Legacy gated-preview cohort flag, set only when an account was created with an invite code. Signup no longer requires an invite code, so accounts created after the open-preview flip are false. Do not use for cohort logic in new integrations. */
|
|
7105
7106
|
isPreviewUser: z.ZodBoolean;
|
|
7106
7107
|
isInternalUser: z.ZodBoolean;
|
|
7107
7108
|
deletionStatus: z.ZodEnum<["none", "pending_deletion", "deleting", "deleted", "deletion_failed"]>;
|
|
@@ -9333,8 +9334,17 @@ declare class UsersService extends BaseService {
|
|
|
9333
9334
|
* Called by the customer portal after WorkOS authentication.
|
|
9334
9335
|
Creates a new user if they don't exist, or updates their profile if they do.
|
|
9335
9336
|
This is the main entry point for user provisioning.
|
|
9336
|
-
|
|
9337
|
-
|
|
9337
|
+
|
|
9338
|
+
Signup does not require an invite code. `inviteCode` is optional and
|
|
9339
|
+
legacy: when a valid code is supplied on a newly created account it is
|
|
9340
|
+
redeemed for attribution only, and an invalid or unknown code never
|
|
9341
|
+
blocks account creation.
|
|
9342
|
+
|
|
9343
|
+
Account creation is rate limited per client IP. Re-syncing an
|
|
9344
|
+
existing user does not consume that budget, so ordinary traffic is
|
|
9345
|
+
unaffected; once an IP has exhausted its hourly creation budget,
|
|
9346
|
+
further requests from it are refused uniformly until the window
|
|
9347
|
+
rolls over.
|
|
9338
9348
|
|
|
9339
9349
|
* @param body - Request body
|
|
9340
9350
|
*/
|
|
@@ -11023,30 +11033,35 @@ declare class MemoriesService extends BaseService {
|
|
|
11023
11033
|
}
|
|
11024
11034
|
|
|
11025
11035
|
/**
|
|
11026
|
-
* InvitesService -
|
|
11036
|
+
* InvitesService - DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface. API operations.
|
|
11027
11037
|
* Auto-generated by sdk-generator - do not edit manually.
|
|
11028
11038
|
*/
|
|
11029
11039
|
|
|
11030
11040
|
/**
|
|
11031
|
-
*
|
|
11041
|
+
* DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface.
|
|
11032
11042
|
*/
|
|
11033
11043
|
declare class InvitesService extends BaseService {
|
|
11034
11044
|
/**
|
|
11035
11045
|
* Check invite gate status
|
|
11036
|
-
*
|
|
11037
|
-
|
|
11038
|
-
|
|
11046
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
11047
|
+
The API no longer requires an invite code for signup, so this flag now
|
|
11048
|
+
only drives the customer portal's legacy gate UI. Response is cached
|
|
11049
|
+
server-side (30-second TTL).
|
|
11039
11050
|
|
|
11051
|
+
* @deprecated
|
|
11040
11052
|
*/
|
|
11041
11053
|
getGateStatus(): Promise<HttpResponse<{
|
|
11042
11054
|
gated?: boolean;
|
|
11043
11055
|
}>>;
|
|
11044
11056
|
/**
|
|
11045
11057
|
* Validate an invite code
|
|
11046
|
-
* Validate an invite code without redeeming it.
|
|
11058
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
11059
|
+
Signup no longer requires an invite code; this endpoint remains for the
|
|
11060
|
+
customer portal's legacy gate UI.
|
|
11047
11061
|
Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
11048
11062
|
Error messages are intentionally generic.
|
|
11049
11063
|
|
|
11064
|
+
* @deprecated
|
|
11050
11065
|
* @param body - Request body
|
|
11051
11066
|
*/
|
|
11052
11067
|
validateInviteCode(body: {
|
|
@@ -12000,7 +12015,7 @@ declare class Memnexus {
|
|
|
12000
12015
|
readonly monitoring: MonitoringService;
|
|
12001
12016
|
/** Memory management and retrieval endpoints operations */
|
|
12002
12017
|
readonly memories: MemoriesService;
|
|
12003
|
-
/**
|
|
12018
|
+
/** DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface. operations */
|
|
12004
12019
|
readonly invites: InvitesService;
|
|
12005
12020
|
/** Health check endpoints operations */
|
|
12006
12021
|
readonly health: HealthService;
|
package/dist/index.js
CHANGED
|
@@ -481,8 +481,17 @@ var UsersService = class extends BaseService {
|
|
|
481
481
|
* Called by the customer portal after WorkOS authentication.
|
|
482
482
|
Creates a new user if they don't exist, or updates their profile if they do.
|
|
483
483
|
This is the main entry point for user provisioning.
|
|
484
|
-
|
|
485
|
-
|
|
484
|
+
|
|
485
|
+
Signup does not require an invite code. `inviteCode` is optional and
|
|
486
|
+
legacy: when a valid code is supplied on a newly created account it is
|
|
487
|
+
redeemed for attribution only, and an invalid or unknown code never
|
|
488
|
+
blocks account creation.
|
|
489
|
+
|
|
490
|
+
Account creation is rate limited per client IP. Re-syncing an
|
|
491
|
+
existing user does not consume that budget, so ordinary traffic is
|
|
492
|
+
unaffected; once an IP has exhausted its hourly creation budget,
|
|
493
|
+
further requests from it are refused uniformly until the window
|
|
494
|
+
rolls over.
|
|
486
495
|
|
|
487
496
|
* @param body - Request body
|
|
488
497
|
*/
|
|
@@ -3987,10 +3996,12 @@ var MemoriesService = class extends BaseService {
|
|
|
3987
3996
|
var InvitesService = class extends BaseService {
|
|
3988
3997
|
/**
|
|
3989
3998
|
* Check invite gate status
|
|
3990
|
-
*
|
|
3991
|
-
|
|
3992
|
-
|
|
3999
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
4000
|
+
The API no longer requires an invite code for signup, so this flag now
|
|
4001
|
+
only drives the customer portal's legacy gate UI. Response is cached
|
|
4002
|
+
server-side (30-second TTL).
|
|
3993
4003
|
|
|
4004
|
+
* @deprecated
|
|
3994
4005
|
*/
|
|
3995
4006
|
async getGateStatus() {
|
|
3996
4007
|
const request = new Request({
|
|
@@ -4010,10 +4021,13 @@ var InvitesService = class extends BaseService {
|
|
|
4010
4021
|
}
|
|
4011
4022
|
/**
|
|
4012
4023
|
* Validate an invite code
|
|
4013
|
-
* Validate an invite code without redeeming it.
|
|
4024
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
4025
|
+
Signup no longer requires an invite code; this endpoint remains for the
|
|
4026
|
+
customer portal's legacy gate UI.
|
|
4014
4027
|
Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
4015
4028
|
Error messages are intentionally generic.
|
|
4016
4029
|
|
|
4030
|
+
* @deprecated
|
|
4017
4031
|
* @param body - Request body
|
|
4018
4032
|
*/
|
|
4019
4033
|
async validateInviteCode(body) {
|
|
@@ -7235,6 +7249,7 @@ var user = z.object({
|
|
|
7235
7249
|
memoryLimit: z.number(),
|
|
7236
7250
|
retentionDays: z.number().nullable(),
|
|
7237
7251
|
isTestUser: z.boolean(),
|
|
7252
|
+
/** DEPRECATED (v4.02 / OP-1). Legacy gated-preview cohort flag, set only when an account was created with an invite code. Signup no longer requires an invite code, so accounts created after the open-preview flip are false. Do not use for cohort logic in new integrations. */
|
|
7238
7253
|
isPreviewUser: z.boolean(),
|
|
7239
7254
|
isInternalUser: z.boolean(),
|
|
7240
7255
|
deletionStatus: z.enum(["none", "pending_deletion", "deleting", "deleted", "deletion_failed"]),
|
|
@@ -7709,7 +7724,7 @@ var Memnexus = class {
|
|
|
7709
7724
|
monitoring;
|
|
7710
7725
|
/** Memory management and retrieval endpoints operations */
|
|
7711
7726
|
memories;
|
|
7712
|
-
/**
|
|
7727
|
+
/** DEPRECATED (v4.02 / OP-1) — invite code validation and gate status endpoints. Signup no longer requires an invite code; these endpoints remain only for the customer portal's legacy gate UI and are not part of the supported public surface. operations */
|
|
7713
7728
|
invites;
|
|
7714
7729
|
/** Health check endpoints operations */
|
|
7715
7730
|
health;
|