@lepsto/sdk-app 90.1.0 → 90.2.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/CHANGELOG.md +15 -15
- package/dist/_types/gen/client.gen.d.ts +7 -1
- package/dist/_types/gen/types.gen.d.ts +277 -0
- package/dist/_types/gen/users/index.d.ts +1 -1
- package/dist/_types/gen/users/queryOptions.gen.d.ts +17 -1
- package/dist/{chunk-T3O56NBF.js → chunk-VHBBS4OY.js} +116 -2
- package/dist/{chunk-T3O56NBF.js.map → chunk-VHBBS4OY.js.map} +1 -1
- package/dist/index.cjs +122 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/playground/index.cjs.map +1 -1
- package/dist/playground/index.js +1 -1
- package/dist/users/index.cjs +20 -0
- package/dist/users/index.cjs.map +1 -1
- package/dist/users/index.js +17 -1
- package/dist/users/index.js.map +1 -1
- package/package.json +2 -2
- package/src/gen/bindings.gen.ts +114 -0
- package/src/gen/client.gen.ts +14 -0
- package/src/gen/manifest.gen.ts +8 -0
- package/src/gen/types.gen.ts +285 -0
- package/src/gen/users/index.ts +1 -1
- package/src/gen/users/queryOptions.gen.ts +25 -0
package/src/gen/types.gen.ts
CHANGED
|
@@ -117759,6 +117759,251 @@ createdInWindow: number
|
|
|
117759
117759
|
}
|
|
117760
117760
|
}
|
|
117761
117761
|
|
|
117762
|
+
export interface UsersTouchesCreateInput {
|
|
117763
|
+
/**
|
|
117764
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
117765
|
+
*/
|
|
117766
|
+
body: string
|
|
117767
|
+
/**
|
|
117768
|
+
* The end user this interaction was with.
|
|
117769
|
+
*/
|
|
117770
|
+
userId: string
|
|
117771
|
+
/**
|
|
117772
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
117773
|
+
*/
|
|
117774
|
+
channel: ("message" | "call" | "meeting" | "note" | "email")
|
|
117775
|
+
/**
|
|
117776
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
117777
|
+
*/
|
|
117778
|
+
direction: ("outbound" | "inbound" | "none")
|
|
117779
|
+
/**
|
|
117780
|
+
* When it happened (ISO 8601). Omit to mean now — pass it when logging after the fact, which may be any time in the past.
|
|
117781
|
+
*/
|
|
117782
|
+
occurredAt?: string
|
|
117783
|
+
}
|
|
117784
|
+
|
|
117785
|
+
export interface UsersTouchesCreateOutput {
|
|
117786
|
+
/**
|
|
117787
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
117788
|
+
*/
|
|
117789
|
+
id: string
|
|
117790
|
+
/**
|
|
117791
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
117792
|
+
*/
|
|
117793
|
+
body: string
|
|
117794
|
+
/**
|
|
117795
|
+
* The end user this interaction was with.
|
|
117796
|
+
*/
|
|
117797
|
+
userId: string
|
|
117798
|
+
/**
|
|
117799
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
117800
|
+
*/
|
|
117801
|
+
actorId: string
|
|
117802
|
+
/**
|
|
117803
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
117804
|
+
*/
|
|
117805
|
+
channel: ("message" | "call" | "meeting" | "note" | "email")
|
|
117806
|
+
/**
|
|
117807
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
117808
|
+
*/
|
|
117809
|
+
actorType: ("operator" | "agent")
|
|
117810
|
+
/**
|
|
117811
|
+
* When the touch was logged (ISO 8601).
|
|
117812
|
+
*/
|
|
117813
|
+
createdAt: string
|
|
117814
|
+
/**
|
|
117815
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
117816
|
+
*/
|
|
117817
|
+
direction: ("outbound" | "inbound" | "none")
|
|
117818
|
+
/**
|
|
117819
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
117820
|
+
*/
|
|
117821
|
+
productId: string
|
|
117822
|
+
/**
|
|
117823
|
+
* When the touch was last edited (ISO 8601).
|
|
117824
|
+
*/
|
|
117825
|
+
updatedAt: string
|
|
117826
|
+
/**
|
|
117827
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
117828
|
+
*/
|
|
117829
|
+
occurredAt: string
|
|
117830
|
+
}
|
|
117831
|
+
|
|
117832
|
+
export interface UsersTouchesDeleteInput {
|
|
117833
|
+
/**
|
|
117834
|
+
* Act on a touch somebody else logged. Without it a touch you did not author answers 404, exactly as a touch that does not exist does — the refusal must not tell you the row is there. Every forced call is recorded in the audit trail.
|
|
117835
|
+
*/
|
|
117836
|
+
force?: boolean
|
|
117837
|
+
/**
|
|
117838
|
+
* The end user the touch belongs to.
|
|
117839
|
+
*/
|
|
117840
|
+
userId: string
|
|
117841
|
+
/**
|
|
117842
|
+
* The touch to delete, from users_touches_list.
|
|
117843
|
+
*/
|
|
117844
|
+
touchId: string
|
|
117845
|
+
}
|
|
117846
|
+
|
|
117847
|
+
export interface UsersTouchesDeleteOutput {
|
|
117848
|
+
/**
|
|
117849
|
+
* Id of the touch that was deleted.
|
|
117850
|
+
*/
|
|
117851
|
+
id: string
|
|
117852
|
+
/**
|
|
117853
|
+
* The end user it belonged to.
|
|
117854
|
+
*/
|
|
117855
|
+
userId: string
|
|
117856
|
+
/**
|
|
117857
|
+
* Always true — a failure answers 404 instead.
|
|
117858
|
+
*/
|
|
117859
|
+
deleted: true
|
|
117860
|
+
}
|
|
117861
|
+
|
|
117862
|
+
export interface UsersTouchesListInput {
|
|
117863
|
+
/**
|
|
117864
|
+
* Page size, 1-100. Default 50.
|
|
117865
|
+
*/
|
|
117866
|
+
limit?: number
|
|
117867
|
+
/**
|
|
117868
|
+
* Opaque cursor from a previous response's `nextCursor`. Omit for the first page.
|
|
117869
|
+
*/
|
|
117870
|
+
cursor?: string
|
|
117871
|
+
/**
|
|
117872
|
+
* The end user whose touches to list.
|
|
117873
|
+
*/
|
|
117874
|
+
userId: string
|
|
117875
|
+
/**
|
|
117876
|
+
* Only touches on this channel. Omit for all of them.
|
|
117877
|
+
*/
|
|
117878
|
+
channel?: ("message" | "call" | "meeting" | "note" | "email")
|
|
117879
|
+
}
|
|
117880
|
+
|
|
117881
|
+
export interface UsersTouchesListOutput {
|
|
117882
|
+
/**
|
|
117883
|
+
* The page of touches, newest first.
|
|
117884
|
+
*/
|
|
117885
|
+
items: {
|
|
117886
|
+
/**
|
|
117887
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
117888
|
+
*/
|
|
117889
|
+
id: string
|
|
117890
|
+
/**
|
|
117891
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
117892
|
+
*/
|
|
117893
|
+
body: string
|
|
117894
|
+
/**
|
|
117895
|
+
* The end user this interaction was with.
|
|
117896
|
+
*/
|
|
117897
|
+
userId: string
|
|
117898
|
+
/**
|
|
117899
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
117900
|
+
*/
|
|
117901
|
+
actorId: string
|
|
117902
|
+
/**
|
|
117903
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
117904
|
+
*/
|
|
117905
|
+
channel: ("message" | "call" | "meeting" | "note" | "email")
|
|
117906
|
+
/**
|
|
117907
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
117908
|
+
*/
|
|
117909
|
+
actorType: ("operator" | "agent")
|
|
117910
|
+
/**
|
|
117911
|
+
* When the touch was logged (ISO 8601).
|
|
117912
|
+
*/
|
|
117913
|
+
createdAt: string
|
|
117914
|
+
/**
|
|
117915
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
117916
|
+
*/
|
|
117917
|
+
direction: ("outbound" | "inbound" | "none")
|
|
117918
|
+
/**
|
|
117919
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
117920
|
+
*/
|
|
117921
|
+
productId: string
|
|
117922
|
+
/**
|
|
117923
|
+
* When the touch was last edited (ISO 8601).
|
|
117924
|
+
*/
|
|
117925
|
+
updatedAt: string
|
|
117926
|
+
/**
|
|
117927
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
117928
|
+
*/
|
|
117929
|
+
occurredAt: string
|
|
117930
|
+
}[]
|
|
117931
|
+
/**
|
|
117932
|
+
* Pass as `cursor` for the next page. Null when this was the last one.
|
|
117933
|
+
*/
|
|
117934
|
+
nextCursor: (string | null)
|
|
117935
|
+
}
|
|
117936
|
+
|
|
117937
|
+
export interface UsersTouchesUpdateInput {
|
|
117938
|
+
/**
|
|
117939
|
+
* Replacement text, 1-8192 characters. Omit to leave it unchanged.
|
|
117940
|
+
*/
|
|
117941
|
+
body?: string
|
|
117942
|
+
/**
|
|
117943
|
+
* Act on a touch somebody else logged. Without it a touch you did not author answers 404, exactly as a touch that does not exist does — the refusal must not tell you the row is there. Every forced call is recorded in the audit trail.
|
|
117944
|
+
*/
|
|
117945
|
+
force?: boolean
|
|
117946
|
+
/**
|
|
117947
|
+
* The end user the touch belongs to.
|
|
117948
|
+
*/
|
|
117949
|
+
userId: string
|
|
117950
|
+
/**
|
|
117951
|
+
* The touch to edit, from users_touches_list.
|
|
117952
|
+
*/
|
|
117953
|
+
touchId: string
|
|
117954
|
+
/**
|
|
117955
|
+
* Correct when it happened (ISO 8601). Omit to leave it unchanged.
|
|
117956
|
+
*/
|
|
117957
|
+
occurredAt?: string
|
|
117958
|
+
}
|
|
117959
|
+
|
|
117960
|
+
export interface UsersTouchesUpdateOutput {
|
|
117961
|
+
/**
|
|
117962
|
+
* Id of this touch. Pass it to users_touches_update or _delete.
|
|
117963
|
+
*/
|
|
117964
|
+
id: string
|
|
117965
|
+
/**
|
|
117966
|
+
* What was said or done, free text, 1-8192 characters. Personal data: it is whatever an operator typed about this person.
|
|
117967
|
+
*/
|
|
117968
|
+
body: string
|
|
117969
|
+
/**
|
|
117970
|
+
* The end user this interaction was with.
|
|
117971
|
+
*/
|
|
117972
|
+
userId: string
|
|
117973
|
+
/**
|
|
117974
|
+
* Id of the operator or agent that logged it, verbatim.
|
|
117975
|
+
*/
|
|
117976
|
+
actorId: string
|
|
117977
|
+
/**
|
|
117978
|
+
* How the person was touched: 'message', 'call', 'meeting', 'note' (an internal observation nobody sent) or 'email' sent OUTSIDE the platform. Email this toolkit sent is not logged here — read those from the mail toolkit.
|
|
117979
|
+
*/
|
|
117980
|
+
channel: ("message" | "call" | "meeting" | "note" | "email")
|
|
117981
|
+
/**
|
|
117982
|
+
* Who logged it: 'operator' (a human) or 'agent' (a workflow or agent principal).
|
|
117983
|
+
*/
|
|
117984
|
+
actorType: ("operator" | "agent")
|
|
117985
|
+
/**
|
|
117986
|
+
* When the touch was logged (ISO 8601).
|
|
117987
|
+
*/
|
|
117988
|
+
createdAt: string
|
|
117989
|
+
/**
|
|
117990
|
+
* Which way it went: 'outbound' (you reached them), 'inbound' (they reached you) or 'none'. A 'note' or a 'meeting' must be 'none'.
|
|
117991
|
+
*/
|
|
117992
|
+
direction: ("outbound" | "inbound" | "none")
|
|
117993
|
+
/**
|
|
117994
|
+
* Product this touch belongs to. Never an input — it comes from the calling identity.
|
|
117995
|
+
*/
|
|
117996
|
+
productId: string
|
|
117997
|
+
/**
|
|
117998
|
+
* When the touch was last edited (ISO 8601).
|
|
117999
|
+
*/
|
|
118000
|
+
updatedAt: string
|
|
118001
|
+
/**
|
|
118002
|
+
* When the interaction happened (ISO 8601) — not when it was logged.
|
|
118003
|
+
*/
|
|
118004
|
+
occurredAt: string
|
|
118005
|
+
}
|
|
118006
|
+
|
|
117762
118007
|
export interface UsersUsersBanInput {
|
|
117763
118008
|
/**
|
|
117764
118009
|
* The opaque user id returned by users_users_create or _list.
|
|
@@ -117856,6 +118101,10 @@ valueCanonical: string
|
|
|
117856
118101
|
*/
|
|
117857
118102
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
117858
118103
|
}[]
|
|
118104
|
+
/**
|
|
118105
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
118106
|
+
*/
|
|
118107
|
+
lastTouchAt: (string | null)
|
|
117859
118108
|
/**
|
|
117860
118109
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
117861
118110
|
*/
|
|
@@ -118106,6 +118355,10 @@ valueCanonical: string
|
|
|
118106
118355
|
*/
|
|
118107
118356
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
118108
118357
|
}[]
|
|
118358
|
+
/**
|
|
118359
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
118360
|
+
*/
|
|
118361
|
+
lastTouchAt: (string | null)
|
|
118109
118362
|
/**
|
|
118110
118363
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
118111
118364
|
*/
|
|
@@ -118251,6 +118504,10 @@ valueCanonical: string
|
|
|
118251
118504
|
*/
|
|
118252
118505
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
118253
118506
|
}[]
|
|
118507
|
+
/**
|
|
118508
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
118509
|
+
*/
|
|
118510
|
+
lastTouchAt: (string | null)
|
|
118254
118511
|
/**
|
|
118255
118512
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
118256
118513
|
*/
|
|
@@ -118422,6 +118679,10 @@ valueCanonical: string
|
|
|
118422
118679
|
*/
|
|
118423
118680
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
118424
118681
|
}[]
|
|
118682
|
+
/**
|
|
118683
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
118684
|
+
*/
|
|
118685
|
+
lastTouchAt: (string | null)
|
|
118425
118686
|
/**
|
|
118426
118687
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
118427
118688
|
*/
|
|
@@ -118570,6 +118831,10 @@ valueCanonical: string
|
|
|
118570
118831
|
*/
|
|
118571
118832
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
118572
118833
|
}[]
|
|
118834
|
+
/**
|
|
118835
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
118836
|
+
*/
|
|
118837
|
+
lastTouchAt: (string | null)
|
|
118573
118838
|
/**
|
|
118574
118839
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
118575
118840
|
*/
|
|
@@ -118747,10 +119012,18 @@ status?: ("active" | "banned" | "waitlisted")
|
|
|
118747
119012
|
* Include soft-deleted users. Default false — deleted users are hidden.
|
|
118748
119013
|
*/
|
|
118749
119014
|
includeDeleted?: boolean
|
|
119015
|
+
/**
|
|
119016
|
+
* Only people whose most recent logged interaction happened at or after this instant (ISO 8601). People never touched are EXCLUDED by this filter — list without it to see everyone.
|
|
119017
|
+
*/
|
|
119018
|
+
lastTouchAfter?: string
|
|
118750
119019
|
/**
|
|
118751
119020
|
* Include CONTACTS. Default false: a contact has no credential and has never signed in, so it is not part of the directory an operator browses — the same rule waitlist signups and test users follow. Use `kind: "contact"` to see only them.
|
|
118752
119021
|
*/
|
|
118753
119022
|
includeContacts?: boolean
|
|
119023
|
+
/**
|
|
119024
|
+
* Only people whose most recent logged interaction happened before this instant (ISO 8601) — the "gone quiet" list. People never touched are EXCLUDED rather than treated as infinitely stale; list without this filter to see everyone.
|
|
119025
|
+
*/
|
|
119026
|
+
lastTouchBefore?: string
|
|
118754
119027
|
/**
|
|
118755
119028
|
* Include TEST USERS. Default false: a test user is a fixture, not a customer — it is excluded from metering and from this listing for the same reason. Ask for it explicitly when you are debugging the fixtures themselves.
|
|
118756
119029
|
*/
|
|
@@ -118855,6 +119128,10 @@ valueCanonical: string
|
|
|
118855
119128
|
*/
|
|
118856
119129
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
118857
119130
|
}[]
|
|
119131
|
+
/**
|
|
119132
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
119133
|
+
*/
|
|
119134
|
+
lastTouchAt: (string | null)
|
|
118858
119135
|
/**
|
|
118859
119136
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
118860
119137
|
*/
|
|
@@ -119031,6 +119308,10 @@ valueCanonical: string
|
|
|
119031
119308
|
*/
|
|
119032
119309
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
119033
119310
|
}[]
|
|
119311
|
+
/**
|
|
119312
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
119313
|
+
*/
|
|
119314
|
+
lastTouchAt: (string | null)
|
|
119034
119315
|
/**
|
|
119035
119316
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
119036
119317
|
*/
|
|
@@ -119224,6 +119505,10 @@ valueCanonical: string
|
|
|
119224
119505
|
*/
|
|
119225
119506
|
verificationStatus: ("unverified" | "verified" | "expired")
|
|
119226
119507
|
}[]
|
|
119508
|
+
/**
|
|
119509
|
+
* When this person was last touched — the most recent logged interaction (ISO 8601). Null when nobody has logged one. This is when the interaction HAPPENED, not when it was logged.
|
|
119510
|
+
*/
|
|
119511
|
+
lastTouchAt: (string | null)
|
|
119227
119512
|
/**
|
|
119228
119513
|
* When a failed-attempt lockout expires (ISO 8601). Null when the user is not locked out.
|
|
119229
119514
|
*/
|
package/src/gen/users/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// AUTOGENERATED by scripts/generate.ts — do not edit.
|
|
2
2
|
export * from './queryOptions.gen';
|
|
3
|
-
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
|
|
3
|
+
export type { UsersApikeysCreateInput, UsersApikeysCreateOutput, UsersApikeysGetInput, UsersApikeysGetOutput, UsersApikeysListInput, UsersApikeysListOutput, UsersApikeysRevokeInput, UsersApikeysRevokeOutput, UsersAuditListInput, UsersAuditListOutput, UsersConfigGetInput, UsersConfigGetOutput, UsersConfigUpsertInput, UsersConfigUpsertOutput, UsersFactorsListInput, UsersFactorsListOutput, UsersFactorsResetInput, UsersFactorsResetOutput, UsersKeysListInput, UsersKeysListOutput, UsersKeysRevokeInput, UsersKeysRevokeOutput, UsersKeysRotateInput, UsersKeysRotateOutput, UsersOpsRetentionGetInput, UsersOpsRetentionGetOutput, UsersOpsSloGetInput, UsersOpsSloGetOutput, UsersPasskeysGetInput, UsersPasskeysGetOutput, UsersPasskeysListInput, UsersPasskeysListOutput, UsersPasskeysRevokeInput, UsersPasskeysRevokeOutput, UsersSessionsGetInput, UsersSessionsGetOutput, UsersSessionsImpersonateInput, UsersSessionsImpersonateOutput, UsersSessionsListInput, UsersSessionsListOutput, UsersSessionsRevokeInput, UsersSessionsRevokeOutput, UsersStatsGetInput, UsersStatsGetOutput, UsersTouchesCreateInput, UsersTouchesCreateOutput, UsersTouchesDeleteInput, UsersTouchesDeleteOutput, UsersTouchesListInput, UsersTouchesListOutput, UsersTouchesUpdateInput, UsersTouchesUpdateOutput, UsersUsersBanInput, UsersUsersBanOutput, UsersUsersCreateInput, UsersUsersCreateOutput, UsersUsersDeleteInput, UsersUsersDeleteOutput, UsersUsersExportInput, UsersUsersExportOutput, UsersUsersGetInput, UsersUsersGetOutput, UsersUsersImportInput, UsersUsersImportOutput, UsersUsersInviteInput, UsersUsersInviteOutput, UsersUsersListInput, UsersUsersListOutput, UsersUsersSetPrimaryIdentifierInput, UsersUsersSetPrimaryIdentifierOutput, UsersUsersUnbanInput, UsersUsersUnbanOutput, UsersUsersUpdateInput, UsersUsersUpdateOutput, UsersWaitlistFunnelInput, UsersWaitlistFunnelOutput, UsersWaitlistGetInput, UsersWaitlistGetOutput, UsersWaitlistImportInput, UsersWaitlistImportOutput, UsersWaitlistInviteInput, UsersWaitlistInviteOutput, UsersWaitlistListInput, UsersWaitlistListOutput, UsersWebhooksCreateInput, UsersWebhooksCreateOutput, UsersWebhooksDeleteInput, UsersWebhooksDeleteOutput, UsersWebhooksDeliveriesListInput, UsersWebhooksDeliveriesListOutput, UsersWebhooksGetInput, UsersWebhooksGetOutput, UsersWebhooksListInput, UsersWebhooksListOutput, UsersWebhooksRotateSecretInput, UsersWebhooksRotateSecretOutput, UsersWebhooksUpdateInput, UsersWebhooksUpdateOutput } from '../types.gen';
|
|
@@ -36,6 +36,11 @@ import type {
|
|
|
36
36
|
UsersSessionsRevokeInput,
|
|
37
37
|
UsersStatsGetInput,
|
|
38
38
|
UsersStatsGetOutput,
|
|
39
|
+
UsersTouchesCreateInput,
|
|
40
|
+
UsersTouchesDeleteInput,
|
|
41
|
+
UsersTouchesListInput,
|
|
42
|
+
UsersTouchesListOutput,
|
|
43
|
+
UsersTouchesUpdateInput,
|
|
39
44
|
UsersUsersBanInput,
|
|
40
45
|
UsersUsersCreateInput,
|
|
41
46
|
UsersUsersDeleteInput,
|
|
@@ -179,6 +184,26 @@ export const usersStatsGetQueryOptions = (sdk: GeneratedClient, input: UsersStat
|
|
|
179
184
|
queryFn: () => sdk['users']['stats']['get'](input),
|
|
180
185
|
});
|
|
181
186
|
|
|
187
|
+
export const usersTouchesCreateMutationOptions = (sdk: GeneratedClient) => ({
|
|
188
|
+
mutationKey: ['users', 'touches', 'create'],
|
|
189
|
+
mutationFn: (input: UsersTouchesCreateInput) => sdk['users']['touches']['create'](input),
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
export const usersTouchesDeleteMutationOptions = (sdk: GeneratedClient) => ({
|
|
193
|
+
mutationKey: ['users', 'touches', 'delete'],
|
|
194
|
+
mutationFn: (input: UsersTouchesDeleteInput) => sdk['users']['touches']['delete'](input),
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
export const usersTouchesListQueryOptions = (sdk: GeneratedClient, input: UsersTouchesListInput) => ({
|
|
198
|
+
queryKey: ['users', 'touches', 'list', input] as const,
|
|
199
|
+
queryFn: () => sdk['users']['touches']['list'](input),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
export const usersTouchesUpdateMutationOptions = (sdk: GeneratedClient) => ({
|
|
203
|
+
mutationKey: ['users', 'touches', 'update'],
|
|
204
|
+
mutationFn: (input: UsersTouchesUpdateInput) => sdk['users']['touches']['update'](input),
|
|
205
|
+
});
|
|
206
|
+
|
|
182
207
|
export const usersUsersBanMutationOptions = (sdk: GeneratedClient) => ({
|
|
183
208
|
mutationKey: ['users', 'users', 'ban'],
|
|
184
209
|
mutationFn: (input: UsersUsersBanInput) => sdk['users']['users']['ban'](input),
|