@periskope/types 0.6.433 → 0.6.435

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.
@@ -0,0 +1,14 @@
1
+ export type PeriskopePlanInvoice = {
2
+ lines: {
3
+ data: {
4
+ id: string;
5
+ description: string;
6
+ amount: number;
7
+ }[];
8
+ };
9
+ total: number;
10
+ starting_balance: number;
11
+ ending_balance: number;
12
+ amount_due: number;
13
+ };
14
+ //# sourceMappingURL=billing.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billing.types.d.ts","sourceRoot":"","sources":["../src/billing.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,EAAE,EAAE,MAAM,CAAC;YACX,WAAW,EAAE,MAAM,CAAC;YACpB,MAAM,EAAE,MAAM,CAAA;SACf,EAAE,CAAC;KACL,CAAA;IACD,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAA"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2952,6 +2952,48 @@ export type Database = {
2952
2952
  }
2953
2953
  ];
2954
2954
  };
2955
+ tbl_team_messages: {
2956
+ Row: {
2957
+ ack: string | null;
2958
+ body: string | null;
2959
+ is_deleted: boolean | null;
2960
+ media: Json | null;
2961
+ mentioned_ids: string[] | null;
2962
+ message_id: string;
2963
+ message_type: string | null;
2964
+ org_id: string;
2965
+ performed_by: string;
2966
+ quoted_message_id: string | null;
2967
+ timestamp: string;
2968
+ };
2969
+ Insert: {
2970
+ ack?: string | null;
2971
+ body?: string | null;
2972
+ is_deleted?: boolean | null;
2973
+ media?: Json | null;
2974
+ mentioned_ids?: string[] | null;
2975
+ message_id: string;
2976
+ message_type?: string | null;
2977
+ org_id: string;
2978
+ performed_by: string;
2979
+ quoted_message_id?: string | null;
2980
+ timestamp?: string;
2981
+ };
2982
+ Update: {
2983
+ ack?: string | null;
2984
+ body?: string | null;
2985
+ is_deleted?: boolean | null;
2986
+ media?: Json | null;
2987
+ mentioned_ids?: string[] | null;
2988
+ message_id?: string;
2989
+ message_type?: string | null;
2990
+ org_id?: string;
2991
+ performed_by?: string;
2992
+ quoted_message_id?: string | null;
2993
+ timestamp?: string;
2994
+ };
2995
+ Relationships: [];
2996
+ };
2955
2997
  tbl_ticket_audit_logs: {
2956
2998
  Row: {
2957
2999
  action: string | null;
@@ -3513,12 +3555,6 @@ export type Database = {
3513
3555
  };
3514
3556
  Returns: Json;
3515
3557
  };
3516
- get_integration_data: {
3517
- Args: {
3518
- org_id_input?: string;
3519
- };
3520
- Returns: Json;
3521
- };
3522
3558
  get_message_rule_info: {
3523
3559
  Args: {
3524
3560
  chat_id_input: string;
@@ -3529,6 +3565,28 @@ export type Database = {
3529
3565
  };
3530
3566
  Returns: Json;
3531
3567
  };
3568
+ get_integration_data: {
3569
+ Args: {
3570
+ org_id_input?: string;
3571
+ };
3572
+ Returns: Json;
3573
+ };
3574
+ get_media_library: {
3575
+ Args: {
3576
+ org_id_input: string;
3577
+ type_input: string;
3578
+ search_query?: string;
3579
+ limit_input?: number;
3580
+ offset_input?: number;
3581
+ };
3582
+ Returns: {
3583
+ id: string;
3584
+ name: string;
3585
+ created_at: string;
3586
+ updated_at: string;
3587
+ metadata: Json;
3588
+ }[];
3589
+ };
3532
3590
  get_message_workflow_info: {
3533
3591
  Args: {
3534
3592
  chat_id_input: string;