@fabriktor/fx 0.0.35 → 0.0.37

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/src/fx.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { BillableOperator, CallsOperator, ChatOperator, ConnectionsOperator, ContactsOperator, FeedOperator, JobsOperator, MarketplaceOperator, NotificationsOperator, PaymentsOperator, PayrollsOperator, PreferencesOperator, PrivacyOperator, RoutesOperator, StorageOperator, TimesheetsOperator, TmpPhonesOperator, TmpUsernamesOperator, UsersOperator } from "@fabriktor/client";
1
+ import type { BillableOperator, CallsOperator, ChatOperator, ConnectionsOperator, ContactsOperator, FeedOperator, JobsOperator, MarketplaceOperator, MemosOperator, NotificationsOperator, PaymentsOperator, PayrollsOperator, PreferencesOperator, PrivacyOperator, RoutesOperator, StorageOperator, TimesheetsOperator, TmpPhonesOperator, TmpUsernamesOperator, UsersOperator } from "@fabriktor/client";
2
2
  import type { AuthOperator } from "./auth/auth.js";
3
3
  import type { BillableFX, BillableFXOperator } from "./billable/billable.js";
4
4
  import type { CallsFX, CallsFXOperator } from "./calls/calls.js";
@@ -7,6 +7,7 @@ import type { ContactsFX, ContactsFXOperator } from "./contacts/contacts.js";
7
7
  import type { FeedFX, FeedFXOperator } from "./feed/feed.js";
8
8
  import type { JobsFX, JobsFXOperator } from "./jobs/jobs.js";
9
9
  import type { MarketplaceFX, MarketplaceFXOperator } from "./marketplace/marketplace.js";
10
+ import type { MemosFX, MemosFXOperator } from "./memos/memos.js";
10
11
  import type { DeviceTokenProvider, NotificationsFX, NotificationsFXOperator } from "./notifications/notifications.js";
11
12
  import type { PaymentsFX, PaymentsFXOperator } from "./payments/payments.js";
12
13
  import type { PayrollsFX, PayrollsFXOperator } from "./payrolls/payrolls.js";
@@ -27,6 +28,7 @@ export type FXOptions = {
27
28
  feed: FeedOperator;
28
29
  jobs: JobsOperator;
29
30
  marketplace: MarketplaceOperator;
31
+ memos: MemosOperator;
30
32
  notifications: NotificationsOperator;
31
33
  payments: PaymentsOperator;
32
34
  payrolls: PayrollsOperator;
@@ -57,6 +59,7 @@ export interface FXOperator {
57
59
  feed: FeedFXOperator;
58
60
  jobs: JobsFXOperator;
59
61
  marketplace: MarketplaceFXOperator;
62
+ memos: MemosFXOperator;
60
63
  notifications: NotificationsFXOperator;
61
64
  payments: PaymentsFXOperator;
62
65
  payrolls: PayrollsFXOperator;
@@ -76,6 +79,7 @@ export declare class FX implements FXOperator {
76
79
  feed: FeedFX;
77
80
  jobs: JobsFX;
78
81
  marketplace: MarketplaceFX;
82
+ memos: MemosFX;
79
83
  notifications: NotificationsFX;
80
84
  payments: PaymentsFX;
81
85
  payrolls: PayrollsFX;
package/dist/src/fx.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // Licensed under the Apache License, Version 2.0 (the "License"); you may
4
4
  // not use this file except in compliance with the License. You may obtain
5
5
  // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
- import { newBillableClient, newCallsClient, newChatClient, newConnectionsClient, newContactsClient, newFeedClient, newHTTPClient, newJobsClient, newMarketplaceClient, newNotificationsClient, newPaymentsClient, newPayrollsClient, newPreferencesClient, newPrivacyClient, newRoutesClient, newStorageClient, newTimesheetsClient, newTmpPhonesClient, newTmpUsernamesClient, newUsersClient, } from "@fabriktor/client";
6
+ import { newBillableClient, newCallsClient, newChatClient, newConnectionsClient, newContactsClient, newFeedClient, newHTTPClient, newJobsClient, newMarketplaceClient, newMemosClient, newNotificationsClient, newPaymentsClient, newPayrollsClient, newPreferencesClient, newPrivacyClient, newRoutesClient, newStorageClient, newTimesheetsClient, newTmpPhonesClient, newTmpUsernamesClient, newUsersClient, } from "@fabriktor/client";
7
7
  import { newBillableFX } from "./billable/billable.js";
8
8
  import { newCallsFX } from "./calls/calls.js";
9
9
  import { newChatFX } from "./chat/chat.js";
@@ -11,6 +11,7 @@ import { newContactsFX } from "./contacts/contacts.js";
11
11
  import { newFeedFX } from "./feed/feed.js";
12
12
  import { newJobsFX } from "./jobs/jobs.js";
13
13
  import { newMarketplaceFX } from "./marketplace/marketplace.js";
14
+ import { newMemosFX } from "./memos/memos.js";
14
15
  import { newNotificationsFX } from "./notifications/notifications.js";
15
16
  import { newPaymentsFX } from "./payments/payments.js";
16
17
  import { newPayrollsFX } from "./payrolls/payrolls.js";
@@ -29,6 +30,7 @@ export class FX {
29
30
  feed;
30
31
  jobs;
31
32
  marketplace;
33
+ memos;
32
34
  notifications;
33
35
  payments;
34
36
  payrolls;
@@ -56,6 +58,9 @@ export class FX {
56
58
  this.jobs = newJobsFX({
57
59
  jobs: opts.jobs,
58
60
  });
61
+ this.memos = newMemosFX({
62
+ memos: opts.memos,
63
+ });
59
64
  this.notifications = newNotificationsFX({
60
65
  notifications: opts.notifications,
61
66
  get_device_token: opts.get_device_token,
@@ -151,6 +156,11 @@ export function newDefaultFX(opts) {
151
156
  base_url: opts.base_url,
152
157
  get_token,
153
158
  }),
159
+ memos: newMemosClient({
160
+ http,
161
+ base_url: opts.base_url,
162
+ get_token,
163
+ }),
154
164
  notifications: newNotificationsClient({
155
165
  http,
156
166
  base_url: opts.base_url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabriktor/fx",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "![Fabriktor Logo](./img/fabriktor-character.gif)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -17,7 +17,7 @@
17
17
  "typescript": "^6.0.3"
18
18
  },
19
19
  "dependencies": {
20
- "@fabriktor/client": "0.0.42",
20
+ "@fabriktor/client": "0.0.43",
21
21
  "@fabriktor/schema": "0.0.31"
22
22
  }
23
23
  }