@memnexus-ai/sdk 1.65.6 → 1.66.1
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 +1 -1
- package/dist/index.cjs +23 -7
- package/dist/index.d.cts +26 -9
- package/dist/index.d.ts +26 -9
- package/dist/index.js +23 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -85,7 +85,7 @@ client.monitoring
|
|
|
85
85
|
// Memory management and retrieval endpoints
|
|
86
86
|
client.memories
|
|
87
87
|
|
|
88
|
-
//
|
|
88
|
+
// 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.
|
|
89
89
|
client.invites
|
|
90
90
|
|
|
91
91
|
// Health check endpoints
|
package/dist/index.cjs
CHANGED
|
@@ -171,8 +171,17 @@ var Users = class {
|
|
|
171
171
|
* Called by the customer portal after WorkOS authentication.
|
|
172
172
|
* Creates a new user if they don't exist, or updates their profile if they do.
|
|
173
173
|
* This is the main entry point for user provisioning.
|
|
174
|
-
*
|
|
175
|
-
*
|
|
174
|
+
*
|
|
175
|
+
* Signup does not require an invite code. `inviteCode` is optional and
|
|
176
|
+
* legacy: when a valid code is supplied on a newly created account it is
|
|
177
|
+
* redeemed for attribution only, and an invalid or unknown code never
|
|
178
|
+
* blocks account creation.
|
|
179
|
+
*
|
|
180
|
+
* Account creation is rate limited per client IP. Re-syncing an
|
|
181
|
+
* existing user does not consume that budget, so ordinary traffic is
|
|
182
|
+
* unaffected; once an IP has exhausted its hourly creation budget,
|
|
183
|
+
* further requests from it are refused uniformly until the window
|
|
184
|
+
* rolls over.
|
|
176
185
|
*
|
|
177
186
|
* @param body — Request body
|
|
178
187
|
*/
|
|
@@ -1841,10 +1850,13 @@ var Invites = class {
|
|
|
1841
1850
|
/**
|
|
1842
1851
|
* Check invite gate status
|
|
1843
1852
|
*
|
|
1844
|
-
*
|
|
1845
|
-
*
|
|
1846
|
-
*
|
|
1853
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
1854
|
+
* The API no longer requires an invite code for signup, so this flag now
|
|
1855
|
+
* only drives the customer portal's legacy gate UI. Response is cached
|
|
1856
|
+
* server-side (30-second TTL).
|
|
1847
1857
|
*
|
|
1858
|
+
*
|
|
1859
|
+
* @deprecated
|
|
1848
1860
|
*/
|
|
1849
1861
|
async getGateStatus() {
|
|
1850
1862
|
const pathParams = {};
|
|
@@ -1857,10 +1869,14 @@ var Invites = class {
|
|
|
1857
1869
|
/**
|
|
1858
1870
|
* Validate an invite code
|
|
1859
1871
|
*
|
|
1860
|
-
* Validate an invite code without redeeming it.
|
|
1872
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
1873
|
+
* Signup no longer requires an invite code; this endpoint remains for the
|
|
1874
|
+
* customer portal's legacy gate UI.
|
|
1861
1875
|
* Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
1862
1876
|
* Error messages are intentionally generic.
|
|
1863
1877
|
*
|
|
1878
|
+
*
|
|
1879
|
+
* @deprecated
|
|
1864
1880
|
* @param body — Request body
|
|
1865
1881
|
*/
|
|
1866
1882
|
async validateInviteCode(body) {
|
|
@@ -2947,7 +2963,7 @@ var MemNexus = class {
|
|
|
2947
2963
|
monitoring;
|
|
2948
2964
|
/** Memory management and retrieval endpoints */
|
|
2949
2965
|
memories;
|
|
2950
|
-
/**
|
|
2966
|
+
/** 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. */
|
|
2951
2967
|
invites;
|
|
2952
2968
|
/** Health check endpoints */
|
|
2953
2969
|
health;
|
package/dist/index.d.cts
CHANGED
|
@@ -1166,6 +1166,7 @@ interface User {
|
|
|
1166
1166
|
memoryLimit: number;
|
|
1167
1167
|
retentionDays: number | null;
|
|
1168
1168
|
isTestUser: boolean;
|
|
1169
|
+
/** 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. @deprecated */
|
|
1169
1170
|
isPreviewUser: boolean;
|
|
1170
1171
|
isInternalUser: boolean;
|
|
1171
1172
|
deletionStatus: 'none' | 'pending_deletion' | 'deleting' | 'deleted' | 'deletion_failed';
|
|
@@ -1603,8 +1604,17 @@ declare class Users {
|
|
|
1603
1604
|
* Called by the customer portal after WorkOS authentication.
|
|
1604
1605
|
* Creates a new user if they don't exist, or updates their profile if they do.
|
|
1605
1606
|
* This is the main entry point for user provisioning.
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1607
|
+
*
|
|
1608
|
+
* Signup does not require an invite code. `inviteCode` is optional and
|
|
1609
|
+
* legacy: when a valid code is supplied on a newly created account it is
|
|
1610
|
+
* redeemed for attribution only, and an invalid or unknown code never
|
|
1611
|
+
* blocks account creation.
|
|
1612
|
+
*
|
|
1613
|
+
* Account creation is rate limited per client IP. Re-syncing an
|
|
1614
|
+
* existing user does not consume that budget, so ordinary traffic is
|
|
1615
|
+
* unaffected; once an IP has exhausted its hourly creation budget,
|
|
1616
|
+
* further requests from it are refused uniformly until the window
|
|
1617
|
+
* rolls over.
|
|
1608
1618
|
*
|
|
1609
1619
|
* @param body — Request body
|
|
1610
1620
|
*/
|
|
@@ -3301,21 +3311,24 @@ declare class Memories {
|
|
|
3301
3311
|
}
|
|
3302
3312
|
|
|
3303
3313
|
/**
|
|
3304
|
-
* InvitesService —
|
|
3314
|
+
* 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.
|
|
3305
3315
|
* Auto-generated by sdk-generator — do not edit manually.
|
|
3306
3316
|
*/
|
|
3307
3317
|
|
|
3308
|
-
/**
|
|
3318
|
+
/** 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. */
|
|
3309
3319
|
declare class Invites {
|
|
3310
3320
|
private readonly _http;
|
|
3311
3321
|
constructor(http: HttpClient);
|
|
3312
3322
|
/**
|
|
3313
3323
|
* Check invite gate status
|
|
3314
3324
|
*
|
|
3315
|
-
*
|
|
3316
|
-
*
|
|
3317
|
-
*
|
|
3325
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
3326
|
+
* The API no longer requires an invite code for signup, so this flag now
|
|
3327
|
+
* only drives the customer portal's legacy gate UI. Response is cached
|
|
3328
|
+
* server-side (30-second TTL).
|
|
3318
3329
|
*
|
|
3330
|
+
*
|
|
3331
|
+
* @deprecated
|
|
3319
3332
|
*/
|
|
3320
3333
|
getGateStatus(): Promise<HttpResponse<{
|
|
3321
3334
|
gated?: boolean;
|
|
@@ -3323,10 +3336,14 @@ declare class Invites {
|
|
|
3323
3336
|
/**
|
|
3324
3337
|
* Validate an invite code
|
|
3325
3338
|
*
|
|
3326
|
-
* Validate an invite code without redeeming it.
|
|
3339
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
3340
|
+
* Signup no longer requires an invite code; this endpoint remains for the
|
|
3341
|
+
* customer portal's legacy gate UI.
|
|
3327
3342
|
* Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
3328
3343
|
* Error messages are intentionally generic.
|
|
3329
3344
|
*
|
|
3345
|
+
*
|
|
3346
|
+
* @deprecated
|
|
3330
3347
|
* @param body — Request body
|
|
3331
3348
|
*/
|
|
3332
3349
|
validateInviteCode(body: {
|
|
@@ -4323,7 +4340,7 @@ declare class MemNexus {
|
|
|
4323
4340
|
readonly monitoring: Monitoring;
|
|
4324
4341
|
/** Memory management and retrieval endpoints */
|
|
4325
4342
|
readonly memories: Memories;
|
|
4326
|
-
/**
|
|
4343
|
+
/** 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. */
|
|
4327
4344
|
readonly invites: Invites;
|
|
4328
4345
|
/** Health check endpoints */
|
|
4329
4346
|
readonly health: Health;
|
package/dist/index.d.ts
CHANGED
|
@@ -1166,6 +1166,7 @@ interface User {
|
|
|
1166
1166
|
memoryLimit: number;
|
|
1167
1167
|
retentionDays: number | null;
|
|
1168
1168
|
isTestUser: boolean;
|
|
1169
|
+
/** 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. @deprecated */
|
|
1169
1170
|
isPreviewUser: boolean;
|
|
1170
1171
|
isInternalUser: boolean;
|
|
1171
1172
|
deletionStatus: 'none' | 'pending_deletion' | 'deleting' | 'deleted' | 'deletion_failed';
|
|
@@ -1603,8 +1604,17 @@ declare class Users {
|
|
|
1603
1604
|
* Called by the customer portal after WorkOS authentication.
|
|
1604
1605
|
* Creates a new user if they don't exist, or updates their profile if they do.
|
|
1605
1606
|
* This is the main entry point for user provisioning.
|
|
1606
|
-
*
|
|
1607
|
-
*
|
|
1607
|
+
*
|
|
1608
|
+
* Signup does not require an invite code. `inviteCode` is optional and
|
|
1609
|
+
* legacy: when a valid code is supplied on a newly created account it is
|
|
1610
|
+
* redeemed for attribution only, and an invalid or unknown code never
|
|
1611
|
+
* blocks account creation.
|
|
1612
|
+
*
|
|
1613
|
+
* Account creation is rate limited per client IP. Re-syncing an
|
|
1614
|
+
* existing user does not consume that budget, so ordinary traffic is
|
|
1615
|
+
* unaffected; once an IP has exhausted its hourly creation budget,
|
|
1616
|
+
* further requests from it are refused uniformly until the window
|
|
1617
|
+
* rolls over.
|
|
1608
1618
|
*
|
|
1609
1619
|
* @param body — Request body
|
|
1610
1620
|
*/
|
|
@@ -3301,21 +3311,24 @@ declare class Memories {
|
|
|
3301
3311
|
}
|
|
3302
3312
|
|
|
3303
3313
|
/**
|
|
3304
|
-
* InvitesService —
|
|
3314
|
+
* 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.
|
|
3305
3315
|
* Auto-generated by sdk-generator — do not edit manually.
|
|
3306
3316
|
*/
|
|
3307
3317
|
|
|
3308
|
-
/**
|
|
3318
|
+
/** 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. */
|
|
3309
3319
|
declare class Invites {
|
|
3310
3320
|
private readonly _http;
|
|
3311
3321
|
constructor(http: HttpClient);
|
|
3312
3322
|
/**
|
|
3313
3323
|
* Check invite gate status
|
|
3314
3324
|
*
|
|
3315
|
-
*
|
|
3316
|
-
*
|
|
3317
|
-
*
|
|
3325
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
3326
|
+
* The API no longer requires an invite code for signup, so this flag now
|
|
3327
|
+
* only drives the customer portal's legacy gate UI. Response is cached
|
|
3328
|
+
* server-side (30-second TTL).
|
|
3318
3329
|
*
|
|
3330
|
+
*
|
|
3331
|
+
* @deprecated
|
|
3319
3332
|
*/
|
|
3320
3333
|
getGateStatus(): Promise<HttpResponse<{
|
|
3321
3334
|
gated?: boolean;
|
|
@@ -3323,10 +3336,14 @@ declare class Invites {
|
|
|
3323
3336
|
/**
|
|
3324
3337
|
* Validate an invite code
|
|
3325
3338
|
*
|
|
3326
|
-
* Validate an invite code without redeeming it.
|
|
3339
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
3340
|
+
* Signup no longer requires an invite code; this endpoint remains for the
|
|
3341
|
+
* customer portal's legacy gate UI.
|
|
3327
3342
|
* Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
3328
3343
|
* Error messages are intentionally generic.
|
|
3329
3344
|
*
|
|
3345
|
+
*
|
|
3346
|
+
* @deprecated
|
|
3330
3347
|
* @param body — Request body
|
|
3331
3348
|
*/
|
|
3332
3349
|
validateInviteCode(body: {
|
|
@@ -4323,7 +4340,7 @@ declare class MemNexus {
|
|
|
4323
4340
|
readonly monitoring: Monitoring;
|
|
4324
4341
|
/** Memory management and retrieval endpoints */
|
|
4325
4342
|
readonly memories: Memories;
|
|
4326
|
-
/**
|
|
4343
|
+
/** 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. */
|
|
4327
4344
|
readonly invites: Invites;
|
|
4328
4345
|
/** Health check endpoints */
|
|
4329
4346
|
readonly health: Health;
|
package/dist/index.js
CHANGED
|
@@ -144,8 +144,17 @@ var Users = class {
|
|
|
144
144
|
* Called by the customer portal after WorkOS authentication.
|
|
145
145
|
* Creates a new user if they don't exist, or updates their profile if they do.
|
|
146
146
|
* This is the main entry point for user provisioning.
|
|
147
|
-
*
|
|
148
|
-
*
|
|
147
|
+
*
|
|
148
|
+
* Signup does not require an invite code. `inviteCode` is optional and
|
|
149
|
+
* legacy: when a valid code is supplied on a newly created account it is
|
|
150
|
+
* redeemed for attribution only, and an invalid or unknown code never
|
|
151
|
+
* blocks account creation.
|
|
152
|
+
*
|
|
153
|
+
* Account creation is rate limited per client IP. Re-syncing an
|
|
154
|
+
* existing user does not consume that budget, so ordinary traffic is
|
|
155
|
+
* unaffected; once an IP has exhausted its hourly creation budget,
|
|
156
|
+
* further requests from it are refused uniformly until the window
|
|
157
|
+
* rolls over.
|
|
149
158
|
*
|
|
150
159
|
* @param body — Request body
|
|
151
160
|
*/
|
|
@@ -1814,10 +1823,13 @@ var Invites = class {
|
|
|
1814
1823
|
/**
|
|
1815
1824
|
* Check invite gate status
|
|
1816
1825
|
*
|
|
1817
|
-
*
|
|
1818
|
-
*
|
|
1819
|
-
*
|
|
1826
|
+
* DEPRECATED (v4.02 / OP-1). Reports whether the invite gate flag is set.
|
|
1827
|
+
* The API no longer requires an invite code for signup, so this flag now
|
|
1828
|
+
* only drives the customer portal's legacy gate UI. Response is cached
|
|
1829
|
+
* server-side (30-second TTL).
|
|
1820
1830
|
*
|
|
1831
|
+
*
|
|
1832
|
+
* @deprecated
|
|
1821
1833
|
*/
|
|
1822
1834
|
async getGateStatus() {
|
|
1823
1835
|
const pathParams = {};
|
|
@@ -1830,10 +1842,14 @@ var Invites = class {
|
|
|
1830
1842
|
/**
|
|
1831
1843
|
* Validate an invite code
|
|
1832
1844
|
*
|
|
1833
|
-
* Validate an invite code without redeeming it.
|
|
1845
|
+
* DEPRECATED (v4.02 / OP-1). Validate an invite code without redeeming it.
|
|
1846
|
+
* Signup no longer requires an invite code; this endpoint remains for the
|
|
1847
|
+
* customer portal's legacy gate UI.
|
|
1834
1848
|
* Rate limited to 10 requests per minute per IP to prevent enumeration.
|
|
1835
1849
|
* Error messages are intentionally generic.
|
|
1836
1850
|
*
|
|
1851
|
+
*
|
|
1852
|
+
* @deprecated
|
|
1837
1853
|
* @param body — Request body
|
|
1838
1854
|
*/
|
|
1839
1855
|
async validateInviteCode(body) {
|
|
@@ -2920,7 +2936,7 @@ var MemNexus = class {
|
|
|
2920
2936
|
monitoring;
|
|
2921
2937
|
/** Memory management and retrieval endpoints */
|
|
2922
2938
|
memories;
|
|
2923
|
-
/**
|
|
2939
|
+
/** 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. */
|
|
2924
2940
|
invites;
|
|
2925
2941
|
/** Health check endpoints */
|
|
2926
2942
|
health;
|