@periskope/types 0.6.92 → 0.6.93

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
@@ -215,6 +215,14 @@ export type ChatParticipantOperation = {
215
215
  export type ChatParticipantOperationPayload = ChatParticipantOperation & {
216
216
  chat_ids: string[];
217
217
  };
218
+ export type ChatOperationReturn = {
219
+ [participant_id: string]: {
220
+ is_success: boolean;
221
+ message?: string;
222
+ code?: number;
223
+ isInviteV4Sent?: boolean;
224
+ };
225
+ };
218
226
  export type StripeSubscription = _Stripe.Subscription;
219
227
  export type StripeCustomer = _Stripe.Customer;
220
228
  export type StripeCoupon = _Stripe.Coupon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.92",
3
+ "version": "0.6.93",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -322,6 +322,15 @@ export type ChatParticipantOperationPayload = ChatParticipantOperation & {
322
322
  chat_ids: string[];
323
323
  };
324
324
 
325
+ export type ChatOperationReturn = {
326
+ [participant_id:string]: {
327
+ is_success: boolean;
328
+ message?: string;
329
+ code?: number;
330
+ isInviteV4Sent?:boolean;
331
+ }
332
+ }
333
+
325
334
  /* ----------------------- BILLING - STRIPE ----------------------- */
326
335
 
327
336
  export type StripeSubscription = _Stripe.Subscription;