@digiteers/uloba3-sdk 3.1.2 → 3.1.4

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/types.d.ts CHANGED
@@ -16863,6 +16863,266 @@ export interface paths {
16863
16863
  patch?: never;
16864
16864
  trace?: never;
16865
16865
  };
16866
+ '/api/invites/teamlead': {
16867
+ parameters: {
16868
+ query?: never;
16869
+ header?: never;
16870
+ path?: never;
16871
+ cookie?: never;
16872
+ };
16873
+ /**
16874
+ * List invites for teamlead
16875
+ * @description Get invites relevant to teamlead role (sent invites)
16876
+ */
16877
+ get: {
16878
+ parameters: {
16879
+ query?: {
16880
+ status?: string;
16881
+ archived?: boolean;
16882
+ page?: number;
16883
+ limit?: number;
16884
+ sort_by?: string;
16885
+ sort_order?: 'asc' | 'desc';
16886
+ };
16887
+ header?: never;
16888
+ path?: never;
16889
+ cookie?: never;
16890
+ };
16891
+ requestBody?: never;
16892
+ responses: {
16893
+ /** @description Default Response */
16894
+ 200: {
16895
+ headers: {
16896
+ [name: string]: unknown;
16897
+ };
16898
+ content: {
16899
+ 'application/json': {
16900
+ data: ({
16901
+ /** Format: uuid */
16902
+ id: string;
16903
+ } & {
16904
+ /** Format: uuid */
16905
+ inviter_id: string;
16906
+ invitee_id: string | null;
16907
+ email: string | null;
16908
+ } & {
16909
+ account_id: string | null;
16910
+ conversation_id: string | null;
16911
+ } & {
16912
+ message: string;
16913
+ } & {
16914
+ status: 'draft' | 'submitted' | 'accepted' | 'declined' | 'cancelled' | 'expired';
16915
+ /** Format: date-time */
16916
+ status_changed_at: string;
16917
+ } & {
16918
+ lifecycle_status: 'operational' | 'archived' | 'anonymized';
16919
+ /** Format: date-time */
16920
+ lifecycle_changed_at: string;
16921
+ } & {
16922
+ submitted_at: string | null;
16923
+ accepted_at: string | null;
16924
+ declined_at: string | null;
16925
+ cancelled_at: string | null;
16926
+ expired_at: string | null;
16927
+ /** Format: date-time */
16928
+ created_at: string;
16929
+ /** Format: date-time */
16930
+ updated_at: string;
16931
+ } & {
16932
+ accepted_message: string | null;
16933
+ declined_message: string | null;
16934
+ cancelled_message: string | null;
16935
+ } & {
16936
+ archived_by_inviter: boolean | null;
16937
+ archived_by_invitee: boolean | null;
16938
+ archived_at_inviter: string | null;
16939
+ archived_at_invitee: string | null;
16940
+ } & {
16941
+ inviter_deleted: boolean | null;
16942
+ inviter_deleted_at: string | null;
16943
+ invitee_deleted: boolean | null;
16944
+ invitee_deleted_at: string | null;
16945
+ })[];
16946
+ metadata: {
16947
+ viewerContext: string;
16948
+ pagination: {
16949
+ page: number;
16950
+ limit: number;
16951
+ total: number;
16952
+ has_more: boolean;
16953
+ };
16954
+ filters?: unknown;
16955
+ };
16956
+ };
16957
+ };
16958
+ };
16959
+ };
16960
+ };
16961
+ put?: never;
16962
+ post?: never;
16963
+ delete?: never;
16964
+ options?: never;
16965
+ head?: never;
16966
+ patch?: never;
16967
+ trace?: never;
16968
+ };
16969
+ '/api/invites/assistant': {
16970
+ parameters: {
16971
+ query?: never;
16972
+ header?: never;
16973
+ path?: never;
16974
+ cookie?: never;
16975
+ };
16976
+ /**
16977
+ * List invites for assistant
16978
+ * @description Get invites relevant to assistant role (received invites)
16979
+ */
16980
+ get: {
16981
+ parameters: {
16982
+ query?: {
16983
+ status?: string;
16984
+ archived?: boolean;
16985
+ page?: number;
16986
+ limit?: number;
16987
+ sort_by?: string;
16988
+ sort_order?: 'asc' | 'desc';
16989
+ };
16990
+ header?: never;
16991
+ path?: never;
16992
+ cookie?: never;
16993
+ };
16994
+ requestBody?: never;
16995
+ responses: {
16996
+ /** @description Default Response */
16997
+ 200: {
16998
+ headers: {
16999
+ [name: string]: unknown;
17000
+ };
17001
+ content: {
17002
+ 'application/json': {
17003
+ data: ({
17004
+ /** Format: uuid */
17005
+ id: string;
17006
+ } & {
17007
+ /** Format: uuid */
17008
+ inviter_id: string;
17009
+ invitee_id: string | null;
17010
+ email: string | null;
17011
+ } & {
17012
+ account_id: string | null;
17013
+ conversation_id: string | null;
17014
+ } & {
17015
+ message: string;
17016
+ } & {
17017
+ status: 'draft' | 'submitted' | 'accepted' | 'declined' | 'cancelled' | 'expired';
17018
+ /** Format: date-time */
17019
+ status_changed_at: string;
17020
+ } & {
17021
+ lifecycle_status: 'operational' | 'archived' | 'anonymized';
17022
+ /** Format: date-time */
17023
+ lifecycle_changed_at: string;
17024
+ } & {
17025
+ submitted_at: string | null;
17026
+ accepted_at: string | null;
17027
+ declined_at: string | null;
17028
+ cancelled_at: string | null;
17029
+ expired_at: string | null;
17030
+ /** Format: date-time */
17031
+ created_at: string;
17032
+ /** Format: date-time */
17033
+ updated_at: string;
17034
+ } & {
17035
+ accepted_message: string | null;
17036
+ declined_message: string | null;
17037
+ cancelled_message: string | null;
17038
+ } & {
17039
+ archived_by_inviter: boolean | null;
17040
+ archived_by_invitee: boolean | null;
17041
+ archived_at_inviter: string | null;
17042
+ archived_at_invitee: string | null;
17043
+ } & {
17044
+ inviter_deleted: boolean | null;
17045
+ inviter_deleted_at: string | null;
17046
+ invitee_deleted: boolean | null;
17047
+ invitee_deleted_at: string | null;
17048
+ })[];
17049
+ metadata: {
17050
+ viewerContext: string;
17051
+ pagination: {
17052
+ page: number;
17053
+ limit: number;
17054
+ total: number;
17055
+ has_more: boolean;
17056
+ };
17057
+ filters?: unknown;
17058
+ };
17059
+ };
17060
+ };
17061
+ };
17062
+ };
17063
+ };
17064
+ put?: never;
17065
+ post?: never;
17066
+ delete?: never;
17067
+ options?: never;
17068
+ head?: never;
17069
+ patch?: never;
17070
+ trace?: never;
17071
+ };
17072
+ '/api/invites/stats': {
17073
+ parameters: {
17074
+ query?: never;
17075
+ header?: never;
17076
+ path?: never;
17077
+ cookie?: never;
17078
+ };
17079
+ /**
17080
+ * Get invite statistics
17081
+ * @description Get statistical overview of invites for the current user
17082
+ */
17083
+ get: {
17084
+ parameters: {
17085
+ query?: {
17086
+ role?: string;
17087
+ };
17088
+ header?: never;
17089
+ path?: never;
17090
+ cookie?: never;
17091
+ };
17092
+ requestBody?: never;
17093
+ responses: {
17094
+ /** @description Default Response */
17095
+ 200: {
17096
+ headers: {
17097
+ [name: string]: unknown;
17098
+ };
17099
+ content: {
17100
+ 'application/json': {
17101
+ totals: {
17102
+ all: number;
17103
+ needsAction: number;
17104
+ };
17105
+ byStatus?: {
17106
+ draft?: number;
17107
+ submitted?: number;
17108
+ accepted?: number;
17109
+ declined?: number;
17110
+ cancelled?: number;
17111
+ expired?: number;
17112
+ };
17113
+ };
17114
+ };
17115
+ };
17116
+ };
17117
+ };
17118
+ put?: never;
17119
+ post?: never;
17120
+ delete?: never;
17121
+ options?: never;
17122
+ head?: never;
17123
+ patch?: never;
17124
+ trace?: never;
17125
+ };
16866
17126
  '/api/invites/sent': {
16867
17127
  parameters: {
16868
17128
  query?: never;