zoom-api-js 0.6.2 → 1.0.0

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.mjs ADDED
@@ -0,0 +1,347 @@
1
+ /**
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */ /**
5
+ * @description The number of records returned within a single API call.
6
+ * @maxLength 300
7
+ * @default 30
8
+ * @example 30
9
+ * @type integer | undefined
10
+ */ const fileTypeEnum = {
11
+ MP4: "MP4",
12
+ M4A: "M4A",
13
+ CHAT: "CHAT",
14
+ CC: "CC",
15
+ CHAT_MESSAGE: "CHAT_MESSAGE",
16
+ TRANSCRIPT: "TRANSCRIPT",
17
+ SUB_GROUP_MEMBER_LOG: "SUB_GROUP_MEMBER_LOG",
18
+ AIC_COVERSATION: "AIC_COVERSATION"
19
+ };
20
+ const recordingTypeEnum = {
21
+ shared_screen_with_speaker_view: "shared_screen_with_speaker_view",
22
+ audio_only: "audio_only",
23
+ chat_file: "chat_file",
24
+ closed_caption: "closed_caption",
25
+ chat_message: "chat_message",
26
+ audio_transcript: "audio_transcript",
27
+ aic_conversation: "aic_conversation"
28
+ };
29
+ const statusEnum = {
30
+ completed: "completed",
31
+ processing: "processing"
32
+ };
33
+ const storageLocationEnum = {
34
+ US: "US",
35
+ AU: "AU",
36
+ BR: "BR",
37
+ CA: "CA",
38
+ EU: "EU",
39
+ IN: "IN",
40
+ JP: "JP",
41
+ SG: "SG",
42
+ CH: "CH"
43
+ };
44
+ const meetingTypeEnum = {
45
+ internal: "internal",
46
+ external: "external"
47
+ };
48
+ const typeEnum = {
49
+ "1": 1,
50
+ "2": 2,
51
+ "3": 3,
52
+ "4": 4,
53
+ "5": 5,
54
+ "6": 6,
55
+ "7": 7,
56
+ "8": 8,
57
+ "9": 9,
58
+ "100": 100
59
+ };
60
+ const fileExtensionEnum = {
61
+ MP4: "MP4",
62
+ M4A: "M4A",
63
+ TXT: "TXT",
64
+ VTT: "VTT",
65
+ CSV: "CSV",
66
+ JSON: "JSON",
67
+ JPG: "JPG"
68
+ };
69
+ const noOfEmployeesEnum = {
70
+ "1-20": "1-20",
71
+ "21-50": "21-50",
72
+ "51-100": "51-100",
73
+ "101-250": "101-250",
74
+ "251-500": "251-500",
75
+ "501-1,000": "501-1,000",
76
+ "1,001-5,000": "1,001-5,000",
77
+ "5,001-10,000": "5,001-10,000",
78
+ "More than 10,000": "More than 10,000"
79
+ };
80
+ const purchasingTimeFrameEnum = {
81
+ "Within a month": "Within a month",
82
+ "1-3 months": "1-3 months",
83
+ "4-6 months": "4-6 months",
84
+ "More than 6 months": "More than 6 months",
85
+ "No timeframe": "No timeframe"
86
+ };
87
+ const roleInPurchaseProcessEnum = {
88
+ "Decision Maker": "Decision Maker",
89
+ "Evaluator/Recommender": "Evaluator/Recommender",
90
+ Influencer: "Influencer",
91
+ "Not involved": "Not involved"
92
+ };
93
+ const fieldNameEnum = {
94
+ last_name: "last_name",
95
+ address: "address",
96
+ city: "city",
97
+ country: "country",
98
+ zip: "zip",
99
+ state: "state",
100
+ phone: "phone",
101
+ industry: "industry",
102
+ org: "org",
103
+ job_title: "job_title",
104
+ purchasing_time_frame: "purchasing_time_frame",
105
+ role_in_purchase_process: "role_in_purchase_process",
106
+ no_of_employees: "no_of_employees",
107
+ comments: "comments"
108
+ };
109
+ const actionEnum = {
110
+ approve: "approve",
111
+ deny: "deny"
112
+ };
113
+ const approvalTypeEnum = {
114
+ "0": 0,
115
+ "1": 1,
116
+ "2": 2
117
+ };
118
+ const shareRecordingEnum = {
119
+ publicly: "publicly",
120
+ internally: "internally",
121
+ none: "none"
122
+ };
123
+ const downloadRestrictionReasonEnum = {
124
+ DELETED_OR_TRASHED: "DELETED_OR_TRASHED",
125
+ UNSUPPORTED: "UNSUPPORTED",
126
+ NO_TRANSCRIPT_DATA: "NO_TRANSCRIPT_DATA",
127
+ NOT_READY: "NOT_READY"
128
+ };
129
+ const deviceTypeEnum = {
130
+ "0": 0,
131
+ "1": 1,
132
+ "2": 2,
133
+ "3": 3,
134
+ "4": 4,
135
+ "5": 5,
136
+ "6": 6
137
+ };
138
+ const deviceStatusEnum = {
139
+ "-1": -1,
140
+ "0": 0,
141
+ "1": 1
142
+ };
143
+ const upgradeTypeEnum = {
144
+ UPGRADE_APP: "UPGRADE_APP"
145
+ };
146
+ const appTypeEnum = {
147
+ ZR: "ZR",
148
+ ZRC: "ZRC",
149
+ ZRP: "ZRP",
150
+ ZRW: "ZRW"
151
+ };
152
+ const encryptionEnum = {
153
+ auto: "auto",
154
+ yes: "yes",
155
+ no: "no"
156
+ };
157
+ const protocolEnum = {
158
+ "H.323": "H.323",
159
+ SIP: "SIP"
160
+ };
161
+ const methodEnum = {
162
+ "recording.start": "recording.start",
163
+ "recording.stop": "recording.stop",
164
+ "recording.pause": "recording.pause",
165
+ "recording.resume": "recording.resume",
166
+ "participant.invite": "participant.invite",
167
+ "participant.invite.callout": "participant.invite.callout",
168
+ "participant.invite.room_system_callout": "participant.invite.room_system_callout",
169
+ "waiting_room.update": "waiting_room.update",
170
+ "ai_companion.start": "ai_companion.start",
171
+ "ai_companion.stop": "ai_companion.stop",
172
+ "ai_companion.disable": "ai_companion.disable",
173
+ "participant.remove": "participant.remove"
174
+ };
175
+ const aiCompanionModeEnum = {
176
+ questions: "questions",
177
+ summary: "summary",
178
+ all: "all"
179
+ };
180
+ const languageEnum = {
181
+ "en-US": "en-US",
182
+ "de-DE": "de-DE",
183
+ "es-ES": "es-ES",
184
+ "fr-FR": "fr-FR",
185
+ "jp-JP": "jp-JP",
186
+ "pt-PT": "pt-PT",
187
+ "ru-RU": "ru-RU",
188
+ "zh-CN": "zh-CN",
189
+ "zh-TW": "zh-TW",
190
+ "ko-KO": "ko-KO",
191
+ "it-IT": "it-IT",
192
+ "vi-VN": "vi-VN",
193
+ "pl-PL": "pl-PL",
194
+ "Tr-TR": "Tr-TR"
195
+ };
196
+ const layoutEnum = {
197
+ follow_host: "follow_host",
198
+ gallery_view: "gallery_view",
199
+ speaker_view: "speaker_view"
200
+ };
201
+ const closeCaptionEnum = {
202
+ "burnt-in": "burnt-in",
203
+ embedded: "embedded",
204
+ off: "off"
205
+ };
206
+ const monthlyWeekEnum = {
207
+ "-1": -1,
208
+ "1": 1,
209
+ "2": 2,
210
+ "3": 3,
211
+ "4": 4
212
+ };
213
+ const monthlyWeekDayEnum = {
214
+ "1": 1,
215
+ "2": 2,
216
+ "3": 3,
217
+ "4": 4,
218
+ "5": 5,
219
+ "6": 6,
220
+ "7": 7
221
+ };
222
+ const weeklyDaysEnum = {
223
+ "1": "1",
224
+ "2": "2",
225
+ "3": "3",
226
+ "4": "4",
227
+ "5": "5",
228
+ "6": "6",
229
+ "7": "7"
230
+ };
231
+ const audioEnum = {
232
+ both: "both",
233
+ telephony: "telephony",
234
+ voip: "voip",
235
+ thirdParty: "thirdParty"
236
+ };
237
+ const autoRecordingEnum = {
238
+ local: "local",
239
+ cloud: "cloud",
240
+ none: "none"
241
+ };
242
+ const calendarTypeEnum = {
243
+ "1": 1,
244
+ "2": 2
245
+ };
246
+ const encryptionTypeEnum = {
247
+ enhanced_encryption: "enhanced_encryption",
248
+ e2ee: "e2ee"
249
+ };
250
+ const jbhTimeEnum = {
251
+ "0": 0,
252
+ "5": 5,
253
+ "10": 10,
254
+ "15": 15
255
+ };
256
+ const questionVisibilityEnum = {
257
+ answered: "answered",
258
+ all: "all"
259
+ };
260
+ const registrationTypeEnum = {
261
+ "1": 1,
262
+ "2": 2,
263
+ "3": 3
264
+ };
265
+ const modeEnum = {
266
+ follow_setting: "follow_setting",
267
+ custom: "custom"
268
+ };
269
+ const whoGoesToWaitingRoomEnum = {
270
+ everyone: "everyone",
271
+ users_not_in_account: "users_not_in_account",
272
+ users_not_in_account_or_whitelisted_domains: "users_not_in_account_or_whitelisted_domains",
273
+ users_not_on_invite: "users_not_on_invite",
274
+ users_not_in_org: "users_not_in_org"
275
+ };
276
+ const resourceTypeEnum = {
277
+ whiteboard: "whiteboard"
278
+ };
279
+ const permissionLevelEnum = {
280
+ editor: "editor",
281
+ commenter: "commenter",
282
+ viewer: "viewer"
283
+ };
284
+ const whoWillReceiveSummaryEnum = {
285
+ "1": 1,
286
+ "2": 2,
287
+ "3": 3,
288
+ "4": 4
289
+ };
290
+ const whoCanAskQuestionsEnum = {
291
+ "1": 1,
292
+ "2": 2,
293
+ "3": 3,
294
+ "4": 4,
295
+ "5": 5
296
+ };
297
+ const creationSourceEnum = {
298
+ other: "other",
299
+ open_api: "open_api",
300
+ web_portal: "web_portal"
301
+ };
302
+ const pollTypeEnum = {
303
+ "1": 1,
304
+ "2": 2,
305
+ "3": 3
306
+ };
307
+ const disclaimerStatusEnum = {
308
+ Agree: "Agree",
309
+ Cancel: "Cancel",
310
+ "Passive Agree": "Passive Agree",
311
+ "Decline Attend": "Decline Attend"
312
+ };
313
+ const questionStatusEnum = {
314
+ default: "default",
315
+ open: "open",
316
+ dismissed: "dismissed",
317
+ answered: "answered",
318
+ deleted: "deleted"
319
+ };
320
+ const meetingEncryptionStatusEnum = {
321
+ "1": 1,
322
+ "2": 2
323
+ };
324
+ const transportProtocolEnum = {
325
+ UDP: "UDP",
326
+ TCP: "TCP",
327
+ TLS: "TLS",
328
+ AUTO: "AUTO"
329
+ };
330
+ const tspBridgeEnum = {
331
+ US_TSP_TB: "US_TSP_TB",
332
+ EU_TSP_TB: "EU_TSP_TB"
333
+ };
334
+ const idEnum = {
335
+ "1": "1",
336
+ "2": "2"
337
+ };
338
+ const answerQuestionsEnum = {
339
+ only: "only",
340
+ all: "all"
341
+ };
342
+ const timeunitEnum = {
343
+ second: "second",
344
+ minute: "minute"
345
+ };
346
+
347
+ export { actionEnum, aiCompanionModeEnum, answerQuestionsEnum, appTypeEnum, approvalTypeEnum, audioEnum, autoRecordingEnum, calendarTypeEnum, closeCaptionEnum, creationSourceEnum, deviceStatusEnum, deviceTypeEnum, disclaimerStatusEnum, downloadRestrictionReasonEnum, encryptionEnum, encryptionTypeEnum, fieldNameEnum, fileExtensionEnum, fileTypeEnum, idEnum, jbhTimeEnum, languageEnum, layoutEnum, meetingEncryptionStatusEnum, meetingTypeEnum, methodEnum, modeEnum, monthlyWeekDayEnum, monthlyWeekEnum, noOfEmployeesEnum, permissionLevelEnum, pollTypeEnum, protocolEnum, purchasingTimeFrameEnum, questionStatusEnum, questionVisibilityEnum, recordingTypeEnum, registrationTypeEnum, resourceTypeEnum, roleInPurchaseProcessEnum, shareRecordingEnum, statusEnum, storageLocationEnum, timeunitEnum, transportProtocolEnum, tspBridgeEnum, typeEnum, upgradeTypeEnum, weeklyDaysEnum, whoCanAskQuestionsEnum, whoGoesToWaitingRoomEnum, whoWillReceiveSummaryEnum };
package/package.json CHANGED
@@ -1,37 +1,83 @@
1
1
  {
2
2
  "name": "zoom-api-js",
3
- "version": "0.6.2",
3
+ "version": "1.0.0",
4
4
  "description": "Zoom auto-generated type-safe API client",
5
+ "type": "module",
5
6
  "author": "SferaDev",
6
7
  "license": "ISC",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/SferaDev/SferaDev.git"
11
+ },
7
12
  "bugs": {
8
- "url": "https://github.com/SferaDev/openapi-clients/issues"
13
+ "url": "https://github.com/SferaDev/SferaDev/issues"
14
+ },
15
+ "homepage": "https://github.com/SferaDev/SferaDev#readme",
16
+ "dependencies": {
17
+ "zod": "4.4.3",
18
+ "@sferadev/openapi-utils": "0.0.1"
19
+ },
20
+ "devDependencies": {
21
+ "@kubb/cli": "5.0.0-beta.10",
22
+ "kubb": "5.0.0-beta.10",
23
+ "effect": "3.21.3",
24
+ "@types/node": "25.9.2",
25
+ "bunchee": "6.11.0",
26
+ "rimraf": "6.1.3",
27
+ "typescript": "6.0.3",
28
+ "@sferadev/tsconfig": "0.0.0"
9
29
  },
10
- "homepage": "https://github.com/SferaDev/openapi-clients#readme",
30
+ "peerDependencies": {
31
+ "effect": "^3.0.0"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "effect": {
35
+ "optional": true
36
+ }
37
+ },
38
+ "files": [
39
+ "dist"
40
+ ],
11
41
  "main": "dist/index.cjs",
12
42
  "module": "dist/index.mjs",
13
- "typings": "dist/index.d.ts",
43
+ "types": "dist/index.d.ts",
44
+ "sideEffects": false,
14
45
  "exports": {
15
46
  "./package.json": "./package.json",
16
47
  ".": {
17
- "development": "./src/index.ts",
18
- "import": {
19
- "types": "./dist/index.d.mts",
20
- "default": "./dist/index.mjs"
21
- },
22
- "require": {
23
- "types": "./dist/index.d.cts",
24
- "default": "./dist/index.cjs"
25
- }
48
+ "types": "./dist/index.d.ts",
49
+ "import": "./dist/index.mjs",
50
+ "require": "./dist/index.cjs"
51
+ },
52
+ "./types": {
53
+ "types": "./dist/types.d.mts",
54
+ "import": "./dist/types.mjs",
55
+ "require": "./dist/types.cjs"
56
+ },
57
+ "./schemas": {
58
+ "types": "./dist/schemas.d.mts",
59
+ "import": "./dist/schemas.mjs",
60
+ "require": "./dist/schemas.cjs"
61
+ },
62
+ "./components": {
63
+ "types": "./dist/components.d.mts",
64
+ "import": "./dist/components.mjs",
65
+ "require": "./dist/components.cjs"
66
+ },
67
+ "./effect": {
68
+ "types": "./dist/effect.d.mts",
69
+ "import": "./dist/effect.mjs",
70
+ "require": "./dist/effect.cjs"
26
71
  }
27
72
  },
28
- "repository": {
29
- "type": "git",
30
- "url": "git+https://github.com/SferaDev/openapi-clients.git"
73
+ "publishConfig": {
74
+ "access": "public",
75
+ "provenance": true
31
76
  },
32
77
  "scripts": {
33
- "tsc": "tsgo --noEmit",
34
- "build": "unbuild",
35
- "generate": "openapi-codegen meeting"
78
+ "tsc": "tsc --noEmit",
79
+ "build": "bunchee",
80
+ "generate": "rimraf ./src/generated && kubb generate",
81
+ "is-tree-shakable": "is-tree-shakable"
36
82
  }
37
83
  }
@@ -1,14 +0,0 @@
1
-
2
- > zoom-api-js@0.6.2 build /home/runner/work/openapi-clients/openapi-clients/packages/zoom-api-js
3
- > unbuild
4
-
5
- [info] Automatically detected entries: src/index [esm] [cjs] [dts]
6
- [info] Building zoom-api-js
7
- [info] Cleaning dist directory: `./dist`
8
- [success] Build succeeded for zoom-api-js
9
- [log] dist/index.cjs (total size: 3.21 kB, chunk size: 3.21 kB, exports: ZoomApi)
10
-
11
- [log] dist/index.mjs (total size: 3.19 kB, chunk size: 3.19 kB, exports: ZoomApi)
12
-
13
- Σ Total dist size (byte size): 3.74 MB
14
- [log]
package/CHANGELOG.md DELETED
@@ -1,116 +0,0 @@
1
- # zoom-api-js
2
-
3
- ## 0.6.2
4
-
5
- ### Patch Changes
6
-
7
- - ca1fe30: Add AIC_CONVERSATION type to ListArchivedFilesResponse and GetArchivedFilesResponse.
8
-
9
- ## 0.6.1
10
-
11
- ### Patch Changes
12
-
13
- - 57f2658: Replace single quotes with double quotes for consistency
14
-
15
- ## 0.6.0
16
-
17
- ### Minor Changes
18
-
19
- - 8e307db: Added new actions 'pause' and 'resume' to MeetingRTMSStatusUpdateRequestBody.
20
-
21
- ## 0.5.0
22
-
23
- ### Minor Changes
24
-
25
- - 428dd8e: Add new endpoint to update Real-Time Media Streams (RTMS) status for a specific participant in a meeting
26
-
27
- ## 0.4.5
28
-
29
- ### Patch Changes
30
-
31
- - 93af0c9: Update URL in comments for double encode UUID
32
- - 58398e6: [BREAKING] Deprecated and replaced legacy meeting summary fields with a unified 'summary_content' field in GetameetingsummaryResponse
33
-
34
- ## 0.4.4
35
-
36
- ### Patch Changes
37
-
38
- - 71999cd: Add summary_template_id to MeetingResponse, MeetingUpdateRequestBody, MeetingCreateResponse, MeetingCreateRequestBody
39
-
40
- ## 0.4.3
41
-
42
- ### Patch Changes
43
-
44
- - 6bad508: Change in the meeting UUID description
45
-
46
- ## 0.4.2
47
-
48
- ### Patch Changes
49
-
50
- - ab0a9f5: Change 'approval type' to 'registration approval type'
51
- - ec9d82c: Update link to List groups API documentation
52
-
53
- ## 0.4.1
54
-
55
- ### Patch Changes
56
-
57
- - d4c62b3: [OpenAPI] Spec updates for zoom-api-js
58
-
59
- ## 0.4.0
60
-
61
- ### Minor Changes
62
-
63
- - 547d18b: Add new endpoint to list SIP phones on an account
64
-
65
- ### Patch Changes
66
-
67
- - fb17c28: Fix a typo in the example for telephony report
68
- - c09c7b9: Change meeting API response to include fields for who will receive meeting summary and who can ask questions about meeting transcript
69
-
70
- ## 0.3.2
71
-
72
- ### Patch Changes
73
-
74
- - a0a2535: Add prerequisites for various endpoints
75
-
76
- ## 0.3.1
77
-
78
- ### Patch Changes
79
-
80
- - 552b3b0: [OpenAPI] Spec updates for zoom-api-js
81
-
82
- ## 0.3.0
83
-
84
- ### Minor Changes
85
-
86
- - 4ce9f11: Add new endpoint to assign a device to a new group
87
-
88
- ## 0.2.0
89
-
90
- ### Minor Changes
91
-
92
- - 35374e2: Update bundle mechanism
93
-
94
- ## 0.1.3
95
-
96
- ### Patch Changes
97
-
98
- - c62c402: Update spec
99
-
100
- ## 0.1.2
101
-
102
- ### Patch Changes
103
-
104
- - 9e0fcd1: Update OAuth refresh token logic
105
-
106
- ## 0.1.1
107
-
108
- ### Patch Changes
109
-
110
- - 9349c03: Add a way to refresh token
111
-
112
- ## 0.1.0
113
-
114
- ### Minor Changes
115
-
116
- - bc329fc: Initial release
package/README.md DELETED
@@ -1,10 +0,0 @@
1
- # Zoom API JavaScript SDK
2
-
3
- Unofficial Zoom API JavaScript SDK built from the OpenAPI specification and with TypeScript types.
4
-
5
- ```ts
6
- const zoom = new ZoomApi({ token: 'token' });
7
- const recordings = await zoom.request('GET /users/{userId}/recordings', {
8
- pathParams: { userId: 'user@email.com' }
9
- });
10
- ```