@hubs101/js-api-skd-client 1.0.10485 → 1.0.10487

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.
@@ -131,4 +131,4 @@ export declare const _deleteMediaDirectoryFiles: (basePath: string, token: strin
131
131
  export declare const _addMediaFolder: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
132
132
  export declare const _updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data: {
133
133
  website_content: Record<string, string | boolean | File>[];
134
- }, files?: any) => Promise<Record<string, string>[]>;
134
+ }, files?: any) => Promise<EventServerResponse>;
@@ -1,13 +1,13 @@
1
1
  import { ActionCategory, ActionName, ActionResourceName, ObjectValue } from "../api/types";
2
2
  export declare const BASE_API_URL = "BASE_API_URL";
3
3
  export declare const PRODUCTION_URL_UNAUTHORIZED = "https://api.hubs101.com";
4
- export declare const STAGING_URL_UNAUTHORIZED = "https://stag-api.hubs101.com";
4
+ export declare const STAGING_URL_UNAUTHORIZED = "https://api-staging.hubs101.com";
5
5
  export declare const WEB_APP_STAGE = "https://staging.hubs101.com";
6
6
  export declare const WEB_APP_PROD = "https://app.hubs101.com";
7
7
  export declare const PRODUCTION_URL = "https://api.hubs101.com/api/v1";
8
- export declare const STAGING_URL = "https://stag-api.hubs101.com/api/v1";
8
+ export declare const STAGING_URL = "https://api-staging.hubs101.com/api/v1";
9
9
  export declare const UNAUTHORIZED_PRODUCTION_URL = "https://api.hubs101.com/v1";
10
- export declare const UNAUTHORIZED_STAGING_URL = "https://stag-api.hubs101.com/v1";
10
+ export declare const UNAUTHORIZED_STAGING_URL = "https://api-staging.hubs101.com/v1";
11
11
  export declare const BASE_PROD_RESOURCE_URL = "https://media.hubs101.com/";
12
12
  export declare const BASE_STAGE_RESOURCE_URL = "https://staging-media.hubs101.com/";
13
13
  export declare const API_PROD_PATH: Readonly<{
@@ -64,60 +64,60 @@ export declare const API_PROD_PATH: Readonly<{
64
64
  PUBLIC_BOOKINGS: "https://api.hubs101.com/v1/bookings";
65
65
  }>;
66
66
  export declare const API_STAGE_PATH: Readonly<{
67
- ACCOUNTS: "https://stag-api.hubs101.com/api/v1/accounts";
68
- ATTENDEES: "https://stag-api.hubs101.com/api/v1/attendees";
67
+ ACCOUNTS: "https://api-staging.hubs101.com/api/v1/accounts";
68
+ ATTENDEES: "https://api-staging.hubs101.com/api/v1/attendees";
69
69
  AUTH: {
70
70
  LOGIN: string;
71
71
  LOGOUT: string;
72
72
  TOKEN_REFRESH: string;
73
73
  RESET_PASSWORD: string;
74
74
  };
75
- CONNECTIONS: "https://stag-api.hubs101.com/api/v1/users/connections";
76
- EVENTS: "https://stag-api.hubs101.com/api/v1/events";
77
- PROFILE: "https://stag-api.hubs101.com/api/v1/users/profile";
78
- USERS: "https://stag-api.hubs101.com/api/v1/users";
79
- SESSIONS: "https://stag-api.hubs101.com/api/v1/sessions";
80
- TRACKS: "https://stag-api.hubs101.com/api/v1/tracks";
81
- EXHIBITIONS: "https://stag-api.hubs101.com/api/v1/exhibitions";
82
- USER_EVENTS: "https://stag-api.hubs101.com/api/v1/users/events";
83
- REGISTER: "https://stag-api.hubs101.com/v1/register";
75
+ CONNECTIONS: "https://api-staging.hubs101.com/api/v1/users/connections";
76
+ EVENTS: "https://api-staging.hubs101.com/api/v1/events";
77
+ PROFILE: "https://api-staging.hubs101.com/api/v1/users/profile";
78
+ USERS: "https://api-staging.hubs101.com/api/v1/users";
79
+ SESSIONS: "https://api-staging.hubs101.com/api/v1/sessions";
80
+ TRACKS: "https://api-staging.hubs101.com/api/v1/tracks";
81
+ EXHIBITIONS: "https://api-staging.hubs101.com/api/v1/exhibitions";
82
+ USER_EVENTS: "https://api-staging.hubs101.com/api/v1/users/events";
83
+ REGISTER: "https://api-staging.hubs101.com/v1/register";
84
84
  ZOOM: {
85
85
  SIGNATURE: string;
86
86
  };
87
- MEETINGS_USERS_API_KEY: "https://stag-api.hubs101.com/api/v1/users/meetings";
88
- LOCATION_API_KEY: "https://stag-api.hubs101.com/api/v1/locations";
89
- MEETINGS_API_KEY: "https://stag-api.hubs101.com/api/v1/meetings";
90
- POSTS: "https://stag-api.hubs101.com/api/v1/posts";
91
- LINKEDIN_IMPORT_PROFILE: "https://stag-api.hubs101.com/api/v1/linkedin/authorization";
92
- ACTIONS_EXHIBITIONS: "https://stag-api.hubs101.com/api/v1/actions/exhibitions";
93
- ACTIONS_ATTENDEES: "https://stag-api.hubs101.com/api/v1/actions/profiles";
94
- YOUTUBE_SDK_API: "https://stag-api.hubs101.com/api/v1/sdk/youtube";
95
- DOCUMENTS: "https://stag-api.hubs101.com/api/v1/documents";
96
- ACTIONS_SESSIONS: "https://stag-api.hubs101.com/api/v1/actions/sessions";
87
+ MEETINGS_USERS_API_KEY: "https://api-staging.hubs101.com/api/v1/users/meetings";
88
+ LOCATION_API_KEY: "https://api-staging.hubs101.com/api/v1/locations";
89
+ MEETINGS_API_KEY: "https://api-staging.hubs101.com/api/v1/meetings";
90
+ POSTS: "https://api-staging.hubs101.com/api/v1/posts";
91
+ LINKEDIN_IMPORT_PROFILE: "https://api-staging.hubs101.com/api/v1/linkedin/authorization";
92
+ ACTIONS_EXHIBITIONS: "https://api-staging.hubs101.com/api/v1/actions/exhibitions";
93
+ ACTIONS_ATTENDEES: "https://api-staging.hubs101.com/api/v1/actions/profiles";
94
+ YOUTUBE_SDK_API: "https://api-staging.hubs101.com/api/v1/sdk/youtube";
95
+ DOCUMENTS: "https://api-staging.hubs101.com/api/v1/documents";
96
+ ACTIONS_SESSIONS: "https://api-staging.hubs101.com/api/v1/actions/sessions";
97
97
  TERMS_URL: "https://hubs101.com/terms-of-use";
98
98
  PRIVACY_URL: "https://hubs101.com/privacy-policy";
99
- VERSIONS: "https://stag-api.hubs101.com/versions";
100
- PASSWORD_ACTIVATION: "https://stag-api.hubs101.com/v1/activation";
99
+ VERSIONS: "https://api-staging.hubs101.com/versions";
100
+ PASSWORD_ACTIVATION: "https://api-staging.hubs101.com/v1/activation";
101
101
  JITSI_RAW: "https://staging.hubs101.com/virtual-meeting-raw";
102
- VIMEO_VIEW: "https://stag-api.hubs101.com/api/v1/sdk/vimeo/mobile";
103
- NOTES: "https://stag-api.hubs101.com/api/v1/users/notes";
104
- MEETINGS_ARRANGE: "https://stag-api.hubs101.com/api/v1/meetings/arrange";
105
- USER_NOTIFICATIONS: "https://stag-api.hubs101.com/api/v1/users/notifications";
106
- NOTIFICATIONS: "https://stag-api.hubs101.com/api/v1/notifications";
107
- GROUPS: "https://stag-api.hubs101.com/api/v1/groups";
108
- OPTIONS: "https://stag-api.hubs101.com/api/v1/options";
109
- TICKETS: "https://stag-api.hubs101.com/api/v1/tickets";
110
- DISCOUNTS: "https://stag-api.hubs101.com/api/v1/discounts";
111
- LOCATIONS: "https://stag-api.hubs101.com/api/v1/locations";
112
- PAGES: "https://stag-api.hubs101.com/api/v1/pages";
113
- PORTFOLIOS: "https://stag-api.hubs101.com/api/v1/portfolios";
114
- PAYMENT_ACCOUNTS: "https://stag-api.hubs101.com/api/v1/payment-account";
115
- ACCOUNT_TRIAL: "https://stag-api.hubs101.com/v1/accounts/trial";
116
- INVITATION: "https://stag-api.hubs101.com/v1/invitation";
117
- BOOKINGS: "https://stag-api.hubs101.com/api/v1/bookings";
118
- PUBLIC_BOOKINGS: "https://stag-api.hubs101.com/v1/bookings";
119
- ACTIONS_EVENTS: "https://stag-api.hubs101.com/api/v1/actions/events";
120
- ACTIONS_ATTENDEE: "https://stag-api.hubs101.com/api/v1/actions/attendees";
102
+ VIMEO_VIEW: "https://api-staging.hubs101.com/api/v1/sdk/vimeo/mobile";
103
+ NOTES: "https://api-staging.hubs101.com/api/v1/users/notes";
104
+ MEETINGS_ARRANGE: "https://api-staging.hubs101.com/api/v1/meetings/arrange";
105
+ USER_NOTIFICATIONS: "https://api-staging.hubs101.com/api/v1/users/notifications";
106
+ NOTIFICATIONS: "https://api-staging.hubs101.com/api/v1/notifications";
107
+ GROUPS: "https://api-staging.hubs101.com/api/v1/groups";
108
+ OPTIONS: "https://api-staging.hubs101.com/api/v1/options";
109
+ TICKETS: "https://api-staging.hubs101.com/api/v1/tickets";
110
+ DISCOUNTS: "https://api-staging.hubs101.com/api/v1/discounts";
111
+ LOCATIONS: "https://api-staging.hubs101.com/api/v1/locations";
112
+ PAGES: "https://api-staging.hubs101.com/api/v1/pages";
113
+ PORTFOLIOS: "https://api-staging.hubs101.com/api/v1/portfolios";
114
+ PAYMENT_ACCOUNTS: "https://api-staging.hubs101.com/api/v1/payment-account";
115
+ ACCOUNT_TRIAL: "https://api-staging.hubs101.com/v1/accounts/trial";
116
+ INVITATION: "https://api-staging.hubs101.com/v1/invitation";
117
+ BOOKINGS: "https://api-staging.hubs101.com/api/v1/bookings";
118
+ PUBLIC_BOOKINGS: "https://api-staging.hubs101.com/v1/bookings";
119
+ ACTIONS_EVENTS: "https://api-staging.hubs101.com/api/v1/actions/events";
120
+ ACTIONS_ATTENDEE: "https://api-staging.hubs101.com/api/v1/actions/attendees";
121
121
  }>;
122
122
  export declare const ACTION_NAME: {
123
123
  readonly VIEW: "view";
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sessionActionsDict = exports.SESSION_ACTION = exports.STREAM_TYPES = exports.ACTION_REFERENCE_TYPE = exports.ACTION_RESOURCE_NAME = exports.EXTERNAL_ACTION_RESOURCE_NAME = exports.INTERNAL_ACTION_RESOURCE_NAME = exports.ACTION_CATEGORY = exports.ACTION_NAME = exports.API_STAGE_PATH = exports.API_PROD_PATH = exports.BASE_STAGE_RESOURCE_URL = exports.BASE_PROD_RESOURCE_URL = exports.UNAUTHORIZED_STAGING_URL = exports.UNAUTHORIZED_PRODUCTION_URL = exports.STAGING_URL = exports.PRODUCTION_URL = exports.WEB_APP_PROD = exports.WEB_APP_STAGE = exports.STAGING_URL_UNAUTHORIZED = exports.PRODUCTION_URL_UNAUTHORIZED = exports.BASE_API_URL = void 0;
4
4
  exports.BASE_API_URL = "BASE_API_URL";
5
5
  exports.PRODUCTION_URL_UNAUTHORIZED = "https://api.hubs101.com";
6
- exports.STAGING_URL_UNAUTHORIZED = "https://stag-api.hubs101.com";
6
+ exports.STAGING_URL_UNAUTHORIZED = "https://api-staging.hubs101.com";
7
7
  exports.WEB_APP_STAGE = "https://staging.hubs101.com";
8
8
  exports.WEB_APP_PROD = "https://app.hubs101.com";
9
9
  exports.PRODUCTION_URL = `${exports.PRODUCTION_URL_UNAUTHORIZED}/api/v1`;
@@ -93,7 +93,7 @@ export type BaseAPIType = {
93
93
  addMediaFolder: (basePath: string, token: string, accountId: string, path: string, name: string) => Promise<APIResponse>;
94
94
  updateEventWebsite: (basePath: string, token: string, eventId: string, keyData: string, data: {
95
95
  website_content: Record<string, string | boolean | File>[];
96
- }, files?: any) => Promise<Record<string, string>[]>;
96
+ }, files?: any) => Promise<EventServerResponse>;
97
97
  deleteMediaDirectoryFiles: (basePath: string, token: string, accountId: string, filepath: string) => Promise<APIResponse>;
98
98
  updateAccountGroup: (basePath: string, token: string, accountId: string, groupId: string, data: GroupInputType) => Promise<GroupResponseType>;
99
99
  fetchAccountGroups: (basePath: string, token: string, accountId: string, type: GroupType) => Promise<ResponsePaginationType<GroupResponseType>>;
@@ -347,7 +347,7 @@ export type EventAPIType = {
347
347
  addMediaFolder: (accountId: string, path: string, name: string) => Promise<APIResponse>;
348
348
  updateEventWebsite: (eventId: string, keyData: string, data: {
349
349
  website_content: Record<string, string | boolean | File>[];
350
- }, files?: any) => Promise<Record<string, string>[]>;
350
+ }, files?: any) => Promise<EventServerResponse>;
351
351
  deleteMediaDirectoryFiles: (accountId: string, filepath: string) => Promise<APIResponse>;
352
352
  updateAccountGroup: (accountId: string, groupId: string, data: GroupInputType) => Promise<GroupResponseType>;
353
353
  fetchAccountGroups: (accountId: string, type: GroupType) => Promise<ResponsePaginationType<GroupResponseType>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10485",
3
+ "version": "1.0.10487",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",