@scryme/sdk 0.1.0 → 9.64.2

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/index.js ADDED
@@ -0,0 +1,3241 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.ts
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ AddDepartmentMemberDtoRole: () => AddDepartmentMemberDtoRole,
34
+ AttendanceControllerGetLogsSortOrder: () => AttendanceControllerGetLogsSortOrder,
35
+ CmsCustomFieldsDtoPublishStatus: () => CmsCustomFieldsDtoPublishStatus,
36
+ CreateCrmFieldDtoType: () => CreateCrmFieldDtoType,
37
+ CreateCrmRelationshipDtoType: () => CreateCrmRelationshipDtoType,
38
+ CreateExpenseDtoPaymentMethod: () => CreateExpenseDtoPaymentMethod,
39
+ CreateIntegrationDefinitionDtoAuthType: () => CreateIntegrationDefinitionDtoAuthType,
40
+ CreateIntegrationDefinitionDtoCategory: () => CreateIntegrationDefinitionDtoCategory,
41
+ CreateInvitationDtoRole: () => CreateInvitationDtoRole,
42
+ CreateMemberDtoRole: () => CreateMemberDtoRole,
43
+ CreateOrderDtoChannel: () => CreateOrderDtoChannel,
44
+ CreatePartnerDtoBenefitType: () => CreatePartnerDtoBenefitType,
45
+ CreatePartnerDtoReconciliationPolicy: () => CreatePartnerDtoReconciliationPolicy,
46
+ CreateServiceDtoPricingModel: () => CreateServiceDtoPricingModel,
47
+ CreateStrapiConnectionDtoEnabledSyncTypesItem: () => CreateStrapiConnectionDtoEnabledSyncTypesItem,
48
+ CreateStrapiConnectionDtoSyncDirection: () => CreateStrapiConnectionDtoSyncDirection,
49
+ CreateTransferDtoPriority: () => CreateTransferDtoPriority,
50
+ CreateUtilityAccountDtoType: () => CreateUtilityAccountDtoType,
51
+ DepartmentsListSortOrder: () => DepartmentsListSortOrder,
52
+ ExpenseControllerGetExpensesStatus: () => ExpenseControllerGetExpensesStatus,
53
+ InvitationResponseDtoRole: () => InvitationResponseDtoRole,
54
+ InvitationResponseDtoStatus: () => InvitationResponseDtoStatus,
55
+ InvitationsListSortOrder: () => InvitationsListSortOrder,
56
+ InvitationsListStatus: () => InvitationsListStatus,
57
+ MemberResponseDtoMembershipStatus: () => MemberResponseDtoMembershipStatus,
58
+ MemberResponseDtoRole: () => MemberResponseDtoRole,
59
+ MemberResponseDtoStatus: () => MemberResponseDtoStatus,
60
+ MembersControllerGetMembersMembershipStatus: () => MembersControllerGetMembersMembershipStatus,
61
+ MembersControllerGetMembersRole: () => MembersControllerGetMembersRole,
62
+ MembersControllerGetMembersSortOrder: () => MembersControllerGetMembersSortOrder,
63
+ ReconcilePodDtoOutcome: () => ReconcilePodDtoOutcome,
64
+ RegisterPettyCashDtoPaymentMethod: () => RegisterPettyCashDtoPaymentMethod,
65
+ ReviewPriceChangeDtoStatus: () => ReviewPriceChangeDtoStatus,
66
+ RoleManagementControllerGetCustomRolesSortOrder: () => RoleManagementControllerGetCustomRolesSortOrder,
67
+ ScrymeClientSDK: () => ScrymeClientSDK,
68
+ ScrymeServerSDK: () => ScrymeServerSDK,
69
+ ServicesUpdateBookingStatusBodyStatus: () => ServicesUpdateBookingStatusBodyStatus,
70
+ TriggerSyncDtoDirection: () => TriggerSyncDtoDirection,
71
+ TriggerSyncDtoSyncTypesItem: () => TriggerSyncDtoSyncTypesItem,
72
+ UpdateIntegrationDefinitionDtoAuthType: () => UpdateIntegrationDefinitionDtoAuthType,
73
+ UpdateIntegrationDefinitionDtoCategory: () => UpdateIntegrationDefinitionDtoCategory,
74
+ UpdateMemberDtoMembershipStatus: () => UpdateMemberDtoMembershipStatus,
75
+ UpdateMemberDtoRole: () => UpdateMemberDtoRole,
76
+ UpdateMemberDtoStatus: () => UpdateMemberDtoStatus,
77
+ UpdatePartnerDtoBenefitType: () => UpdatePartnerDtoBenefitType,
78
+ UpdatePartnerDtoReconciliationPolicy: () => UpdatePartnerDtoReconciliationPolicy,
79
+ UpdateServiceDtoPricingModel: () => UpdateServiceDtoPricingModel,
80
+ UpdateStrapiConnectionDtoEnabledSyncTypesItem: () => UpdateStrapiConnectionDtoEnabledSyncTypesItem,
81
+ UpdateStrapiConnectionDtoSyncDirection: () => UpdateStrapiConnectionDtoSyncDirection,
82
+ accountingMapping: () => accountingMapping,
83
+ adminMapping: () => adminMapping,
84
+ authMapping: () => authMapping,
85
+ buildModule: () => buildModule,
86
+ catalogMapping: () => catalogMapping,
87
+ createClientSDK: () => createClientSDK,
88
+ createServerSDK: () => createServerSDK,
89
+ crmMapping: () => crmMapping,
90
+ getJwtExpiry: () => getJwtExpiry,
91
+ getScrymeV3API: () => getScrymeV3API2,
92
+ inventoryMapping: () => inventoryMapping,
93
+ loyaltyMapping: () => loyaltyMapping,
94
+ membersMapping: () => membersMapping,
95
+ methodsWithOrgSlugSet: () => methodsWithOrgSlugSet,
96
+ ordersMapping: () => ordersMapping,
97
+ posMapping: () => posMapping
98
+ });
99
+ module.exports = __toCommonJS(index_exports);
100
+
101
+ // src/generated/scryme.ts
102
+ var import_axios = __toESM(require("axios"));
103
+ var getScrymeV3API = (axiosInstance = import_axios.default) => {
104
+ const inventoryVerifyIntegrity = (orgSlug, options) => {
105
+ return axiosInstance.get(
106
+ `/v3/${orgSlug}/inventory/integrity/verify`,
107
+ options
108
+ );
109
+ };
110
+ const inventoryFixIntegrity = (orgSlug, variantId, params, options) => {
111
+ return axiosInstance.post(
112
+ `/v3/${orgSlug}/inventory/integrity/fix/${variantId}`,
113
+ void 0,
114
+ {
115
+ ...options,
116
+ params: { ...params, ...options?.params }
117
+ }
118
+ );
119
+ };
120
+ const inventoryGetInventory = (orgSlug, params, options) => {
121
+ return axiosInstance.get(
122
+ `/v3/${orgSlug}/inventory`,
123
+ {
124
+ ...options,
125
+ params: { ...params, ...options?.params }
126
+ }
127
+ );
128
+ };
129
+ const inventoryTraceBatch = (orgSlug, identifier, options) => {
130
+ return axiosInstance.get(
131
+ `/v3/${orgSlug}/inventory/trace/${identifier}`,
132
+ options
133
+ );
134
+ };
135
+ const inventorySplitBatch = (orgSlug, id, options) => {
136
+ return axiosInstance.post(
137
+ `/v3/${orgSlug}/inventory/batches/${id}/split`,
138
+ void 0,
139
+ options
140
+ );
141
+ };
142
+ const inventoryMergeBatches = (orgSlug, options) => {
143
+ return axiosInstance.post(
144
+ `/v3/${orgSlug}/inventory/batches/merge`,
145
+ void 0,
146
+ options
147
+ );
148
+ };
149
+ const inventoryCreateAssembly = (orgSlug, options) => {
150
+ return axiosInstance.post(
151
+ `/v3/${orgSlug}/inventory/assemblies`,
152
+ void 0,
153
+ options
154
+ );
155
+ };
156
+ const inventoryCompleteAssembly = (orgSlug, id, options) => {
157
+ return axiosInstance.post(
158
+ `/v3/${orgSlug}/inventory/assemblies/${id}/complete`,
159
+ void 0,
160
+ options
161
+ );
162
+ };
163
+ const inventoryRequestAdjustment = (orgSlug, options) => {
164
+ return axiosInstance.post(
165
+ `/v3/${orgSlug}/inventory/adjustments/request`,
166
+ void 0,
167
+ options
168
+ );
169
+ };
170
+ const inventoryGetAdjustments = (orgSlug, params, options) => {
171
+ return axiosInstance.get(
172
+ `/v3/${orgSlug}/inventory/adjustments`,
173
+ {
174
+ ...options,
175
+ params: { ...params, ...options?.params }
176
+ }
177
+ );
178
+ };
179
+ const inventoryApproveAdjustment = (orgSlug, id, options) => {
180
+ return axiosInstance.patch(
181
+ `/v3/${orgSlug}/inventory/adjustments/${id}/approve`,
182
+ void 0,
183
+ options
184
+ );
185
+ };
186
+ const inventoryRejectAdjustment = (orgSlug, id, options) => {
187
+ return axiosInstance.patch(
188
+ `/v3/${orgSlug}/inventory/adjustments/${id}/reject`,
189
+ void 0,
190
+ options
191
+ );
192
+ };
193
+ const inventoryGetLeadTime = (orgSlug, params, options) => {
194
+ return axiosInstance.get(
195
+ `/v3/${orgSlug}/inventory/analytics/supplier-lead-time`,
196
+ {
197
+ ...options,
198
+ params: { ...params, ...options?.params }
199
+ }
200
+ );
201
+ };
202
+ const inventoryGetWasteAnalysis = (orgSlug, params, options) => {
203
+ return axiosInstance.get(
204
+ `/v3/${orgSlug}/inventory/analytics/waste`,
205
+ {
206
+ ...options,
207
+ params: { ...params, ...options?.params }
208
+ }
209
+ );
210
+ };
211
+ const inventoryCheckB2BAvailability = (orgSlug, checkB2BAvailabilityDto, options) => {
212
+ return axiosInstance.post(
213
+ `/v3/${orgSlug}/inventory/b2b/availability`,
214
+ checkB2BAvailabilityDto,
215
+ options
216
+ );
217
+ };
218
+ const inventoryUnpackBatch = (orgSlug, id, options) => {
219
+ return axiosInstance.post(
220
+ `/v3/${orgSlug}/inventory/batches/${id}/unpack`,
221
+ void 0,
222
+ options
223
+ );
224
+ };
225
+ const inventoryScanUnpackBatch = (orgSlug, options) => {
226
+ return axiosInstance.post(
227
+ `/v3/${orgSlug}/inventory/batches/scan-unpack`,
228
+ void 0,
229
+ options
230
+ );
231
+ };
232
+ const inventoryQuickStockInquiry = (orgSlug, options) => {
233
+ return axiosInstance.post(
234
+ `/v3/${orgSlug}/inventory/b2b/quick-inquiry`,
235
+ void 0,
236
+ options
237
+ );
238
+ };
239
+ const expenseControllerCreateExpense = (createExpenseDto, options) => {
240
+ return axiosInstance.post(
241
+ `/v3/finance/expenses`,
242
+ createExpenseDto,
243
+ options
244
+ );
245
+ };
246
+ const expenseControllerGetExpenses = (params, options) => {
247
+ return axiosInstance.get(
248
+ `/v3/finance/expenses`,
249
+ {
250
+ ...options,
251
+ params: { ...params, ...options?.params }
252
+ }
253
+ );
254
+ };
255
+ const expenseControllerGetExpenseCategories = (options) => {
256
+ return axiosInstance.get(
257
+ `/v3/finance/expenses/categories`,
258
+ options
259
+ );
260
+ };
261
+ const expenseControllerGetExpense = (id, options) => {
262
+ return axiosInstance.get(
263
+ `/v3/finance/expenses/${id}`,
264
+ options
265
+ );
266
+ };
267
+ const pettyCashControllerCreateFund = (createPettyCashFundDto, options) => {
268
+ return axiosInstance.post(
269
+ `/v3/finance/petty-cash`,
270
+ createPettyCashFundDto,
271
+ options
272
+ );
273
+ };
274
+ const pettyCashControllerGetFunds = (options) => {
275
+ return axiosInstance.get(
276
+ `/v3/finance/petty-cash`,
277
+ options
278
+ );
279
+ };
280
+ const pettyCashControllerGetFund = (id, options) => {
281
+ return axiosInstance.get(
282
+ `/v3/finance/petty-cash/${id}`,
283
+ options
284
+ );
285
+ };
286
+ const pettyCashControllerTopUpFund = (id, topUpPettyCashFundDto, options) => {
287
+ return axiosInstance.post(
288
+ `/v3/finance/petty-cash/${id}/top-up`,
289
+ topUpPettyCashFundDto,
290
+ options
291
+ );
292
+ };
293
+ const pettyCashControllerGetFundTransactions = (id, options) => {
294
+ return axiosInstance.get(
295
+ `/v3/finance/petty-cash/${id}/transactions`,
296
+ options
297
+ );
298
+ };
299
+ const utilityAccountControllerCreateAccount = (createUtilityAccountDto, options) => {
300
+ return axiosInstance.post(
301
+ `/v3/finance/utility-accounts`,
302
+ createUtilityAccountDto,
303
+ options
304
+ );
305
+ };
306
+ const utilityAccountControllerGetAccounts = (options) => {
307
+ return axiosInstance.get(
308
+ `/v3/finance/utility-accounts`,
309
+ options
310
+ );
311
+ };
312
+ const utilityAccountControllerGetAccount = (id, options) => {
313
+ return axiosInstance.get(
314
+ `/v3/finance/utility-accounts/${id}`,
315
+ options
316
+ );
317
+ };
318
+ const accountingInitialize = (orgSlug, options) => {
319
+ return axiosInstance.post(
320
+ `/v3/${orgSlug}/finance/accounting/initialize`,
321
+ void 0,
322
+ options
323
+ );
324
+ };
325
+ const accountingGetProfitLoss = (orgSlug, params, options) => {
326
+ return axiosInstance.get(
327
+ `/v3/${orgSlug}/finance/accounting/reports/profit-loss`,
328
+ {
329
+ ...options,
330
+ params: { ...params, ...options?.params }
331
+ }
332
+ );
333
+ };
334
+ const accountingGetBalanceSheet = (orgSlug, params, options) => {
335
+ return axiosInstance.get(
336
+ `/v3/${orgSlug}/finance/accounting/reports/balance-sheet`,
337
+ {
338
+ ...options,
339
+ params: { ...params, ...options?.params }
340
+ }
341
+ );
342
+ };
343
+ const accountingGetCashFlow = (orgSlug, params, options) => {
344
+ return axiosInstance.get(
345
+ `/v3/${orgSlug}/finance/accounting/reports/cash-flow`,
346
+ {
347
+ ...options,
348
+ params: { ...params, ...options?.params }
349
+ }
350
+ );
351
+ };
352
+ const accountingGetTaxSummary = (orgSlug, params, options) => {
353
+ return axiosInstance.get(
354
+ `/v3/${orgSlug}/finance/accounting/reports/tax-summary`,
355
+ {
356
+ ...options,
357
+ params: { ...params, ...options?.params }
358
+ }
359
+ );
360
+ };
361
+ const invoiceControllerCreateInvoice = (createInvoiceDto, options) => {
362
+ return axiosInstance.post(
363
+ `/v3/finance/invoices`,
364
+ createInvoiceDto,
365
+ options
366
+ );
367
+ };
368
+ const invoiceControllerGetInvoices = (options) => {
369
+ return axiosInstance.get(
370
+ `/v3/finance/invoices`,
371
+ options
372
+ );
373
+ };
374
+ const invoiceControllerGetInvoice = (id, options) => {
375
+ return axiosInstance.get(
376
+ `/v3/finance/invoices/${id}`,
377
+ options
378
+ );
379
+ };
380
+ const invoiceControllerUpdateInvoice = (id, updateInvoiceDto, options) => {
381
+ return axiosInstance.put(
382
+ `/v3/finance/invoices/${id}`,
383
+ updateInvoiceDto,
384
+ options
385
+ );
386
+ };
387
+ const invoiceControllerDeleteInvoice = (id, options) => {
388
+ return axiosInstance.delete(
389
+ `/v3/finance/invoices/${id}`,
390
+ options
391
+ );
392
+ };
393
+ const invoiceControllerFinalizeInvoice = (id, options) => {
394
+ return axiosInstance.post(
395
+ `/v3/finance/invoices/${id}/finalize`,
396
+ void 0,
397
+ options
398
+ );
399
+ };
400
+ const invoiceControllerGetTemplates = (options) => {
401
+ return axiosInstance.get(
402
+ `/v3/finance/invoices/templates`,
403
+ options
404
+ );
405
+ };
406
+ const invoiceControllerCreateTemplate = (options) => {
407
+ return axiosInstance.post(
408
+ `/v3/finance/invoices/templates`,
409
+ void 0,
410
+ options
411
+ );
412
+ };
413
+ const invoiceControllerGetConfig = (options) => {
414
+ return axiosInstance.get(
415
+ `/v3/finance/invoices/config`,
416
+ options
417
+ );
418
+ };
419
+ const invoiceControllerUpdateConfig = (invoiceConfigDto, options) => {
420
+ return axiosInstance.put(
421
+ `/v3/finance/invoices/config`,
422
+ invoiceConfigDto,
423
+ options
424
+ );
425
+ };
426
+ const publicInvoiceControllerDownloadInvoice = (id, params, options) => {
427
+ return axiosInstance.get(
428
+ `/v3/public-invoices/${id}/download`,
429
+ {
430
+ ...options,
431
+ params: { ...params, ...options?.params }
432
+ }
433
+ );
434
+ };
435
+ const publicInvoiceControllerDownloadInvoiceByTransaction = (transactionId, params, options) => {
436
+ return axiosInstance.get(
437
+ `/v3/public-invoices/transactions/${transactionId}/download`,
438
+ {
439
+ ...options,
440
+ params: { ...params, ...options?.params }
441
+ }
442
+ );
443
+ };
444
+ const publicInvoiceControllerDownloadReceipt = (transactionId, params, options) => {
445
+ return axiosInstance.get(
446
+ `/v3/public-invoices/receipts/${transactionId}/download`,
447
+ {
448
+ ...options,
449
+ params: { ...params, ...options?.params }
450
+ }
451
+ );
452
+ };
453
+ const publicInvoiceControllerGeneratePublicLink = (transactionId, params, options) => {
454
+ return axiosInstance.post(
455
+ `/v3/public-invoices/transactions/${transactionId}/generate-public-link`,
456
+ void 0,
457
+ {
458
+ ...options,
459
+ params: { ...params, ...options?.params }
460
+ }
461
+ );
462
+ };
463
+ const authExchangeToken = (tokenRequestDto, options) => {
464
+ return axiosInstance.post(
465
+ `/v3/auth/token`,
466
+ tokenRequestDto,
467
+ options
468
+ );
469
+ };
470
+ const authControllerHandleOAuth2 = (path, options) => {
471
+ return axiosInstance.get(
472
+ `/v3/auth/oauth2/${path}`,
473
+ options
474
+ );
475
+ };
476
+ const adminControllerGetStats = (options) => {
477
+ return axiosInstance.get(
478
+ `/v3/admin/stats`,
479
+ options
480
+ );
481
+ };
482
+ const adminControllerListOrganizations = (options) => {
483
+ return axiosInstance.get(
484
+ `/v3/admin/organizations`,
485
+ options
486
+ );
487
+ };
488
+ const adminControllerCreateOrganization = (createOrganizationDto, options) => {
489
+ return axiosInstance.post(
490
+ `/v3/admin/organizations`,
491
+ createOrganizationDto,
492
+ options
493
+ );
494
+ };
495
+ const adminControllerGetOrganizationDetails = (id, options) => {
496
+ return axiosInstance.get(
497
+ `/v3/admin/organizations/${id}`,
498
+ options
499
+ );
500
+ };
501
+ const adminControllerUpdateOrganization = (id, updateOrganizationDto, options) => {
502
+ return axiosInstance.patch(
503
+ `/v3/admin/organizations/${id}`,
504
+ updateOrganizationDto,
505
+ options
506
+ );
507
+ };
508
+ const adminControllerDeleteOrganization = (id, options) => {
509
+ return axiosInstance.delete(
510
+ `/v3/admin/organizations/${id}`,
511
+ options
512
+ );
513
+ };
514
+ const adminControllerListMembers = (params, options) => {
515
+ return axiosInstance.get(
516
+ `/v3/admin/members`,
517
+ {
518
+ ...options,
519
+ params: { ...params, ...options?.params }
520
+ }
521
+ );
522
+ };
523
+ const adminControllerListUsers = (options) => {
524
+ return axiosInstance.get(
525
+ `/v3/admin/users`,
526
+ options
527
+ );
528
+ };
529
+ const adminControllerBanUser = (id, banUserDto, options) => {
530
+ return axiosInstance.post(
531
+ `/v3/admin/users/${id}/ban`,
532
+ banUserDto,
533
+ options
534
+ );
535
+ };
536
+ const adminControllerUnbanUser = (id, options) => {
537
+ return axiosInstance.post(
538
+ `/v3/admin/users/${id}/unban`,
539
+ void 0,
540
+ options
541
+ );
542
+ };
543
+ const adminControllerListConnectedApps = (options) => {
544
+ return axiosInstance.get(
545
+ `/v3/admin/connected-apps`,
546
+ options
547
+ );
548
+ };
549
+ const adminControllerListSystemLogs = (options) => {
550
+ return axiosInstance.get(
551
+ `/v3/admin/system-logs`,
552
+ options
553
+ );
554
+ };
555
+ const adminControllerListGlobalSettings = (options) => {
556
+ return axiosInstance.get(
557
+ `/v3/admin/settings`,
558
+ options
559
+ );
560
+ };
561
+ const adminControllerSetGlobalSetting = (setGlobalSettingDto, options) => {
562
+ return axiosInstance.post(
563
+ `/v3/admin/settings`,
564
+ setGlobalSettingDto,
565
+ options
566
+ );
567
+ };
568
+ const adminControllerDeleteGlobalSetting = (key, options) => {
569
+ return axiosInstance.delete(
570
+ `/v3/admin/settings/${key}`,
571
+ options
572
+ );
573
+ };
574
+ const adminControllerListTiers = (options) => {
575
+ return axiosInstance.get(
576
+ `/v3/admin/tiers`,
577
+ options
578
+ );
579
+ };
580
+ const adminControllerDefineTier = (defineTierDto, options) => {
581
+ return axiosInstance.post(
582
+ `/v3/admin/tiers`,
583
+ defineTierDto,
584
+ options
585
+ );
586
+ };
587
+ const adminControllerDeleteTier = (slug, options) => {
588
+ return axiosInstance.delete(
589
+ `/v3/admin/tiers/${slug}`,
590
+ options
591
+ );
592
+ };
593
+ const adminControllerGetOrganizationSubscription = (id, options) => {
594
+ return axiosInstance.get(
595
+ `/v3/admin/organizations/${id}/subscription`,
596
+ options
597
+ );
598
+ };
599
+ const adminControllerUpdateOrganizationSubscription = (id, updateSubscriptionDto, options) => {
600
+ return axiosInstance.put(
601
+ `/v3/admin/organizations/${id}/subscription`,
602
+ updateSubscriptionDto,
603
+ options
604
+ );
605
+ };
606
+ const adminControllerListSystemPayments = (options) => {
607
+ return axiosInstance.get(
608
+ `/v3/admin/payments`,
609
+ options
610
+ );
611
+ };
612
+ const adminControllerRecordCustomPayment = (recordCustomPaymentDto, options) => {
613
+ return axiosInstance.post(
614
+ `/v3/admin/payments/record`,
615
+ recordCustomPaymentDto,
616
+ options
617
+ );
618
+ };
619
+ const adminControllerListIntegrationDefinitions = (options) => {
620
+ return axiosInstance.get(
621
+ `/v3/admin/integrations/definitions`,
622
+ options
623
+ );
624
+ };
625
+ const adminControllerCreateIntegrationDefinition = (createIntegrationDefinitionDto, options) => {
626
+ return axiosInstance.post(
627
+ `/v3/admin/integrations/definitions`,
628
+ createIntegrationDefinitionDto,
629
+ options
630
+ );
631
+ };
632
+ const adminControllerUpdateIntegrationDefinition = (id, updateIntegrationDefinitionDto, options) => {
633
+ return axiosInstance.patch(
634
+ `/v3/admin/integrations/definitions/${id}`,
635
+ updateIntegrationDefinitionDto,
636
+ options
637
+ );
638
+ };
639
+ const adminControllerDeleteIntegrationDefinition = (id, options) => {
640
+ return axiosInstance.delete(
641
+ `/v3/admin/integrations/definitions/${id}`,
642
+ options
643
+ );
644
+ };
645
+ const adminControllerListActiveOrganizationIntegrations = (options) => {
646
+ return axiosInstance.get(
647
+ `/v3/admin/integrations/active`,
648
+ options
649
+ );
650
+ };
651
+ const webhooksCreate = (orgSlug, createWebhookDto, options) => {
652
+ return axiosInstance.post(
653
+ `/v3/${orgSlug}/webhooks`,
654
+ createWebhookDto,
655
+ options
656
+ );
657
+ };
658
+ const webhooksList = (orgSlug, options) => {
659
+ return axiosInstance.get(
660
+ `/v3/${orgSlug}/webhooks`,
661
+ options
662
+ );
663
+ };
664
+ const webhooksDelete = (orgSlug, id, options) => {
665
+ return axiosInstance.delete(
666
+ `/v3/${orgSlug}/webhooks/${id}`,
667
+ options
668
+ );
669
+ };
670
+ const windmillCallbackControllerHandleCallback = (options) => {
671
+ return axiosInstance.post(
672
+ `/v3/webhooks/windmill`,
673
+ void 0,
674
+ options
675
+ );
676
+ };
677
+ const windmillCallbackControllerHandleApprovalCallback = (options) => {
678
+ return axiosInstance.post(
679
+ `/v3/webhooks/windmill/approval`,
680
+ void 0,
681
+ options
682
+ );
683
+ };
684
+ const windmillCallbackControllerHandleBakeryDisposalCallback = (options) => {
685
+ return axiosInstance.post(
686
+ `/v3/webhooks/windmill/bakery/disposal`,
687
+ void 0,
688
+ options
689
+ );
690
+ };
691
+ const windmillCallbackControllerHandleOutcomeCallback = (options) => {
692
+ return axiosInstance.post(
693
+ `/v3/webhooks/windmill/outcome`,
694
+ void 0,
695
+ options
696
+ );
697
+ };
698
+ const catalogGetProducts = (orgSlug, params, options) => {
699
+ return axiosInstance.get(
700
+ `/v3/${orgSlug}/catalog/products`,
701
+ {
702
+ ...options,
703
+ params: { ...params, ...options?.params }
704
+ }
705
+ );
706
+ };
707
+ const catalogCreateProduct = (orgSlug, createProductDto, options) => {
708
+ return axiosInstance.post(
709
+ `/v3/${orgSlug}/catalog/products`,
710
+ createProductDto,
711
+ options
712
+ );
713
+ };
714
+ const catalogGetServices = (orgSlug, params, options) => {
715
+ return axiosInstance.get(
716
+ `/v3/${orgSlug}/catalog/services`,
717
+ {
718
+ ...options,
719
+ params: { ...params, ...options?.params }
720
+ }
721
+ );
722
+ };
723
+ const catalogUpdateProduct = (orgSlug, id, updateProductDto, options) => {
724
+ return axiosInstance.patch(
725
+ `/v3/${orgSlug}/catalog/products/${id}`,
726
+ updateProductDto,
727
+ options
728
+ );
729
+ };
730
+ const catalogUpdateSupplierVariant = (orgSlug, supplierId, variantId, updateSupplierProductDto, options) => {
731
+ return axiosInstance.patch(
732
+ `/v3/${orgSlug}/catalog/suppliers/${supplierId}/variants/${variantId}`,
733
+ updateSupplierProductDto,
734
+ options
735
+ );
736
+ };
737
+ const catalogGetPriceChangeRequests = (orgSlug, params, options) => {
738
+ return axiosInstance.get(
739
+ `/v3/${orgSlug}/catalog/price-change-requests`,
740
+ {
741
+ ...options,
742
+ params: { ...params, ...options?.params }
743
+ }
744
+ );
745
+ };
746
+ const catalogReviewPriceChangeRequest = (orgSlug, id, reviewPriceChangeDto, options) => {
747
+ return axiosInstance.post(
748
+ `/v3/${orgSlug}/catalog/price-change-requests/${id}/review`,
749
+ reviewPriceChangeDto,
750
+ options
751
+ );
752
+ };
753
+ const servicesCreateCategory = (orgSlug, createServiceCategoryDto, options) => {
754
+ return axiosInstance.post(
755
+ `/v3/${orgSlug}/services/categories`,
756
+ createServiceCategoryDto,
757
+ options
758
+ );
759
+ };
760
+ const servicesGetCategories = (orgSlug, options) => {
761
+ return axiosInstance.get(
762
+ `/v3/${orgSlug}/services/categories`,
763
+ options
764
+ );
765
+ };
766
+ const servicesUpdateCategory = (orgSlug, id, updateServiceCategoryDto, options) => {
767
+ return axiosInstance.patch(
768
+ `/v3/${orgSlug}/services/categories/${id}`,
769
+ updateServiceCategoryDto,
770
+ options
771
+ );
772
+ };
773
+ const servicesDeleteCategory = (orgSlug, id, options) => {
774
+ return axiosInstance.post(
775
+ `/v3/${orgSlug}/services/categories/${id}/delete`,
776
+ void 0,
777
+ options
778
+ );
779
+ };
780
+ const servicesCreateService = (orgSlug, createServiceDto, options) => {
781
+ return axiosInstance.post(
782
+ `/v3/${orgSlug}/services`,
783
+ createServiceDto,
784
+ options
785
+ );
786
+ };
787
+ const servicesGetServices = (orgSlug, options) => {
788
+ return axiosInstance.get(
789
+ `/v3/${orgSlug}/services`,
790
+ options
791
+ );
792
+ };
793
+ const servicesGetCurrentMemberShifts = (orgSlug, options) => {
794
+ return axiosInstance.get(
795
+ `/v3/${orgSlug}/services/shifts/me`,
796
+ options
797
+ );
798
+ };
799
+ const servicesGetShifts = (orgSlug, params, options) => {
800
+ return axiosInstance.get(
801
+ `/v3/${orgSlug}/services/shifts`,
802
+ {
803
+ ...options,
804
+ params: { ...params, ...options?.params }
805
+ }
806
+ );
807
+ };
808
+ const servicesGetService = (orgSlug, id, options) => {
809
+ return axiosInstance.get(
810
+ `/v3/${orgSlug}/services/${id}`,
811
+ options
812
+ );
813
+ };
814
+ const servicesUpdateService = (orgSlug, id, updateServiceDto, options) => {
815
+ return axiosInstance.patch(
816
+ `/v3/${orgSlug}/services/${id}`,
817
+ updateServiceDto,
818
+ options
819
+ );
820
+ };
821
+ const servicesDeleteService = (orgSlug, id, options) => {
822
+ return axiosInstance.post(
823
+ `/v3/${orgSlug}/services/${id}/delete`,
824
+ void 0,
825
+ options
826
+ );
827
+ };
828
+ const servicesCreateResource = (orgSlug, createServiceResourceDto, options) => {
829
+ return axiosInstance.post(
830
+ `/v3/${orgSlug}/services/resources`,
831
+ createServiceResourceDto,
832
+ options
833
+ );
834
+ };
835
+ const servicesGetResources = (orgSlug, options) => {
836
+ return axiosInstance.get(
837
+ `/v3/${orgSlug}/services/resources`,
838
+ options
839
+ );
840
+ };
841
+ const servicesUpdateResource = (orgSlug, id, updateServiceResourceDto, options) => {
842
+ return axiosInstance.patch(
843
+ `/v3/${orgSlug}/services/resources/${id}`,
844
+ updateServiceResourceDto,
845
+ options
846
+ );
847
+ };
848
+ const servicesDeleteResource = (orgSlug, id, options) => {
849
+ return axiosInstance.post(
850
+ `/v3/${orgSlug}/services/resources/${id}/delete`,
851
+ void 0,
852
+ options
853
+ );
854
+ };
855
+ const servicesCreateBooking = (orgSlug, createBookingDto, options) => {
856
+ return axiosInstance.post(
857
+ `/v3/${orgSlug}/services/bookings`,
858
+ createBookingDto,
859
+ options
860
+ );
861
+ };
862
+ const servicesGetBookings = (orgSlug, options) => {
863
+ return axiosInstance.get(
864
+ `/v3/${orgSlug}/services/bookings`,
865
+ options
866
+ );
867
+ };
868
+ const servicesGetBooking = (orgSlug, id, options) => {
869
+ return axiosInstance.get(
870
+ `/v3/${orgSlug}/services/bookings/${id}`,
871
+ options
872
+ );
873
+ };
874
+ const servicesUpdateBookingStatus = (orgSlug, id, servicesUpdateBookingStatusBody, options) => {
875
+ return axiosInstance.patch(
876
+ `/v3/${orgSlug}/services/bookings/${id}/status`,
877
+ servicesUpdateBookingStatusBody,
878
+ options
879
+ );
880
+ };
881
+ const servicesCompleteBooking = (orgSlug, id, completeBookingDto, options) => {
882
+ return axiosInstance.patch(
883
+ `/v3/${orgSlug}/services/bookings/${id}/complete`,
884
+ completeBookingDto,
885
+ options
886
+ );
887
+ };
888
+ const servicesCreateShift = (orgSlug, memberId, servicesCreateShiftBody, options) => {
889
+ return axiosInstance.post(
890
+ `/v3/${orgSlug}/services/staff/${memberId}/shifts`,
891
+ servicesCreateShiftBody,
892
+ options
893
+ );
894
+ };
895
+ const servicesGetStaffShifts = (orgSlug, memberId, options) => {
896
+ return axiosInstance.get(
897
+ `/v3/${orgSlug}/services/staff/${memberId}/shifts`,
898
+ options
899
+ );
900
+ };
901
+ const servicesAddBreak = (orgSlug, shiftId, servicesAddBreakBody, options) => {
902
+ return axiosInstance.post(
903
+ `/v3/${orgSlug}/services/shifts/${shiftId}/breaks`,
904
+ servicesAddBreakBody,
905
+ options
906
+ );
907
+ };
908
+ const servicesRegisterCustomerApp = (orgSlug, servicesRegisterCustomerAppBody, options) => {
909
+ return axiosInstance.post(
910
+ `/v3/${orgSlug}/services/register-customer-app`,
911
+ servicesRegisterCustomerAppBody,
912
+ options
913
+ );
914
+ };
915
+ const servicesGetUtilization = (orgSlug, params, options) => {
916
+ return axiosInstance.get(
917
+ `/v3/${orgSlug}/services/analytics/utilization`,
918
+ {
919
+ ...options,
920
+ params: { ...params, ...options?.params }
921
+ }
922
+ );
923
+ };
924
+ const servicesGetPerformance = (orgSlug, params, options) => {
925
+ return axiosInstance.get(
926
+ `/v3/${orgSlug}/services/analytics/performance`,
927
+ {
928
+ ...options,
929
+ params: { ...params, ...options?.params }
930
+ }
931
+ );
932
+ };
933
+ const servicesGetFunnel = (orgSlug, params, options) => {
934
+ return axiosInstance.get(
935
+ `/v3/${orgSlug}/services/analytics/funnel`,
936
+ {
937
+ ...options,
938
+ params: { ...params, ...options?.params }
939
+ }
940
+ );
941
+ };
942
+ const customersProvisionZitadel = (orgSlug, provisionZitadelDto, options) => {
943
+ return axiosInstance.post(
944
+ `/v3/${orgSlug}/customers/zitadel/provision`,
945
+ provisionZitadelDto,
946
+ options
947
+ );
948
+ };
949
+ const customersGetCustomers = (orgSlug, params, options) => {
950
+ return axiosInstance.get(
951
+ `/v3/${orgSlug}/customers`,
952
+ {
953
+ ...options,
954
+ params: { ...params, ...options?.params }
955
+ }
956
+ );
957
+ };
958
+ const customersRegister = (orgSlug, registerCustomerDto, options) => {
959
+ return axiosInstance.post(
960
+ `/v3/${orgSlug}/customers/register`,
961
+ registerCustomerDto,
962
+ options
963
+ );
964
+ };
965
+ const customersUpdate = (orgSlug, id, updateCustomerDto, options) => {
966
+ return axiosInstance.patch(
967
+ `/v3/${orgSlug}/customers/${id}`,
968
+ updateCustomerDto,
969
+ options
970
+ );
971
+ };
972
+ const customersGetCustomerById = (orgSlug, id, options) => {
973
+ return axiosInstance.get(
974
+ `/v3/${orgSlug}/customers/${id}`,
975
+ options
976
+ );
977
+ };
978
+ const customersDelete = (orgSlug, id, options) => {
979
+ return axiosInstance.delete(
980
+ `/v3/${orgSlug}/customers/${id}`,
981
+ options
982
+ );
983
+ };
984
+ const customersGetAddresses = (orgSlug, id, options) => {
985
+ return axiosInstance.get(
986
+ `/v3/${orgSlug}/customers/${id}/addresses`,
987
+ options
988
+ );
989
+ };
990
+ const customersAddAddress = (orgSlug, id, addressDto, options) => {
991
+ return axiosInstance.post(
992
+ `/v3/${orgSlug}/customers/${id}/addresses`,
993
+ addressDto,
994
+ options
995
+ );
996
+ };
997
+ const businessAccountControllerCreate = (orgSlug, createBusinessAccountDto, options) => {
998
+ return axiosInstance.post(
999
+ `/v3/${orgSlug}/business-accounts`,
1000
+ createBusinessAccountDto,
1001
+ options
1002
+ );
1003
+ };
1004
+ const businessAccountControllerGetOne = (orgSlug, id, options) => {
1005
+ return axiosInstance.get(
1006
+ `/v3/${orgSlug}/business-accounts/${id}`,
1007
+ options
1008
+ );
1009
+ };
1010
+ const crmControllerCreateRecord = (orgSlug, createCrmRecordDto, options) => {
1011
+ return axiosInstance.post(
1012
+ `/v3/${orgSlug}/crm/records`,
1013
+ createCrmRecordDto,
1014
+ options
1015
+ );
1016
+ };
1017
+ const crmControllerGetRecord = (orgSlug, id, options) => {
1018
+ return axiosInstance.get(
1019
+ `/v3/${orgSlug}/crm/records/${id}`,
1020
+ options
1021
+ );
1022
+ };
1023
+ const crmControllerUpdateRecord = (orgSlug, id, updateCrmRecordDto, options) => {
1024
+ return axiosInstance.patch(
1025
+ `/v3/${orgSlug}/crm/records/${id}`,
1026
+ updateCrmRecordDto,
1027
+ options
1028
+ );
1029
+ };
1030
+ const crmControllerCreateNote = (orgSlug, createCrmNoteDto, options) => {
1031
+ return axiosInstance.post(
1032
+ `/v3/${orgSlug}/crm/notes`,
1033
+ createCrmNoteDto,
1034
+ options
1035
+ );
1036
+ };
1037
+ const crmControllerGetRecordNotes = (orgSlug, id, options) => {
1038
+ return axiosInstance.get(
1039
+ `/v3/${orgSlug}/crm/records/${id}/notes`,
1040
+ options
1041
+ );
1042
+ };
1043
+ const crmControllerCreateActivity = (orgSlug, createCrmActivityDto, options) => {
1044
+ return axiosInstance.post(
1045
+ `/v3/${orgSlug}/crm/activities`,
1046
+ createCrmActivityDto,
1047
+ options
1048
+ );
1049
+ };
1050
+ const crmControllerGetTimeline = (orgSlug, id, options) => {
1051
+ return axiosInstance.get(
1052
+ `/v3/${orgSlug}/crm/records/${id}/timeline`,
1053
+ options
1054
+ );
1055
+ };
1056
+ const crmControllerCreateObject = (orgSlug, createCrmObjectDto, options) => {
1057
+ return axiosInstance.post(
1058
+ `/v3/${orgSlug}/crm/objects`,
1059
+ createCrmObjectDto,
1060
+ options
1061
+ );
1062
+ };
1063
+ const crmControllerListObjects = (orgSlug, options) => {
1064
+ return axiosInstance.get(
1065
+ `/v3/${orgSlug}/crm/objects`,
1066
+ options
1067
+ );
1068
+ };
1069
+ const crmControllerCreateField = (orgSlug, objectId, createCrmFieldDto, options) => {
1070
+ return axiosInstance.post(
1071
+ `/v3/${orgSlug}/crm/objects/${objectId}/fields`,
1072
+ createCrmFieldDto,
1073
+ options
1074
+ );
1075
+ };
1076
+ const crmControllerListFields = (orgSlug, objectId, options) => {
1077
+ return axiosInstance.get(
1078
+ `/v3/${orgSlug}/crm/objects/${objectId}/fields`,
1079
+ options
1080
+ );
1081
+ };
1082
+ const crmControllerCreateRelationship = (orgSlug, createCrmRelationshipDto, options) => {
1083
+ return axiosInstance.post(
1084
+ `/v3/${orgSlug}/crm/relationships`,
1085
+ createCrmRelationshipDto,
1086
+ options
1087
+ );
1088
+ };
1089
+ const crmControllerListRelationships = (orgSlug, options) => {
1090
+ return axiosInstance.get(
1091
+ `/v3/${orgSlug}/crm/relationships`,
1092
+ options
1093
+ );
1094
+ };
1095
+ const crmControllerCreateAssociation = (orgSlug, createCrmAssociationDto, options) => {
1096
+ return axiosInstance.post(
1097
+ `/v3/${orgSlug}/crm/associations`,
1098
+ createCrmAssociationDto,
1099
+ options
1100
+ );
1101
+ };
1102
+ const crmControllerListRecordAssociations = (orgSlug, id, options) => {
1103
+ return axiosInstance.get(
1104
+ `/v3/${orgSlug}/crm/records/${id}/associations`,
1105
+ options
1106
+ );
1107
+ };
1108
+ const loyaltyRedeemReward = (orgSlug, redeemRewardDto, options) => {
1109
+ return axiosInstance.post(
1110
+ `/v3/${orgSlug}/loyalty/vouchers/redeem`,
1111
+ redeemRewardDto,
1112
+ options
1113
+ );
1114
+ };
1115
+ const loyaltyGetCustomerStatus = (orgSlug, id, options) => {
1116
+ return axiosInstance.get(
1117
+ `/v3/${orgSlug}/loyalty/customers/${id}/status`,
1118
+ options
1119
+ );
1120
+ };
1121
+ const loyaltyValidateVoucher = (orgSlug, validateVoucherDto, options) => {
1122
+ return axiosInstance.post(
1123
+ `/v3/${orgSlug}/loyalty/vouchers/validate`,
1124
+ validateVoucherDto,
1125
+ options
1126
+ );
1127
+ };
1128
+ const ordersCreateOrder = (orgSlug, createOrderDto, options) => {
1129
+ return axiosInstance.post(
1130
+ `/v3/${orgSlug}/orders`,
1131
+ createOrderDto,
1132
+ options
1133
+ );
1134
+ };
1135
+ const ordersGetOrders = (orgSlug, params, options) => {
1136
+ return axiosInstance.get(
1137
+ `/v3/${orgSlug}/orders`,
1138
+ {
1139
+ ...options,
1140
+ params: { ...params, ...options?.params }
1141
+ }
1142
+ );
1143
+ };
1144
+ const ordersUpdateStatus = (orgSlug, id, updateOrderStatusDto, options) => {
1145
+ return axiosInstance.post(
1146
+ `/v3/${orgSlug}/orders/${id}/status`,
1147
+ updateOrderStatusDto,
1148
+ options
1149
+ );
1150
+ };
1151
+ const ordersRequestB2BQuote = (orgSlug, requestB2BQuoteDto, options) => {
1152
+ return axiosInstance.post(
1153
+ `/v3/${orgSlug}/orders/b2b/quotes`,
1154
+ requestB2BQuoteDto,
1155
+ options
1156
+ );
1157
+ };
1158
+ const ordersConvertQuoteToOrder = (orgSlug, id, options) => {
1159
+ return axiosInstance.post(
1160
+ `/v3/${orgSlug}/orders/b2b/quotes/${id}/convert`,
1161
+ void 0,
1162
+ options
1163
+ );
1164
+ };
1165
+ const paymentsControllerHandleStkCallback = (orgSlug, paymentId, options) => {
1166
+ return axiosInstance.post(
1167
+ `/v3/${orgSlug}/payments/webhooks/mpesa/stkpush/${paymentId}`,
1168
+ void 0,
1169
+ options
1170
+ );
1171
+ };
1172
+ const pOSProvision = (orgSlug, provisionDeviceDto, options) => {
1173
+ return axiosInstance.post(
1174
+ `/v3/${orgSlug}/pos/provision`,
1175
+ provisionDeviceDto,
1176
+ options
1177
+ );
1178
+ };
1179
+ const pOSLogin = (orgSlug, posLoginDto, options) => {
1180
+ return axiosInstance.post(
1181
+ `/v3/${orgSlug}/pos/login`,
1182
+ posLoginDto,
1183
+ options
1184
+ );
1185
+ };
1186
+ const pOSGetMe = (orgSlug, options) => {
1187
+ return axiosInstance.get(
1188
+ `/v3/${orgSlug}/pos/me`,
1189
+ options
1190
+ );
1191
+ };
1192
+ const pOSProcessSale = (orgSlug, processSaleDto, options) => {
1193
+ return axiosInstance.post(
1194
+ `/v3/${orgSlug}/pos/sale`,
1195
+ processSaleDto,
1196
+ options
1197
+ );
1198
+ };
1199
+ const pOSSync = (orgSlug, options) => {
1200
+ return axiosInstance.get(
1201
+ `/v3/${orgSlug}/pos/sync`,
1202
+ options
1203
+ );
1204
+ };
1205
+ const pOSGetTransactions = (orgSlug, options) => {
1206
+ return axiosInstance.get(
1207
+ `/v3/${orgSlug}/pos/transactions`,
1208
+ options
1209
+ );
1210
+ };
1211
+ const pOSRegisterPettyCash = (orgSlug, registerPettyCashDto, options) => {
1212
+ return axiosInstance.post(
1213
+ `/v3/${orgSlug}/pos/petty-cash`,
1214
+ registerPettyCashDto,
1215
+ options
1216
+ );
1217
+ };
1218
+ const pOSGetPettyCashFunds = (orgSlug, options) => {
1219
+ return axiosInstance.get(
1220
+ `/v3/${orgSlug}/pos/petty-cash/funds`,
1221
+ options
1222
+ );
1223
+ };
1224
+ const pOSGetPettyCashTransactions = (orgSlug, params, options) => {
1225
+ return axiosInstance.get(
1226
+ `/v3/${orgSlug}/pos/petty-cash/transactions`,
1227
+ {
1228
+ ...options,
1229
+ params: { ...params, ...options?.params }
1230
+ }
1231
+ );
1232
+ };
1233
+ const membersControllerGetMembers = (orgSlug, params, options) => {
1234
+ return axiosInstance.get(
1235
+ `/v3/${orgSlug}/members`,
1236
+ {
1237
+ ...options,
1238
+ params: { ...params, ...options?.params }
1239
+ }
1240
+ );
1241
+ };
1242
+ const membersControllerCreateMember = (orgSlug, createMemberDto, options) => {
1243
+ return axiosInstance.post(
1244
+ `/v3/${orgSlug}/members`,
1245
+ createMemberDto,
1246
+ options
1247
+ );
1248
+ };
1249
+ const membersControllerGetMember = (orgSlug, id, options) => {
1250
+ return axiosInstance.get(
1251
+ `/v3/${orgSlug}/members/${id}`,
1252
+ options
1253
+ );
1254
+ };
1255
+ const membersControllerUpdateMember = (orgSlug, id, updateMemberDto, options) => {
1256
+ return axiosInstance.patch(
1257
+ `/v3/${orgSlug}/members/${id}`,
1258
+ updateMemberDto,
1259
+ options
1260
+ );
1261
+ };
1262
+ const membersControllerDeleteMember = (orgSlug, id, options) => {
1263
+ return axiosInstance.delete(
1264
+ `/v3/${orgSlug}/members/${id}`,
1265
+ options
1266
+ );
1267
+ };
1268
+ const membersControllerGetMemberActivity = (orgSlug, id, options) => {
1269
+ return axiosInstance.get(
1270
+ `/v3/${orgSlug}/members/${id}/activity`,
1271
+ options
1272
+ );
1273
+ };
1274
+ const membersControllerUpdateStatus = (orgSlug, id, options) => {
1275
+ return axiosInstance.patch(
1276
+ `/v3/${orgSlug}/members/${id}/status`,
1277
+ void 0,
1278
+ options
1279
+ );
1280
+ };
1281
+ const membersControllerAdminCheckOut = (orgSlug, memberId, checkOutDto, options) => {
1282
+ return axiosInstance.post(
1283
+ `/v3/${orgSlug}/members/${memberId}/attendance/check-out`,
1284
+ checkOutDto,
1285
+ options
1286
+ );
1287
+ };
1288
+ const terminalMembersControllerLogin = (terminalLoginDto, options) => {
1289
+ return axiosInstance.post(
1290
+ `/v3/members/login`,
1291
+ terminalLoginDto,
1292
+ options
1293
+ );
1294
+ };
1295
+ const invitationsList = (orgSlug, params, options) => {
1296
+ return axiosInstance.get(
1297
+ `/v3/${orgSlug}/members/invitations`,
1298
+ {
1299
+ ...options,
1300
+ params: { ...params, ...options?.params }
1301
+ }
1302
+ );
1303
+ };
1304
+ const invitationsCreate = (orgSlug, createInvitationDto, options) => {
1305
+ return axiosInstance.post(
1306
+ `/v3/${orgSlug}/members/invitations`,
1307
+ createInvitationDto,
1308
+ options
1309
+ );
1310
+ };
1311
+ const invitationsRevoke = (orgSlug, id, options) => {
1312
+ return axiosInstance.delete(
1313
+ `/v3/${orgSlug}/members/invitations/${id}`,
1314
+ options
1315
+ );
1316
+ };
1317
+ const invitationsAccept = (orgSlug, acceptInvitationDto, options) => {
1318
+ return axiosInstance.post(
1319
+ `/v3/${orgSlug}/members/invitations/accept`,
1320
+ acceptInvitationDto,
1321
+ options
1322
+ );
1323
+ };
1324
+ const roleManagementControllerGetCustomRoles = (orgSlug, params, options) => {
1325
+ return axiosInstance.get(
1326
+ `/v3/${orgSlug}/members/roles/custom`,
1327
+ {
1328
+ ...options,
1329
+ params: { ...params, ...options?.params }
1330
+ }
1331
+ );
1332
+ };
1333
+ const roleManagementControllerCreateCustomRole = (orgSlug, createCustomRoleDto, options) => {
1334
+ return axiosInstance.post(
1335
+ `/v3/${orgSlug}/members/roles/custom`,
1336
+ createCustomRoleDto,
1337
+ options
1338
+ );
1339
+ };
1340
+ const roleManagementControllerUpdateCustomRole = (orgSlug, id, updateCustomRoleDto, options) => {
1341
+ return axiosInstance.patch(
1342
+ `/v3/${orgSlug}/members/roles/custom/${id}`,
1343
+ updateCustomRoleDto,
1344
+ options
1345
+ );
1346
+ };
1347
+ const roleManagementControllerDeleteCustomRole = (orgSlug, id, options) => {
1348
+ return axiosInstance.delete(
1349
+ `/v3/${orgSlug}/members/roles/custom/${id}`,
1350
+ options
1351
+ );
1352
+ };
1353
+ const roleManagementControllerGetPermissionSets = (orgSlug, options) => {
1354
+ return axiosInstance.get(
1355
+ `/v3/${orgSlug}/members/roles/permission-sets`,
1356
+ options
1357
+ );
1358
+ };
1359
+ const roleManagementControllerCreatePermissionSet = (orgSlug, createPermissionSetDto, options) => {
1360
+ return axiosInstance.post(
1361
+ `/v3/${orgSlug}/members/roles/permission-sets`,
1362
+ createPermissionSetDto,
1363
+ options
1364
+ );
1365
+ };
1366
+ const roleManagementControllerGetRoleGroups = (orgSlug, options) => {
1367
+ return axiosInstance.get(
1368
+ `/v3/${orgSlug}/members/roles/groups`,
1369
+ options
1370
+ );
1371
+ };
1372
+ const roleManagementControllerCreateRoleGroup = (orgSlug, createRoleGroupDto, options) => {
1373
+ return axiosInstance.post(
1374
+ `/v3/${orgSlug}/members/roles/groups`,
1375
+ createRoleGroupDto,
1376
+ options
1377
+ );
1378
+ };
1379
+ const roleManagementControllerAssignRoles = (orgSlug, memberId, options) => {
1380
+ return axiosInstance.post(
1381
+ `/v3/${orgSlug}/members/roles/member/${memberId}/assign`,
1382
+ void 0,
1383
+ options
1384
+ );
1385
+ };
1386
+ const roleManagementControllerRemoveRoles = (orgSlug, memberId, options) => {
1387
+ return axiosInstance.post(
1388
+ `/v3/${orgSlug}/members/roles/member/${memberId}/remove`,
1389
+ void 0,
1390
+ options
1391
+ );
1392
+ };
1393
+ const departmentsList = (orgSlug, params, options) => {
1394
+ return axiosInstance.get(
1395
+ `/v3/${orgSlug}/members/departments`,
1396
+ {
1397
+ ...options,
1398
+ params: { ...params, ...options?.params }
1399
+ }
1400
+ );
1401
+ };
1402
+ const departmentsCreate = (orgSlug, createDepartmentDto, options) => {
1403
+ return axiosInstance.post(
1404
+ `/v3/${orgSlug}/members/departments`,
1405
+ createDepartmentDto,
1406
+ options
1407
+ );
1408
+ };
1409
+ const departmentsGet = (orgSlug, id, options) => {
1410
+ return axiosInstance.get(
1411
+ `/v3/${orgSlug}/members/departments/${id}`,
1412
+ options
1413
+ );
1414
+ };
1415
+ const departmentsUpdate = (orgSlug, id, updateDepartmentDto, options) => {
1416
+ return axiosInstance.patch(
1417
+ `/v3/${orgSlug}/members/departments/${id}`,
1418
+ updateDepartmentDto,
1419
+ options
1420
+ );
1421
+ };
1422
+ const departmentsDelete = (orgSlug, id, options) => {
1423
+ return axiosInstance.delete(
1424
+ `/v3/${orgSlug}/members/departments/${id}`,
1425
+ options
1426
+ );
1427
+ };
1428
+ const departmentsAddMember = (orgSlug, id, addDepartmentMemberDto, options) => {
1429
+ return axiosInstance.post(
1430
+ `/v3/${orgSlug}/members/departments/${id}/members`,
1431
+ addDepartmentMemberDto,
1432
+ options
1433
+ );
1434
+ };
1435
+ const departmentsRemoveMember = (orgSlug, id, memberId, options) => {
1436
+ return axiosInstance.delete(
1437
+ `/v3/${orgSlug}/members/departments/${id}/members/${memberId}`,
1438
+ options
1439
+ );
1440
+ };
1441
+ const attendanceControllerGetLogs = (orgSlug, params, options) => {
1442
+ return axiosInstance.get(
1443
+ `/v3/${orgSlug}/members/attendance/logs`,
1444
+ {
1445
+ ...options,
1446
+ params: { ...params, ...options?.params }
1447
+ }
1448
+ );
1449
+ };
1450
+ const attendanceControllerCheckIn = (orgSlug, checkInDto, options) => {
1451
+ return axiosInstance.post(
1452
+ `/v3/${orgSlug}/members/attendance/check-in`,
1453
+ checkInDto,
1454
+ options
1455
+ );
1456
+ };
1457
+ const attendanceControllerCheckOut = (orgSlug, checkOutDto, options) => {
1458
+ return axiosInstance.post(
1459
+ `/v3/${orgSlug}/members/attendance/check-out`,
1460
+ checkOutDto,
1461
+ options
1462
+ );
1463
+ };
1464
+ const attendanceControllerGetMyStatus = (orgSlug, options) => {
1465
+ return axiosInstance.get(
1466
+ `/v3/${orgSlug}/members/attendance/me/status`,
1467
+ options
1468
+ );
1469
+ };
1470
+ const attendanceControllerGetStatus = (orgSlug, memberId, options) => {
1471
+ return axiosInstance.get(
1472
+ `/v3/${orgSlug}/members/attendance/${memberId}/status`,
1473
+ options
1474
+ );
1475
+ };
1476
+ const announcementControllerBroadcastAnnouncement = (orgSlug, announcementDto, options) => {
1477
+ return axiosInstance.post(
1478
+ `/v3/${orgSlug}/announcements`,
1479
+ announcementDto,
1480
+ options
1481
+ );
1482
+ };
1483
+ const cartControllerGetCart = (orgSlug, params, options) => {
1484
+ return axiosInstance.get(
1485
+ `/v3/${orgSlug}/cart`,
1486
+ {
1487
+ ...options,
1488
+ params: { ...params, ...options?.params }
1489
+ }
1490
+ );
1491
+ };
1492
+ const cartControllerClearCart = (orgSlug, params, options) => {
1493
+ return axiosInstance.delete(
1494
+ `/v3/${orgSlug}/cart`,
1495
+ {
1496
+ ...options,
1497
+ params: { ...params, ...options?.params }
1498
+ }
1499
+ );
1500
+ };
1501
+ const cartControllerAddToCart = (orgSlug, addToCartDto, options) => {
1502
+ return axiosInstance.post(
1503
+ `/v3/${orgSlug}/cart/items`,
1504
+ addToCartDto,
1505
+ options
1506
+ );
1507
+ };
1508
+ const cartControllerRemoveFromCart = (orgSlug, removeFromCartDto, options) => {
1509
+ return axiosInstance.delete(
1510
+ `/v3/${orgSlug}/cart/items`,
1511
+ { data: removeFromCartDto, ...options }
1512
+ );
1513
+ };
1514
+ const favoritesControllerGetFavorites = (orgSlug, options) => {
1515
+ return axiosInstance.get(
1516
+ `/v3/${orgSlug}/favorites`,
1517
+ options
1518
+ );
1519
+ };
1520
+ const favoritesControllerAddFavorite = (orgSlug, favoriteDto, options) => {
1521
+ return axiosInstance.post(
1522
+ `/v3/${orgSlug}/favorites`,
1523
+ favoriteDto,
1524
+ options
1525
+ );
1526
+ };
1527
+ const favoritesControllerRemoveFavorite = (orgSlug, favoriteDto, options) => {
1528
+ return axiosInstance.delete(
1529
+ `/v3/${orgSlug}/favorites`,
1530
+ { data: favoriteDto, ...options }
1531
+ );
1532
+ };
1533
+ const stockingGetPurchases = (orgSlug, params, options) => {
1534
+ return axiosInstance.get(
1535
+ `/v3/${orgSlug}/stocking/purchases`,
1536
+ {
1537
+ ...options,
1538
+ params: { ...params, ...options?.params }
1539
+ }
1540
+ );
1541
+ };
1542
+ const stockingCreatePurchase = (orgSlug, createPurchaseDto, options) => {
1543
+ return axiosInstance.post(
1544
+ `/v3/${orgSlug}/stocking/purchases`,
1545
+ createPurchaseDto,
1546
+ options
1547
+ );
1548
+ };
1549
+ const stockingReceivePurchase = (orgSlug, id, receivePurchaseDto, options) => {
1550
+ return axiosInstance.post(
1551
+ `/v3/${orgSlug}/stocking/purchases/${id}/receive`,
1552
+ receivePurchaseDto,
1553
+ options
1554
+ );
1555
+ };
1556
+ const stockingGetTransfers = (orgSlug, params, options) => {
1557
+ return axiosInstance.get(
1558
+ `/v3/${orgSlug}/stocking/transfers`,
1559
+ {
1560
+ ...options,
1561
+ params: { ...params, ...options?.params }
1562
+ }
1563
+ );
1564
+ };
1565
+ const stockingCreateTransfer = (orgSlug, createTransferDto, options) => {
1566
+ return axiosInstance.post(
1567
+ `/v3/${orgSlug}/stocking/transfers`,
1568
+ createTransferDto,
1569
+ options
1570
+ );
1571
+ };
1572
+ const stockingShipTransfer = (orgSlug, id, shipTransferDto, options) => {
1573
+ return axiosInstance.post(
1574
+ `/v3/${orgSlug}/stocking/transfers/${id}/ship`,
1575
+ shipTransferDto,
1576
+ options
1577
+ );
1578
+ };
1579
+ const stockingReceiveTransfer = (orgSlug, id, receiveTransferDto, options) => {
1580
+ return axiosInstance.post(
1581
+ `/v3/${orgSlug}/stocking/transfers/${id}/receive`,
1582
+ receiveTransferDto,
1583
+ options
1584
+ );
1585
+ };
1586
+ const stockingGetRequests = (orgSlug, params, options) => {
1587
+ return axiosInstance.get(
1588
+ `/v3/${orgSlug}/stocking/requests`,
1589
+ {
1590
+ ...options,
1591
+ params: { ...params, ...options?.params }
1592
+ }
1593
+ );
1594
+ };
1595
+ const stockingGetPendingDispatch = (orgSlug, params, options) => {
1596
+ return axiosInstance.get(
1597
+ `/v3/${orgSlug}/stocking/reconciliation/pending-dispatch`,
1598
+ {
1599
+ ...options,
1600
+ params: { ...params, ...options?.params }
1601
+ }
1602
+ );
1603
+ };
1604
+ const stockingDispatchOrders = (orgSlug, dispatchOrderDto, options) => {
1605
+ return axiosInstance.post(
1606
+ `/v3/${orgSlug}/stocking/reconciliation/dispatch`,
1607
+ dispatchOrderDto,
1608
+ options
1609
+ );
1610
+ };
1611
+ const stockingGetActiveDeliveries = (orgSlug, params, options) => {
1612
+ return axiosInstance.get(
1613
+ `/v3/${orgSlug}/stocking/reconciliation/active-deliveries`,
1614
+ {
1615
+ ...options,
1616
+ params: { ...params, ...options?.params }
1617
+ }
1618
+ );
1619
+ };
1620
+ const stockingReconcilePod = (orgSlug, reconcilePodDto, options) => {
1621
+ return axiosInstance.post(
1622
+ `/v3/${orgSlug}/stocking/reconciliation/reconcile-pod`,
1623
+ reconcilePodDto,
1624
+ options
1625
+ );
1626
+ };
1627
+ const stockingGetPhysicalReconciliations = (orgSlug, params, options) => {
1628
+ return axiosInstance.get(
1629
+ `/v3/${orgSlug}/stocking/physical-reconciliations`,
1630
+ {
1631
+ ...options,
1632
+ params: { ...params, ...options?.params }
1633
+ }
1634
+ );
1635
+ };
1636
+ const stockingSubmitPhysicalReconciliation = (orgSlug, submitReconciliationDto, options) => {
1637
+ return axiosInstance.post(
1638
+ `/v3/${orgSlug}/stocking/physical-reconciliations`,
1639
+ submitReconciliationDto,
1640
+ options
1641
+ );
1642
+ };
1643
+ const stockingGetReconciliationReport = (orgSlug, id, options) => {
1644
+ return axiosInstance.get(
1645
+ `/v3/${orgSlug}/stocking/physical-reconciliations/${id}/report`,
1646
+ options
1647
+ );
1648
+ };
1649
+ const stockingGetPartners = (orgSlug, options) => {
1650
+ return axiosInstance.get(
1651
+ `/v3/${orgSlug}/stocking/partners`,
1652
+ options
1653
+ );
1654
+ };
1655
+ const stockingCreatePartner = (orgSlug, createPartnerDto, options) => {
1656
+ return axiosInstance.post(
1657
+ `/v3/${orgSlug}/stocking/partners`,
1658
+ createPartnerDto,
1659
+ options
1660
+ );
1661
+ };
1662
+ const stockingGetPartner = (orgSlug, id, options) => {
1663
+ return axiosInstance.get(
1664
+ `/v3/${orgSlug}/stocking/partners/${id}`,
1665
+ options
1666
+ );
1667
+ };
1668
+ const stockingUpdatePartner = (orgSlug, id, updatePartnerDto, options) => {
1669
+ return axiosInstance.patch(
1670
+ `/v3/${orgSlug}/stocking/partners/${id}`,
1671
+ updatePartnerDto,
1672
+ options
1673
+ );
1674
+ };
1675
+ const stockingAdjustPartnerWallet = (orgSlug, id, partnerWalletActionDto, options) => {
1676
+ return axiosInstance.post(
1677
+ `/v3/${orgSlug}/stocking/partners/${id}/wallet/adjust`,
1678
+ partnerWalletActionDto,
1679
+ options
1680
+ );
1681
+ };
1682
+ const standalonePosControllerCreateSetupKey = (createSetupKeyDto, options) => {
1683
+ return axiosInstance.post(
1684
+ `/v3/standalone-pos/setup-keys`,
1685
+ createSetupKeyDto,
1686
+ options
1687
+ );
1688
+ };
1689
+ const standalonePosControllerActivateDevice = (activateDeviceDto, options) => {
1690
+ return axiosInstance.post(
1691
+ `/v3/standalone-pos/activate`,
1692
+ activateDeviceDto,
1693
+ options
1694
+ );
1695
+ };
1696
+ const standalonePosControllerValidateKey = (options) => {
1697
+ return axiosInstance.get(
1698
+ `/v3/standalone-pos/validate`,
1699
+ options
1700
+ );
1701
+ };
1702
+ const standalonePosControllerLinkOrganization = (linkOrganizationDto, options) => {
1703
+ return axiosInstance.patch(
1704
+ `/v3/standalone-pos/link-org`,
1705
+ linkOrganizationDto,
1706
+ options
1707
+ );
1708
+ };
1709
+ const b2BGetCatalog = (orgSlug, params, options) => {
1710
+ return axiosInstance.get(
1711
+ `/v3/${orgSlug}/b2b/catalog`,
1712
+ {
1713
+ ...options,
1714
+ params: { ...params, ...options?.params }
1715
+ }
1716
+ );
1717
+ };
1718
+ const b2BGetInvoices = (orgSlug, options) => {
1719
+ return axiosInstance.get(
1720
+ `/v3/${orgSlug}/b2b/invoices`,
1721
+ options
1722
+ );
1723
+ };
1724
+ const b2BGetOrders = (orgSlug, options) => {
1725
+ return axiosInstance.get(
1726
+ `/v3/${orgSlug}/b2b/orders`,
1727
+ options
1728
+ );
1729
+ };
1730
+ const b2BCreateOrder = (orgSlug, createB2BOrderDto, options) => {
1731
+ return axiosInstance.post(
1732
+ `/v3/${orgSlug}/b2b/orders`,
1733
+ createB2BOrderDto,
1734
+ options
1735
+ );
1736
+ };
1737
+ const b2BCreateQuote = (orgSlug, createB2BOrderDto, options) => {
1738
+ return axiosInstance.post(
1739
+ `/v3/${orgSlug}/b2b/quotes`,
1740
+ createB2BOrderDto,
1741
+ options
1742
+ );
1743
+ };
1744
+ const crmIntegrationsGetAuthUrl = (orgSlug, provider, options) => {
1745
+ return axiosInstance.get(
1746
+ `/v3/${orgSlug}/crm-integrations/${provider}/auth`,
1747
+ options
1748
+ );
1749
+ };
1750
+ const crmIntegrationsHandleCallback = (orgSlug, provider, params, options) => {
1751
+ return axiosInstance.get(
1752
+ `/v3/${orgSlug}/crm-integrations/${provider}/callback`,
1753
+ {
1754
+ ...options,
1755
+ params: { ...params, ...options?.params }
1756
+ }
1757
+ );
1758
+ };
1759
+ const crmIntegrationsHandleWebhook = (orgSlug, provider, options) => {
1760
+ return axiosInstance.post(
1761
+ `/v3/${orgSlug}/crm-integrations/${provider}/webhook`,
1762
+ void 0,
1763
+ options
1764
+ );
1765
+ };
1766
+ const crmIntegrationsReplyToActivity = (orgSlug, id, options) => {
1767
+ return axiosInstance.post(
1768
+ `/v3/${orgSlug}/crm-integrations/activities/${id}/reply`,
1769
+ void 0,
1770
+ options
1771
+ );
1772
+ };
1773
+ const unitsGetUnits = (orgSlug, params, options) => {
1774
+ return axiosInstance.get(
1775
+ `/v3/${orgSlug}/units`,
1776
+ {
1777
+ ...options,
1778
+ params: { ...params, ...options?.params }
1779
+ }
1780
+ );
1781
+ };
1782
+ const strapiCreateConnection = (orgSlug, createStrapiConnectionDto, options) => {
1783
+ return axiosInstance.post(
1784
+ `/v3/${orgSlug}/strapi/connections`,
1785
+ createStrapiConnectionDto,
1786
+ options
1787
+ );
1788
+ };
1789
+ const strapiListConnections = (orgSlug, options) => {
1790
+ return axiosInstance.get(
1791
+ `/v3/${orgSlug}/strapi/connections`,
1792
+ options
1793
+ );
1794
+ };
1795
+ const strapiGetConnection = (orgSlug, connectionId, options) => {
1796
+ return axiosInstance.get(
1797
+ `/v3/${orgSlug}/strapi/connections/${connectionId}`,
1798
+ options
1799
+ );
1800
+ };
1801
+ const strapiUpdateConnection = (orgSlug, connectionId, updateStrapiConnectionDto, options) => {
1802
+ return axiosInstance.patch(
1803
+ `/v3/${orgSlug}/strapi/connections/${connectionId}`,
1804
+ updateStrapiConnectionDto,
1805
+ options
1806
+ );
1807
+ };
1808
+ const strapiDeleteConnection = (orgSlug, connectionId, options) => {
1809
+ return axiosInstance.delete(
1810
+ `/v3/${orgSlug}/strapi/connections/${connectionId}`,
1811
+ options
1812
+ );
1813
+ };
1814
+ const strapiTriggerSync = (orgSlug, connectionId, triggerSyncDto, options) => {
1815
+ return axiosInstance.post(
1816
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/sync`,
1817
+ triggerSyncDto,
1818
+ options
1819
+ );
1820
+ };
1821
+ const strapiEnqueueSync = (orgSlug, connectionId, triggerSyncDto, options) => {
1822
+ return axiosInstance.post(
1823
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/sync/queue`,
1824
+ triggerSyncDto,
1825
+ options
1826
+ );
1827
+ };
1828
+ const strapiGetWebhookLogs = (orgSlug, connectionId, options) => {
1829
+ return axiosInstance.get(
1830
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/webhook-logs`,
1831
+ options
1832
+ );
1833
+ };
1834
+ const strapiGetSyncLogs = (orgSlug, connectionId, options) => {
1835
+ return axiosInstance.get(
1836
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/sync-logs`,
1837
+ options
1838
+ );
1839
+ };
1840
+ const strapiExchangeCustomerToken = (orgSlug, connectionId, options) => {
1841
+ return axiosInstance.post(
1842
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/customers/exchange-token`,
1843
+ void 0,
1844
+ options
1845
+ );
1846
+ };
1847
+ const strapiRegisterCustomer = (orgSlug, connectionId, options) => {
1848
+ return axiosInstance.post(
1849
+ `/v3/${orgSlug}/strapi/connections/${connectionId}/customers/register`,
1850
+ void 0,
1851
+ options
1852
+ );
1853
+ };
1854
+ const strapiReceiveWebhook = (connectionId, options) => {
1855
+ return axiosInstance.post(
1856
+ `/v3/webhooks/strapi/${connectionId}`,
1857
+ void 0,
1858
+ options
1859
+ );
1860
+ };
1861
+ const analyticsControllerGetDashboardAnalytics = (orgSlug, options) => {
1862
+ return axiosInstance.get(
1863
+ `/v3/${orgSlug}/analytics/dashboard`,
1864
+ options
1865
+ );
1866
+ };
1867
+ const analyticsControllerGetResourceUtilization = (orgSlug, params, options) => {
1868
+ return axiosInstance.get(
1869
+ `/v3/${orgSlug}/analytics/utilization`,
1870
+ {
1871
+ ...options,
1872
+ params: { ...params, ...options?.params }
1873
+ }
1874
+ );
1875
+ };
1876
+ return { inventoryVerifyIntegrity, inventoryFixIntegrity, inventoryGetInventory, inventoryTraceBatch, inventorySplitBatch, inventoryMergeBatches, inventoryCreateAssembly, inventoryCompleteAssembly, inventoryRequestAdjustment, inventoryGetAdjustments, inventoryApproveAdjustment, inventoryRejectAdjustment, inventoryGetLeadTime, inventoryGetWasteAnalysis, inventoryCheckB2BAvailability, inventoryUnpackBatch, inventoryScanUnpackBatch, inventoryQuickStockInquiry, expenseControllerCreateExpense, expenseControllerGetExpenses, expenseControllerGetExpenseCategories, expenseControllerGetExpense, pettyCashControllerCreateFund, pettyCashControllerGetFunds, pettyCashControllerGetFund, pettyCashControllerTopUpFund, pettyCashControllerGetFundTransactions, utilityAccountControllerCreateAccount, utilityAccountControllerGetAccounts, utilityAccountControllerGetAccount, accountingInitialize, accountingGetProfitLoss, accountingGetBalanceSheet, accountingGetCashFlow, accountingGetTaxSummary, invoiceControllerCreateInvoice, invoiceControllerGetInvoices, invoiceControllerGetInvoice, invoiceControllerUpdateInvoice, invoiceControllerDeleteInvoice, invoiceControllerFinalizeInvoice, invoiceControllerGetTemplates, invoiceControllerCreateTemplate, invoiceControllerGetConfig, invoiceControllerUpdateConfig, publicInvoiceControllerDownloadInvoice, publicInvoiceControllerDownloadInvoiceByTransaction, publicInvoiceControllerDownloadReceipt, publicInvoiceControllerGeneratePublicLink, authExchangeToken, authControllerHandleOAuth2, adminControllerGetStats, adminControllerListOrganizations, adminControllerCreateOrganization, adminControllerGetOrganizationDetails, adminControllerUpdateOrganization, adminControllerDeleteOrganization, adminControllerListMembers, adminControllerListUsers, adminControllerBanUser, adminControllerUnbanUser, adminControllerListConnectedApps, adminControllerListSystemLogs, adminControllerListGlobalSettings, adminControllerSetGlobalSetting, adminControllerDeleteGlobalSetting, adminControllerListTiers, adminControllerDefineTier, adminControllerDeleteTier, adminControllerGetOrganizationSubscription, adminControllerUpdateOrganizationSubscription, adminControllerListSystemPayments, adminControllerRecordCustomPayment, adminControllerListIntegrationDefinitions, adminControllerCreateIntegrationDefinition, adminControllerUpdateIntegrationDefinition, adminControllerDeleteIntegrationDefinition, adminControllerListActiveOrganizationIntegrations, webhooksCreate, webhooksList, webhooksDelete, windmillCallbackControllerHandleCallback, windmillCallbackControllerHandleApprovalCallback, windmillCallbackControllerHandleBakeryDisposalCallback, windmillCallbackControllerHandleOutcomeCallback, catalogGetProducts, catalogCreateProduct, catalogGetServices, catalogUpdateProduct, catalogUpdateSupplierVariant, catalogGetPriceChangeRequests, catalogReviewPriceChangeRequest, servicesCreateCategory, servicesGetCategories, servicesUpdateCategory, servicesDeleteCategory, servicesCreateService, servicesGetServices, servicesGetCurrentMemberShifts, servicesGetShifts, servicesGetService, servicesUpdateService, servicesDeleteService, servicesCreateResource, servicesGetResources, servicesUpdateResource, servicesDeleteResource, servicesCreateBooking, servicesGetBookings, servicesGetBooking, servicesUpdateBookingStatus, servicesCompleteBooking, servicesCreateShift, servicesGetStaffShifts, servicesAddBreak, servicesRegisterCustomerApp, servicesGetUtilization, servicesGetPerformance, servicesGetFunnel, customersProvisionZitadel, customersGetCustomers, customersRegister, customersUpdate, customersGetCustomerById, customersDelete, customersGetAddresses, customersAddAddress, businessAccountControllerCreate, businessAccountControllerGetOne, crmControllerCreateRecord, crmControllerGetRecord, crmControllerUpdateRecord, crmControllerCreateNote, crmControllerGetRecordNotes, crmControllerCreateActivity, crmControllerGetTimeline, crmControllerCreateObject, crmControllerListObjects, crmControllerCreateField, crmControllerListFields, crmControllerCreateRelationship, crmControllerListRelationships, crmControllerCreateAssociation, crmControllerListRecordAssociations, loyaltyRedeemReward, loyaltyGetCustomerStatus, loyaltyValidateVoucher, ordersCreateOrder, ordersGetOrders, ordersUpdateStatus, ordersRequestB2BQuote, ordersConvertQuoteToOrder, paymentsControllerHandleStkCallback, pOSProvision, pOSLogin, pOSGetMe, pOSProcessSale, pOSSync, pOSGetTransactions, pOSRegisterPettyCash, pOSGetPettyCashFunds, pOSGetPettyCashTransactions, membersControllerGetMembers, membersControllerCreateMember, membersControllerGetMember, membersControllerUpdateMember, membersControllerDeleteMember, membersControllerGetMemberActivity, membersControllerUpdateStatus, membersControllerAdminCheckOut, terminalMembersControllerLogin, invitationsList, invitationsCreate, invitationsRevoke, invitationsAccept, roleManagementControllerGetCustomRoles, roleManagementControllerCreateCustomRole, roleManagementControllerUpdateCustomRole, roleManagementControllerDeleteCustomRole, roleManagementControllerGetPermissionSets, roleManagementControllerCreatePermissionSet, roleManagementControllerGetRoleGroups, roleManagementControllerCreateRoleGroup, roleManagementControllerAssignRoles, roleManagementControllerRemoveRoles, departmentsList, departmentsCreate, departmentsGet, departmentsUpdate, departmentsDelete, departmentsAddMember, departmentsRemoveMember, attendanceControllerGetLogs, attendanceControllerCheckIn, attendanceControllerCheckOut, attendanceControllerGetMyStatus, attendanceControllerGetStatus, announcementControllerBroadcastAnnouncement, cartControllerGetCart, cartControllerClearCart, cartControllerAddToCart, cartControllerRemoveFromCart, favoritesControllerGetFavorites, favoritesControllerAddFavorite, favoritesControllerRemoveFavorite, stockingGetPurchases, stockingCreatePurchase, stockingReceivePurchase, stockingGetTransfers, stockingCreateTransfer, stockingShipTransfer, stockingReceiveTransfer, stockingGetRequests, stockingGetPendingDispatch, stockingDispatchOrders, stockingGetActiveDeliveries, stockingReconcilePod, stockingGetPhysicalReconciliations, stockingSubmitPhysicalReconciliation, stockingGetReconciliationReport, stockingGetPartners, stockingCreatePartner, stockingGetPartner, stockingUpdatePartner, stockingAdjustPartnerWallet, standalonePosControllerCreateSetupKey, standalonePosControllerActivateDevice, standalonePosControllerValidateKey, standalonePosControllerLinkOrganization, b2BGetCatalog, b2BGetInvoices, b2BGetOrders, b2BCreateOrder, b2BCreateQuote, crmIntegrationsGetAuthUrl, crmIntegrationsHandleCallback, crmIntegrationsHandleWebhook, crmIntegrationsReplyToActivity, unitsGetUnits, strapiCreateConnection, strapiListConnections, strapiGetConnection, strapiUpdateConnection, strapiDeleteConnection, strapiTriggerSync, strapiEnqueueSync, strapiGetWebhookLogs, strapiGetSyncLogs, strapiExchangeCustomerToken, strapiRegisterCustomer, strapiReceiveWebhook, analyticsControllerGetDashboardAnalytics, analyticsControllerGetResourceUtilization };
1877
+ };
1878
+
1879
+ // src/generated/model/addDepartmentMemberDtoRole.ts
1880
+ var AddDepartmentMemberDtoRole = {
1881
+ HEAD: "HEAD",
1882
+ MANAGER: "MANAGER",
1883
+ MEMBER: "MEMBER",
1884
+ VIEWER: "VIEWER"
1885
+ };
1886
+
1887
+ // src/generated/model/attendanceControllerGetLogsSortOrder.ts
1888
+ var AttendanceControllerGetLogsSortOrder = {
1889
+ asc: "asc",
1890
+ desc: "desc"
1891
+ };
1892
+
1893
+ // src/generated/model/cmsCustomFieldsDtoPublishStatus.ts
1894
+ var CmsCustomFieldsDtoPublishStatus = {
1895
+ Draft: "Draft",
1896
+ Published: "Published",
1897
+ Scheduled: "Scheduled",
1898
+ Archived: "Archived"
1899
+ };
1900
+
1901
+ // src/generated/model/createCrmFieldDtoType.ts
1902
+ var CreateCrmFieldDtoType = {
1903
+ TEXT: "TEXT",
1904
+ NUMBER: "NUMBER",
1905
+ BOOLEAN: "BOOLEAN",
1906
+ DATE: "DATE",
1907
+ SELECT: "SELECT",
1908
+ MULTI_SELECT: "MULTI_SELECT",
1909
+ EMAIL: "EMAIL",
1910
+ PHONE: "PHONE",
1911
+ URL: "URL",
1912
+ JSON: "JSON"
1913
+ };
1914
+
1915
+ // src/generated/model/createCrmRelationshipDtoType.ts
1916
+ var CreateCrmRelationshipDtoType = {
1917
+ ONE_TO_ONE: "ONE_TO_ONE",
1918
+ ONE_TO_MANY: "ONE_TO_MANY",
1919
+ MANY_TO_MANY: "MANY_TO_MANY"
1920
+ };
1921
+
1922
+ // src/generated/model/createExpenseDtoPaymentMethod.ts
1923
+ var CreateExpenseDtoPaymentMethod = {
1924
+ CASH: "CASH",
1925
+ CREDIT: "CREDIT",
1926
+ CARD: "CARD",
1927
+ MOBILE_PAYMENT: "MOBILE_PAYMENT",
1928
+ MPESA_C2B: "MPESA_C2B",
1929
+ BANK_TRANSFER: "BANK_TRANSFER",
1930
+ CHEQUE: "CHEQUE",
1931
+ STORE_CREDIT: "STORE_CREDIT",
1932
+ GIFT_CARD: "GIFT_CARD",
1933
+ LOYALTY_POINTS: "LOYALTY_POINTS",
1934
+ ON_ACCOUNT: "ON_ACCOUNT",
1935
+ MPESA: "MPESA",
1936
+ OTHER: "OTHER"
1937
+ };
1938
+
1939
+ // src/generated/model/createIntegrationDefinitionDtoAuthType.ts
1940
+ var CreateIntegrationDefinitionDtoAuthType = {
1941
+ API_KEY: "API_KEY",
1942
+ OAUTH2: "OAUTH2",
1943
+ OTHER: "OTHER"
1944
+ };
1945
+
1946
+ // src/generated/model/createIntegrationDefinitionDtoCategory.ts
1947
+ var CreateIntegrationDefinitionDtoCategory = {
1948
+ E_COMMERCE: "E_COMMERCE",
1949
+ ACCOUNTING: "ACCOUNTING",
1950
+ MARKETING: "MARKETING",
1951
+ PAYMENT_GATEWAY: "PAYMENT_GATEWAY",
1952
+ CRM: "CRM",
1953
+ COMMUNICATION: "COMMUNICATION",
1954
+ OTHER: "OTHER"
1955
+ };
1956
+
1957
+ // src/generated/model/createInvitationDtoRole.ts
1958
+ var CreateInvitationDtoRole = {
1959
+ OWNER: "OWNER",
1960
+ ADMIN: "ADMIN",
1961
+ MANAGER: "MANAGER",
1962
+ EMPLOYEE: "EMPLOYEE",
1963
+ CASHIER: "CASHIER",
1964
+ REPORTER: "REPORTER",
1965
+ GUEST: "GUEST"
1966
+ };
1967
+
1968
+ // src/generated/model/createMemberDtoRole.ts
1969
+ var CreateMemberDtoRole = {
1970
+ OWNER: "OWNER",
1971
+ ADMIN: "ADMIN",
1972
+ MANAGER: "MANAGER",
1973
+ EMPLOYEE: "EMPLOYEE",
1974
+ CASHIER: "CASHIER",
1975
+ REPORTER: "REPORTER",
1976
+ GUEST: "GUEST"
1977
+ };
1978
+
1979
+ // src/generated/model/createOrderDtoChannel.ts
1980
+ var CreateOrderDtoChannel = {
1981
+ ECOMMERCE_STORE: "ECOMMERCE_STORE",
1982
+ MOBILE_APP: "MOBILE_APP"
1983
+ };
1984
+
1985
+ // src/generated/model/createPartnerDtoBenefitType.ts
1986
+ var CreatePartnerDtoBenefitType = {
1987
+ COMMISSION: "COMMISSION",
1988
+ FIXED_FEE: "FIXED_FEE",
1989
+ PROFIT_MARGIN: "PROFIT_MARGIN",
1990
+ NONE: "NONE"
1991
+ };
1992
+
1993
+ // src/generated/model/createPartnerDtoReconciliationPolicy.ts
1994
+ var CreatePartnerDtoReconciliationPolicy = {
1995
+ RETURN_TO_STOCK: "RETURN_TO_STOCK",
1996
+ MARK_AS_WASTE: "MARK_AS_WASTE",
1997
+ PARTNER_CHARGED: "PARTNER_CHARGED"
1998
+ };
1999
+
2000
+ // src/generated/model/createServiceDtoPricingModel.ts
2001
+ var CreateServiceDtoPricingModel = {
2002
+ FIXED: "FIXED",
2003
+ HOURLY: "HOURLY",
2004
+ VARIABLE: "VARIABLE"
2005
+ };
2006
+
2007
+ // src/generated/model/createStrapiConnectionDtoEnabledSyncTypesItem.ts
2008
+ var CreateStrapiConnectionDtoEnabledSyncTypesItem = {
2009
+ PRODUCTS: "PRODUCTS",
2010
+ INVENTORY: "INVENTORY",
2011
+ ORDERS: "ORDERS",
2012
+ CUSTOMERS: "CUSTOMERS",
2013
+ CATEGORIES: "CATEGORIES",
2014
+ PRICES: "PRICES"
2015
+ };
2016
+
2017
+ // src/generated/model/createStrapiConnectionDtoSyncDirection.ts
2018
+ var CreateStrapiConnectionDtoSyncDirection = {
2019
+ INBOUND: "INBOUND",
2020
+ OUTBOUND: "OUTBOUND",
2021
+ BIDIRECTIONAL: "BIDIRECTIONAL"
2022
+ };
2023
+
2024
+ // src/generated/model/createTransferDtoPriority.ts
2025
+ var CreateTransferDtoPriority = {
2026
+ LOW: "LOW",
2027
+ MEDIUM: "MEDIUM",
2028
+ HIGH: "HIGH",
2029
+ URGENT: "URGENT"
2030
+ };
2031
+
2032
+ // src/generated/model/createUtilityAccountDtoType.ts
2033
+ var CreateUtilityAccountDtoType = {
2034
+ ELECTRICITY: "ELECTRICITY",
2035
+ WATER: "WATER",
2036
+ INTERNET: "INTERNET",
2037
+ GAS: "GAS",
2038
+ WASTE_MANAGEMENT: "WASTE_MANAGEMENT",
2039
+ OTHER: "OTHER"
2040
+ };
2041
+
2042
+ // src/generated/model/departmentsListSortOrder.ts
2043
+ var DepartmentsListSortOrder = {
2044
+ asc: "asc",
2045
+ desc: "desc"
2046
+ };
2047
+
2048
+ // src/generated/model/expenseControllerGetExpensesStatus.ts
2049
+ var ExpenseControllerGetExpensesStatus = {
2050
+ PENDING: "PENDING",
2051
+ PENDING_APPROVAL: "PENDING_APPROVAL",
2052
+ APPROVED: "APPROVED",
2053
+ REJECTED: "REJECTED",
2054
+ PAID: "PAID",
2055
+ REIMBURSED: "REIMBURSED",
2056
+ VOIDED: "VOIDED"
2057
+ };
2058
+
2059
+ // src/generated/model/invitationResponseDtoRole.ts
2060
+ var InvitationResponseDtoRole = {
2061
+ OWNER: "OWNER",
2062
+ ADMIN: "ADMIN",
2063
+ MANAGER: "MANAGER",
2064
+ EMPLOYEE: "EMPLOYEE",
2065
+ CASHIER: "CASHIER",
2066
+ REPORTER: "REPORTER",
2067
+ GUEST: "GUEST"
2068
+ };
2069
+
2070
+ // src/generated/model/invitationResponseDtoStatus.ts
2071
+ var InvitationResponseDtoStatus = {
2072
+ PENDING: "PENDING",
2073
+ ACCEPTED: "ACCEPTED",
2074
+ DECLINED: "DECLINED",
2075
+ EXPIRED: "EXPIRED"
2076
+ };
2077
+
2078
+ // src/generated/model/invitationsListSortOrder.ts
2079
+ var InvitationsListSortOrder = {
2080
+ asc: "asc",
2081
+ desc: "desc"
2082
+ };
2083
+
2084
+ // src/generated/model/invitationsListStatus.ts
2085
+ var InvitationsListStatus = {
2086
+ PENDING: "PENDING",
2087
+ ACCEPTED: "ACCEPTED",
2088
+ DECLINED: "DECLINED",
2089
+ EXPIRED: "EXPIRED"
2090
+ };
2091
+
2092
+ // src/generated/model/memberResponseDtoMembershipStatus.ts
2093
+ var MemberResponseDtoMembershipStatus = {
2094
+ ACTIVE: "ACTIVE",
2095
+ PENDING_APPROVAL: "PENDING_APPROVAL",
2096
+ SUSPENDED: "SUSPENDED",
2097
+ REJECTED: "REJECTED"
2098
+ };
2099
+
2100
+ // src/generated/model/memberResponseDtoRole.ts
2101
+ var MemberResponseDtoRole = {
2102
+ OWNER: "OWNER",
2103
+ ADMIN: "ADMIN",
2104
+ MANAGER: "MANAGER",
2105
+ EMPLOYEE: "EMPLOYEE",
2106
+ CASHIER: "CASHIER",
2107
+ REPORTER: "REPORTER",
2108
+ GUEST: "GUEST"
2109
+ };
2110
+
2111
+ // src/generated/model/memberResponseDtoStatus.ts
2112
+ var MemberResponseDtoStatus = {
2113
+ ONLINE: "ONLINE",
2114
+ OFFLINE: "OFFLINE"
2115
+ };
2116
+
2117
+ // src/generated/model/membersControllerGetMembersMembershipStatus.ts
2118
+ var MembersControllerGetMembersMembershipStatus = {
2119
+ ACTIVE: "ACTIVE",
2120
+ PENDING_APPROVAL: "PENDING_APPROVAL",
2121
+ SUSPENDED: "SUSPENDED",
2122
+ REJECTED: "REJECTED"
2123
+ };
2124
+
2125
+ // src/generated/model/membersControllerGetMembersRole.ts
2126
+ var MembersControllerGetMembersRole = {
2127
+ OWNER: "OWNER",
2128
+ ADMIN: "ADMIN",
2129
+ MANAGER: "MANAGER",
2130
+ EMPLOYEE: "EMPLOYEE",
2131
+ CASHIER: "CASHIER",
2132
+ REPORTER: "REPORTER",
2133
+ GUEST: "GUEST"
2134
+ };
2135
+
2136
+ // src/generated/model/membersControllerGetMembersSortOrder.ts
2137
+ var MembersControllerGetMembersSortOrder = {
2138
+ asc: "asc",
2139
+ desc: "desc"
2140
+ };
2141
+
2142
+ // src/generated/model/reconcilePodDtoOutcome.ts
2143
+ var ReconcilePodDtoOutcome = {
2144
+ DELIVERED: "DELIVERED",
2145
+ FAILED: "FAILED",
2146
+ PARTIAL: "PARTIAL"
2147
+ };
2148
+
2149
+ // src/generated/model/registerPettyCashDtoPaymentMethod.ts
2150
+ var RegisterPettyCashDtoPaymentMethod = {
2151
+ CASH: "CASH",
2152
+ CREDIT: "CREDIT",
2153
+ CARD: "CARD",
2154
+ MOBILE_PAYMENT: "MOBILE_PAYMENT",
2155
+ MPESA_C2B: "MPESA_C2B",
2156
+ BANK_TRANSFER: "BANK_TRANSFER",
2157
+ CHEQUE: "CHEQUE",
2158
+ STORE_CREDIT: "STORE_CREDIT",
2159
+ GIFT_CARD: "GIFT_CARD",
2160
+ LOYALTY_POINTS: "LOYALTY_POINTS",
2161
+ ON_ACCOUNT: "ON_ACCOUNT",
2162
+ MPESA: "MPESA",
2163
+ OTHER: "OTHER"
2164
+ };
2165
+
2166
+ // src/generated/model/reviewPriceChangeDtoStatus.ts
2167
+ var ReviewPriceChangeDtoStatus = {
2168
+ PENDING: "PENDING",
2169
+ APPROVED: "APPROVED",
2170
+ REJECTED: "REJECTED",
2171
+ EXPIRED: "EXPIRED",
2172
+ CANCELLED: "CANCELLED"
2173
+ };
2174
+
2175
+ // src/generated/model/roleManagementControllerGetCustomRolesSortOrder.ts
2176
+ var RoleManagementControllerGetCustomRolesSortOrder = {
2177
+ asc: "asc",
2178
+ desc: "desc"
2179
+ };
2180
+
2181
+ // src/generated/model/servicesUpdateBookingStatusBodyStatus.ts
2182
+ var ServicesUpdateBookingStatusBodyStatus = {
2183
+ REQUESTED: "REQUESTED",
2184
+ SCHEDULED: "SCHEDULED",
2185
+ IN_PROGRESS: "IN_PROGRESS",
2186
+ COMPLETED: "COMPLETED",
2187
+ CANCELLED: "CANCELLED",
2188
+ NOSHOW: "NOSHOW"
2189
+ };
2190
+
2191
+ // src/generated/model/triggerSyncDtoDirection.ts
2192
+ var TriggerSyncDtoDirection = {
2193
+ INBOUND: "INBOUND",
2194
+ OUTBOUND: "OUTBOUND",
2195
+ BIDIRECTIONAL: "BIDIRECTIONAL"
2196
+ };
2197
+
2198
+ // src/generated/model/triggerSyncDtoSyncTypesItem.ts
2199
+ var TriggerSyncDtoSyncTypesItem = {
2200
+ PRODUCTS: "PRODUCTS",
2201
+ INVENTORY: "INVENTORY",
2202
+ ORDERS: "ORDERS",
2203
+ CUSTOMERS: "CUSTOMERS",
2204
+ CATEGORIES: "CATEGORIES",
2205
+ PRICES: "PRICES"
2206
+ };
2207
+
2208
+ // src/generated/model/updateIntegrationDefinitionDtoAuthType.ts
2209
+ var UpdateIntegrationDefinitionDtoAuthType = {
2210
+ API_KEY: "API_KEY",
2211
+ OAUTH2: "OAUTH2",
2212
+ OTHER: "OTHER"
2213
+ };
2214
+
2215
+ // src/generated/model/updateIntegrationDefinitionDtoCategory.ts
2216
+ var UpdateIntegrationDefinitionDtoCategory = {
2217
+ E_COMMERCE: "E_COMMERCE",
2218
+ ACCOUNTING: "ACCOUNTING",
2219
+ MARKETING: "MARKETING",
2220
+ PAYMENT_GATEWAY: "PAYMENT_GATEWAY",
2221
+ CRM: "CRM",
2222
+ COMMUNICATION: "COMMUNICATION",
2223
+ OTHER: "OTHER"
2224
+ };
2225
+
2226
+ // src/generated/model/updateMemberDtoMembershipStatus.ts
2227
+ var UpdateMemberDtoMembershipStatus = {
2228
+ ACTIVE: "ACTIVE",
2229
+ PENDING_APPROVAL: "PENDING_APPROVAL",
2230
+ SUSPENDED: "SUSPENDED",
2231
+ REJECTED: "REJECTED"
2232
+ };
2233
+
2234
+ // src/generated/model/updateMemberDtoRole.ts
2235
+ var UpdateMemberDtoRole = {
2236
+ OWNER: "OWNER",
2237
+ ADMIN: "ADMIN",
2238
+ MANAGER: "MANAGER",
2239
+ EMPLOYEE: "EMPLOYEE",
2240
+ CASHIER: "CASHIER",
2241
+ REPORTER: "REPORTER",
2242
+ GUEST: "GUEST"
2243
+ };
2244
+
2245
+ // src/generated/model/updateMemberDtoStatus.ts
2246
+ var UpdateMemberDtoStatus = {
2247
+ ONLINE: "ONLINE",
2248
+ OFFLINE: "OFFLINE"
2249
+ };
2250
+
2251
+ // src/generated/model/updatePartnerDtoBenefitType.ts
2252
+ var UpdatePartnerDtoBenefitType = {
2253
+ COMMISSION: "COMMISSION",
2254
+ FIXED_FEE: "FIXED_FEE",
2255
+ PROFIT_MARGIN: "PROFIT_MARGIN",
2256
+ NONE: "NONE"
2257
+ };
2258
+
2259
+ // src/generated/model/updatePartnerDtoReconciliationPolicy.ts
2260
+ var UpdatePartnerDtoReconciliationPolicy = {
2261
+ RETURN_TO_STOCK: "RETURN_TO_STOCK",
2262
+ MARK_AS_WASTE: "MARK_AS_WASTE",
2263
+ PARTNER_CHARGED: "PARTNER_CHARGED"
2264
+ };
2265
+
2266
+ // src/generated/model/updateServiceDtoPricingModel.ts
2267
+ var UpdateServiceDtoPricingModel = {
2268
+ FIXED: "FIXED",
2269
+ HOURLY: "HOURLY",
2270
+ VARIABLE: "VARIABLE"
2271
+ };
2272
+
2273
+ // src/generated/model/updateStrapiConnectionDtoEnabledSyncTypesItem.ts
2274
+ var UpdateStrapiConnectionDtoEnabledSyncTypesItem = {
2275
+ PRODUCTS: "PRODUCTS",
2276
+ INVENTORY: "INVENTORY",
2277
+ ORDERS: "ORDERS",
2278
+ CUSTOMERS: "CUSTOMERS",
2279
+ CATEGORIES: "CATEGORIES",
2280
+ PRICES: "PRICES"
2281
+ };
2282
+
2283
+ // src/generated/model/updateStrapiConnectionDtoSyncDirection.ts
2284
+ var UpdateStrapiConnectionDtoSyncDirection = {
2285
+ INBOUND: "INBOUND",
2286
+ OUTBOUND: "OUTBOUND",
2287
+ BIDIRECTIONAL: "BIDIRECTIONAL"
2288
+ };
2289
+
2290
+ // src/base.ts
2291
+ var methodsWithOrgSlugSet = /* @__PURE__ */ new Set([
2292
+ "inventoryVerifyIntegrity",
2293
+ "inventoryFixIntegrity",
2294
+ "inventoryGetInventory",
2295
+ "inventoryTraceBatch",
2296
+ "inventorySplitBatch",
2297
+ "inventoryMergeBatches",
2298
+ "inventoryCreateAssembly",
2299
+ "inventoryCompleteAssembly",
2300
+ "inventoryRequestAdjustment",
2301
+ "inventoryGetAdjustments",
2302
+ "inventoryApproveAdjustment",
2303
+ "inventoryRejectAdjustment",
2304
+ "inventoryGetLeadTime",
2305
+ "inventoryGetWasteAnalysis",
2306
+ "inventoryCheckB2BAvailability",
2307
+ "inventoryUnpackBatch",
2308
+ "inventoryScanUnpackBatch",
2309
+ "inventoryQuickStockInquiry",
2310
+ "accountingInitialize",
2311
+ "accountingGetProfitLoss",
2312
+ "accountingGetBalanceSheet",
2313
+ "accountingGetCashFlow",
2314
+ "accountingGetTaxSummary",
2315
+ "webhooksCreate",
2316
+ "webhooksList",
2317
+ "webhooksDelete",
2318
+ "catalogGetProducts",
2319
+ "catalogCreateProduct",
2320
+ "catalogGetServices",
2321
+ "catalogUpdateProduct",
2322
+ "catalogUpdateSupplierVariant",
2323
+ "catalogGetPriceChangeRequests",
2324
+ "catalogReviewPriceChangeRequest",
2325
+ "servicesCreateCategory",
2326
+ "servicesGetCategories",
2327
+ "servicesUpdateCategory",
2328
+ "servicesDeleteCategory",
2329
+ "servicesCreateService",
2330
+ "servicesGetServices",
2331
+ "servicesGetCurrentMemberShifts",
2332
+ "servicesGetShifts",
2333
+ "servicesGetService",
2334
+ "servicesUpdateService",
2335
+ "servicesDeleteService",
2336
+ "servicesCreateResource",
2337
+ "servicesGetResources",
2338
+ "servicesUpdateResource",
2339
+ "servicesDeleteResource",
2340
+ "servicesCreateBooking",
2341
+ "servicesGetBookings",
2342
+ "servicesGetBooking",
2343
+ "servicesUpdateBookingStatus",
2344
+ "servicesCompleteBooking",
2345
+ "servicesCreateShift",
2346
+ "servicesGetStaffShifts",
2347
+ "servicesAddBreak",
2348
+ "servicesRegisterCustomerApp",
2349
+ "servicesGetUtilization",
2350
+ "servicesGetPerformance",
2351
+ "servicesGetFunnel",
2352
+ "customersProvisionZitadel",
2353
+ "customersGetCustomers",
2354
+ "customersRegister",
2355
+ "customersUpdate",
2356
+ "customersGetCustomerById",
2357
+ "customersDelete",
2358
+ "customersGetAddresses",
2359
+ "customersAddAddress",
2360
+ "businessAccountControllerCreate",
2361
+ "businessAccountControllerGetOne",
2362
+ "crmControllerCreateRecord",
2363
+ "crmControllerGetRecord",
2364
+ "crmControllerUpdateRecord",
2365
+ "crmControllerCreateNote",
2366
+ "crmControllerGetRecordNotes",
2367
+ "crmControllerCreateActivity",
2368
+ "crmControllerGetTimeline",
2369
+ "crmControllerCreateObject",
2370
+ "crmControllerListObjects",
2371
+ "crmControllerCreateField",
2372
+ "crmControllerListFields",
2373
+ "crmControllerCreateRelationship",
2374
+ "crmControllerListRelationships",
2375
+ "crmControllerCreateAssociation",
2376
+ "crmControllerListRecordAssociations",
2377
+ "loyaltyRedeemReward",
2378
+ "loyaltyGetCustomerStatus",
2379
+ "loyaltyValidateVoucher",
2380
+ "ordersCreateOrder",
2381
+ "ordersGetOrders",
2382
+ "ordersUpdateStatus",
2383
+ "ordersRequestB2BQuote",
2384
+ "ordersConvertQuoteToOrder",
2385
+ "paymentsControllerHandleStkCallback",
2386
+ "pOSProvision",
2387
+ "pOSLogin",
2388
+ "pOSGetMe",
2389
+ "pOSProcessSale",
2390
+ "pOSSync",
2391
+ "pOSGetTransactions",
2392
+ "pOSRegisterPettyCash",
2393
+ "pOSGetPettyCashFunds",
2394
+ "pOSGetPettyCashTransactions",
2395
+ "membersControllerGetMembers",
2396
+ "membersControllerCreateMember",
2397
+ "membersControllerGetMember",
2398
+ "membersControllerUpdateMember",
2399
+ "membersControllerDeleteMember",
2400
+ "membersControllerGetMemberActivity",
2401
+ "membersControllerUpdateStatus",
2402
+ "membersControllerAdminCheckOut",
2403
+ "invitationsList",
2404
+ "invitationsCreate",
2405
+ "invitationsRevoke",
2406
+ "invitationsAccept",
2407
+ "roleManagementControllerGetCustomRoles",
2408
+ "roleManagementControllerCreateCustomRole",
2409
+ "roleManagementControllerUpdateCustomRole",
2410
+ "roleManagementControllerDeleteCustomRole",
2411
+ "roleManagementControllerGetPermissionSets",
2412
+ "roleManagementControllerCreatePermissionSet",
2413
+ "roleManagementControllerGetRoleGroups",
2414
+ "roleManagementControllerCreateRoleGroup",
2415
+ "roleManagementControllerAssignRoles",
2416
+ "roleManagementControllerRemoveRoles",
2417
+ "departmentsList"
2418
+ ]);
2419
+ var catalogMapping = {
2420
+ getProducts: "catalogGetProducts",
2421
+ createProduct: "catalogCreateProduct",
2422
+ getServices: "catalogGetServices",
2423
+ updateProduct: "catalogUpdateProduct",
2424
+ updateSupplierVariant: "catalogUpdateSupplierVariant",
2425
+ getPriceChangeRequests: "catalogGetPriceChangeRequests",
2426
+ reviewPriceChangeRequest: "catalogReviewPriceChangeRequest",
2427
+ createServiceCategory: "servicesCreateCategory",
2428
+ getServiceCategories: "servicesGetCategories",
2429
+ updateServiceCategory: "servicesUpdateCategory",
2430
+ deleteServiceCategory: "servicesDeleteCategory",
2431
+ createService: "servicesCreateService",
2432
+ getServicesList: "servicesGetServices",
2433
+ getCurrentMemberShifts: "servicesGetCurrentMemberShifts",
2434
+ getShifts: "servicesGetShifts",
2435
+ getService: "servicesGetService",
2436
+ updateService: "servicesUpdateService",
2437
+ deleteService: "servicesDeleteService",
2438
+ createResource: "servicesCreateResource",
2439
+ getResources: "servicesGetResources",
2440
+ updateResource: "servicesUpdateResource",
2441
+ deleteResource: "servicesDeleteResource",
2442
+ createBooking: "servicesCreateBooking",
2443
+ getBookings: "servicesGetBookings",
2444
+ getBooking: "servicesGetBooking",
2445
+ updateBookingStatus: "servicesUpdateBookingStatus",
2446
+ completeBooking: "servicesCompleteBooking",
2447
+ createShift: "servicesCreateShift",
2448
+ getStaffShifts: "servicesGetStaffShifts",
2449
+ addBreak: "servicesAddBreak",
2450
+ registerCustomerApp: "servicesRegisterCustomerApp",
2451
+ getServiceUtilization: "servicesGetUtilization",
2452
+ getServicePerformance: "servicesGetPerformance",
2453
+ getServiceFunnel: "servicesGetFunnel"
2454
+ };
2455
+ var authMapping = {
2456
+ exchangeToken: "authExchangeToken",
2457
+ handleOAuth2: "authControllerHandleOAuth2"
2458
+ };
2459
+ var inventoryMapping = {
2460
+ verifyIntegrity: "inventoryVerifyIntegrity",
2461
+ fixIntegrity: "inventoryFixIntegrity",
2462
+ getInventory: "inventoryGetInventory",
2463
+ traceBatch: "inventoryTraceBatch",
2464
+ splitBatch: "inventorySplitBatch",
2465
+ mergeBatches: "inventoryMergeBatches",
2466
+ createAssembly: "inventoryCreateAssembly",
2467
+ completeAssembly: "inventoryCompleteAssembly",
2468
+ requestAdjustment: "inventoryRequestAdjustment",
2469
+ getAdjustments: "inventoryGetAdjustments",
2470
+ approveAdjustment: "inventoryApproveAdjustment",
2471
+ rejectAdjustment: "inventoryRejectAdjustment",
2472
+ getLeadTime: "inventoryGetLeadTime",
2473
+ getWasteAnalysis: "inventoryGetWasteAnalysis",
2474
+ checkB2BAvailability: "inventoryCheckB2BAvailability",
2475
+ unpackBatch: "inventoryUnpackBatch",
2476
+ scanUnpackBatch: "inventoryScanUnpackBatch",
2477
+ quickStockInquiry: "inventoryQuickStockInquiry",
2478
+ getPurchases: "stockingGetPurchases",
2479
+ createPurchase: "stockingCreatePurchase",
2480
+ receivePurchase: "stockingReceivePurchase",
2481
+ getTransfers: "stockingGetTransfers",
2482
+ createTransfer: "stockingCreateTransfer",
2483
+ shipTransfer: "stockingShipTransfer",
2484
+ receiveTransfer: "stockingReceiveTransfer",
2485
+ getRequests: "stockingGetRequests",
2486
+ getPendingDispatch: "stockingGetPendingDispatch",
2487
+ dispatchOrders: "stockingDispatchOrders",
2488
+ getActiveDeliveries: "stockingGetActiveDeliveries",
2489
+ reconcilePod: "stockingReconcilePod",
2490
+ getPhysicalReconciliations: "stockingGetPhysicalReconciliations",
2491
+ submitPhysicalReconciliation: "stockingSubmitPhysicalReconciliation",
2492
+ getReconciliationReport: "stockingGetReconciliationReport",
2493
+ getPartners: "stockingGetPartners",
2494
+ createPartner: "stockingCreatePartner",
2495
+ getPartner: "stockingGetPartner",
2496
+ updatePartner: "stockingUpdatePartner",
2497
+ adjustPartnerWallet: "stockingAdjustPartnerWallet",
2498
+ getUnits: "unitsGetUnits"
2499
+ };
2500
+ var ordersMapping = {
2501
+ createOrder: "ordersCreateOrder",
2502
+ getOrders: "ordersGetOrders",
2503
+ updateStatus: "ordersUpdateStatus",
2504
+ requestB2BQuote: "ordersRequestB2BQuote",
2505
+ convertQuoteToOrder: "ordersConvertQuoteToOrder",
2506
+ getB2BCatalog: "b2BGetCatalog",
2507
+ getB2BInvoices: "b2BGetInvoices",
2508
+ getB2BOrders: "b2BGetOrders",
2509
+ createB2BOrder: "b2BCreateOrder",
2510
+ createB2BQuote: "b2BCreateQuote",
2511
+ getCart: "cartControllerGetCart",
2512
+ clearCart: "cartControllerClearCart",
2513
+ addToCart: "cartControllerAddToCart",
2514
+ removeFromCart: "cartControllerRemoveFromCart",
2515
+ handleStkCallback: "paymentsControllerHandleStkCallback"
2516
+ };
2517
+ var crmMapping = {
2518
+ createRecord: "crmControllerCreateRecord",
2519
+ getRecord: "crmControllerGetRecord",
2520
+ updateRecord: "crmControllerUpdateRecord",
2521
+ createNote: "crmControllerCreateNote",
2522
+ getRecordNotes: "crmControllerGetRecordNotes",
2523
+ createActivity: "crmControllerCreateActivity",
2524
+ getTimeline: "crmControllerGetTimeline",
2525
+ createObject: "crmControllerCreateObject",
2526
+ listObjects: "crmControllerListObjects",
2527
+ createField: "crmControllerCreateField",
2528
+ listFields: "crmControllerListFields",
2529
+ createRelationship: "crmControllerCreateRelationship",
2530
+ listRelationships: "crmControllerListRelationships",
2531
+ createAssociation: "crmControllerCreateAssociation",
2532
+ listRecordAssociations: "crmControllerListRecordAssociations",
2533
+ getIntegrationsAuthUrl: "crmIntegrationsGetAuthUrl",
2534
+ handleIntegrationsCallback: "crmIntegrationsHandleCallback",
2535
+ handleIntegrationsWebhook: "crmIntegrationsHandleWebhook",
2536
+ replyToIntegrationsActivity: "crmIntegrationsReplyToActivity",
2537
+ createStrapiConnection: "strapiCreateConnection",
2538
+ listStrapiConnections: "strapiListConnections",
2539
+ getStrapiConnection: "strapiGetConnection",
2540
+ updateStrapiConnection: "strapiUpdateConnection",
2541
+ deleteStrapiConnection: "strapiDeleteConnection",
2542
+ triggerStrapiSync: "strapiTriggerSync",
2543
+ enqueueStrapiSync: "strapiEnqueueSync",
2544
+ getStrapiWebhookLogs: "strapiGetWebhookLogs",
2545
+ getStrapiSyncLogs: "strapiGetSyncLogs",
2546
+ exchangeStrapiCustomerToken: "strapiExchangeCustomerToken",
2547
+ registerStrapiCustomer: "strapiRegisterCustomer",
2548
+ receiveStrapiWebhook: "strapiReceiveWebhook"
2549
+ };
2550
+ var posMapping = {
2551
+ provision: "pOSProvision",
2552
+ login: "pOSLogin",
2553
+ getMe: "pOSGetMe",
2554
+ processSale: "pOSProcessSale",
2555
+ sync: "pOSSync",
2556
+ getTransactions: "pOSGetTransactions",
2557
+ registerPettyCash: "pOSRegisterPettyCash",
2558
+ getPettyCashFunds: "pOSGetPettyCashFunds",
2559
+ getPettyCashTransactions: "pOSGetPettyCashTransactions",
2560
+ createSetupKey: "standalonePosControllerCreateSetupKey",
2561
+ activateDevice: "standalonePosControllerActivateDevice",
2562
+ validateKey: "standalonePosControllerValidateKey",
2563
+ linkOrganization: "standalonePosControllerLinkOrganization"
2564
+ };
2565
+ var accountingMapping = {
2566
+ createExpense: "expenseControllerCreateExpense",
2567
+ getExpenses: "expenseControllerGetExpenses",
2568
+ getExpenseCategories: "expenseControllerGetExpenseCategories",
2569
+ getExpense: "expenseControllerGetExpense",
2570
+ createPettyCashFund: "pettyCashControllerCreateFund",
2571
+ getPettyCashFunds: "pettyCashControllerGetFunds",
2572
+ getPettyCashFund: "pettyCashControllerGetFund",
2573
+ topUpPettyCashFund: "pettyCashControllerTopUpFund",
2574
+ getPettyCashFundTransactions: "pettyCashControllerGetFundTransactions",
2575
+ createUtilityAccount: "utilityAccountControllerCreateAccount",
2576
+ getUtilityAccounts: "utilityAccountControllerGetAccounts",
2577
+ getUtilityAccount: "utilityAccountControllerGetAccount",
2578
+ initialize: "accountingInitialize",
2579
+ getProfitLoss: "accountingGetProfitLoss",
2580
+ getBalanceSheet: "accountingGetBalanceSheet",
2581
+ getCashFlow: "accountingGetCashFlow",
2582
+ getTaxSummary: "accountingGetTaxSummary",
2583
+ createInvoice: "invoiceControllerCreateInvoice",
2584
+ getInvoices: "invoiceControllerGetInvoices",
2585
+ getInvoice: "invoiceControllerGetInvoice",
2586
+ updateInvoice: "invoiceControllerUpdateInvoice",
2587
+ deleteInvoice: "invoiceControllerDeleteInvoice",
2588
+ finalizeInvoice: "invoiceControllerFinalizeInvoice",
2589
+ getTemplates: "invoiceControllerGetTemplates",
2590
+ createTemplate: "invoiceControllerCreateTemplate",
2591
+ getInvoiceConfig: "invoiceControllerGetConfig",
2592
+ updateInvoiceConfig: "invoiceControllerUpdateConfig",
2593
+ downloadInvoice: "publicInvoiceControllerDownloadInvoice",
2594
+ downloadInvoiceByTransaction: "publicInvoiceControllerDownloadInvoiceByTransaction",
2595
+ downloadReceipt: "publicInvoiceControllerDownloadReceipt",
2596
+ generatePublicLink: "publicInvoiceControllerGeneratePublicLink"
2597
+ };
2598
+ var loyaltyMapping = {
2599
+ redeemReward: "loyaltyRedeemReward",
2600
+ getCustomerStatus: "loyaltyGetCustomerStatus",
2601
+ validateVoucher: "loyaltyValidateVoucher",
2602
+ getFavorites: "favoritesControllerGetFavorites",
2603
+ addFavorite: "favoritesControllerAddFavorite",
2604
+ removeFavorite: "favoritesControllerRemoveFavorite"
2605
+ };
2606
+ var membersMapping = {
2607
+ getMembers: "membersControllerGetMembers",
2608
+ createMember: "membersControllerCreateMember",
2609
+ getMember: "membersControllerGetMember",
2610
+ updateMember: "membersControllerUpdateMember",
2611
+ deleteMember: "membersControllerDeleteMember",
2612
+ getMemberActivity: "membersControllerGetMemberActivity",
2613
+ updateStatus: "membersControllerUpdateStatus",
2614
+ adminCheckOut: "membersControllerAdminCheckOut",
2615
+ terminalLogin: "terminalMembersControllerLogin",
2616
+ listInvitations: "invitationsList",
2617
+ createInvitation: "invitationsCreate",
2618
+ revokeInvitation: "invitationsRevoke",
2619
+ acceptInvitation: "invitationsAccept",
2620
+ getCustomRoles: "roleManagementControllerGetCustomRoles",
2621
+ createCustomRole: "roleManagementControllerCreateCustomRole",
2622
+ updateCustomRole: "roleManagementControllerUpdateCustomRole",
2623
+ deleteCustomRole: "roleManagementControllerDeleteCustomRole",
2624
+ getPermissionSets: "roleManagementControllerGetPermissionSets",
2625
+ createPermissionSet: "roleManagementControllerCreatePermissionSet",
2626
+ getRoleGroups: "roleManagementControllerGetRoleGroups",
2627
+ createRoleGroup: "roleManagementControllerCreateRoleGroup",
2628
+ assignRoles: "roleManagementControllerAssignRoles",
2629
+ removeRoles: "roleManagementControllerRemoveRoles",
2630
+ listDepartments: "departmentsList",
2631
+ createDepartment: "departmentsCreate",
2632
+ getDepartment: "departmentsGet",
2633
+ updateDepartment: "departmentsUpdate",
2634
+ deleteDepartment: "departmentsDelete",
2635
+ addDepartmentMember: "departmentsAddMember",
2636
+ removeDepartmentMember: "departmentsRemoveMember",
2637
+ getAttendanceLogs: "attendanceControllerGetLogs",
2638
+ checkIn: "attendanceControllerCheckIn",
2639
+ checkOut: "attendanceControllerCheckOut",
2640
+ getMyAttendanceStatus: "attendanceControllerGetMyStatus",
2641
+ getAttendanceStatus: "attendanceControllerGetStatus",
2642
+ broadcastAnnouncement: "announcementControllerBroadcastAnnouncement"
2643
+ };
2644
+ var adminMapping = {
2645
+ getStats: "adminControllerGetStats",
2646
+ listOrganizations: "adminControllerListOrganizations",
2647
+ createOrganization: "adminControllerCreateOrganization",
2648
+ getOrganizationDetails: "adminControllerGetOrganizationDetails",
2649
+ updateOrganization: "adminControllerUpdateOrganization",
2650
+ deleteOrganization: "adminControllerDeleteOrganization",
2651
+ listMembers: "adminControllerListMembers",
2652
+ listUsers: "adminControllerListUsers",
2653
+ banUser: "adminControllerBanUser",
2654
+ unbanUser: "adminControllerUnbanUser",
2655
+ listConnectedApps: "adminControllerListConnectedApps",
2656
+ listSystemLogs: "adminControllerListSystemLogs",
2657
+ listGlobalSettings: "adminControllerListGlobalSettings",
2658
+ setGlobalSetting: "adminControllerSetGlobalSetting",
2659
+ deleteGlobalSetting: "adminControllerDeleteGlobalSetting",
2660
+ listTiers: "adminControllerListTiers",
2661
+ defineTier: "adminControllerDefineTier",
2662
+ deleteTier: "adminControllerDeleteTier",
2663
+ getOrganizationSubscription: "adminControllerGetOrganizationSubscription",
2664
+ updateOrganizationSubscription: "adminControllerUpdateOrganizationSubscription",
2665
+ listSystemPayments: "adminControllerListSystemPayments",
2666
+ recordCustomPayment: "adminControllerRecordCustomPayment",
2667
+ listIntegrationDefinitions: "adminControllerListIntegrationDefinitions",
2668
+ createIntegrationDefinition: "adminControllerCreateIntegrationDefinition",
2669
+ updateIntegrationDefinition: "adminControllerUpdateIntegrationDefinition",
2670
+ deleteIntegrationDefinition: "adminControllerDeleteIntegrationDefinition",
2671
+ listActiveOrganizationIntegrations: "adminControllerListActiveOrganizationIntegrations",
2672
+ createWebhook: "webhooksCreate",
2673
+ listWebhooks: "webhooksList",
2674
+ deleteWebhook: "webhooksDelete",
2675
+ handleWindmillCallback: "windmillCallbackControllerHandleCallback",
2676
+ handleWindmillApprovalCallback: "windmillCallbackControllerHandleApprovalCallback",
2677
+ handleWindmillBakeryDisposalCallback: "windmillCallbackControllerHandleBakeryDisposalCallback",
2678
+ handleWindmillOutcomeCallback: "windmillCallbackControllerHandleOutcomeCallback",
2679
+ provisionZitadel: "customersProvisionZitadel",
2680
+ getCustomers: "customersGetCustomers",
2681
+ registerCustomer: "customersRegister",
2682
+ updateCustomer: "customersUpdate",
2683
+ getCustomerById: "customersGetCustomerById",
2684
+ deleteCustomer: "customersDelete",
2685
+ getCustomerAddresses: "customersGetAddresses",
2686
+ addCustomerAddress: "customersAddAddress",
2687
+ createBusinessAccount: "businessAccountControllerCreate",
2688
+ getBusinessAccount: "businessAccountControllerGetOne",
2689
+ getDashboardAnalytics: "analyticsControllerGetDashboardAnalytics",
2690
+ getResourceUtilization: "analyticsControllerGetResourceUtilization"
2691
+ };
2692
+ function buildModule(api, orgSlug, mapping) {
2693
+ const result = {};
2694
+ for (const [key, rawMethodName] of Object.entries(mapping)) {
2695
+ const rawFn = api[rawMethodName];
2696
+ if (typeof rawFn === "function") {
2697
+ if (methodsWithOrgSlugSet.has(rawMethodName)) {
2698
+ result[key] = function(...args) {
2699
+ return rawFn.apply(this, [orgSlug, ...args]);
2700
+ };
2701
+ } else {
2702
+ result[key] = function(...args) {
2703
+ return rawFn.apply(this, args);
2704
+ };
2705
+ }
2706
+ }
2707
+ }
2708
+ return result;
2709
+ }
2710
+ function getJwtExpiry(token) {
2711
+ try {
2712
+ const parts = token.split(".");
2713
+ if (parts.length !== 3) return null;
2714
+ let payloadStr = "";
2715
+ if (typeof Buffer !== "undefined") {
2716
+ payloadStr = Buffer.from(parts[1], "base64").toString("utf-8");
2717
+ } else if (typeof window !== "undefined" && typeof window.atob === "function") {
2718
+ payloadStr = window.atob(parts[1]);
2719
+ } else {
2720
+ payloadStr = atob(parts[1]);
2721
+ }
2722
+ const payload = JSON.parse(payloadStr);
2723
+ if (payload && typeof payload.exp === "number") {
2724
+ return payload.exp * 1e3;
2725
+ }
2726
+ } catch (e) {
2727
+ }
2728
+ return null;
2729
+ }
2730
+
2731
+ // src/client.ts
2732
+ var import_axios2 = __toESM(require("axios"));
2733
+ var InMemoryStorage = class {
2734
+ constructor() {
2735
+ this.cache = /* @__PURE__ */ new Map();
2736
+ }
2737
+ getItem(key) {
2738
+ return this.cache.get(key) || null;
2739
+ }
2740
+ setItem(key, value) {
2741
+ this.cache.set(key, value);
2742
+ }
2743
+ removeItem(key) {
2744
+ this.cache.delete(key);
2745
+ }
2746
+ };
2747
+ var SCRYME_SESSION_TOKEN_KEY = "scryme_session_token";
2748
+ var SCRYME_USER_KEY = "scryme_user";
2749
+ var SCRYME_EXPIRES_AT_KEY = "scryme_expires_at";
2750
+ var ScrymeClientSDK = class {
2751
+ constructor(config) {
2752
+ if (!config || !config.clientId || !config.clientSecret || !config.orgSlug) {
2753
+ throw new Error("clientId, clientSecret, and orgSlug are required to initialize the SDK.");
2754
+ }
2755
+ this.axiosInstance = import_axios2.default.create({
2756
+ baseURL: config.baseURL || "https://api.scryme.tech"
2757
+ });
2758
+ let storage;
2759
+ if (config.storage) {
2760
+ storage = config.storage;
2761
+ } else if (typeof window !== "undefined" && window.localStorage) {
2762
+ storage = {
2763
+ getItem: (key) => window.localStorage.getItem(key),
2764
+ setItem: (key, value) => window.localStorage.setItem(key, value),
2765
+ removeItem: (key) => window.localStorage.removeItem(key)
2766
+ };
2767
+ } else {
2768
+ storage = new InMemoryStorage();
2769
+ }
2770
+ const state = {
2771
+ token: null,
2772
+ user: null
2773
+ };
2774
+ const listeners = /* @__PURE__ */ new Set();
2775
+ const notify = (event) => {
2776
+ const currentState = { ...state };
2777
+ listeners.forEach((listener) => {
2778
+ try {
2779
+ listener(event, currentState);
2780
+ } catch (e) {
2781
+ console.error("Error in auth state listener:", e);
2782
+ }
2783
+ });
2784
+ };
2785
+ const initPromise = (async () => {
2786
+ try {
2787
+ const storedToken = await storage.getItem(SCRYME_SESSION_TOKEN_KEY);
2788
+ const storedUser = await storage.getItem(SCRYME_USER_KEY);
2789
+ const storedExpiresAt = await storage.getItem(SCRYME_EXPIRES_AT_KEY);
2790
+ if (storedToken) {
2791
+ state.token = storedToken;
2792
+ if (storedExpiresAt) {
2793
+ state.expiresAt = Number(storedExpiresAt);
2794
+ } else {
2795
+ const jwtExp = getJwtExpiry(storedToken);
2796
+ if (jwtExp) {
2797
+ state.expiresAt = jwtExp;
2798
+ } else {
2799
+ delete state.expiresAt;
2800
+ }
2801
+ }
2802
+ if (storedUser) {
2803
+ try {
2804
+ state.user = JSON.parse(storedUser);
2805
+ } catch {
2806
+ state.user = storedUser;
2807
+ }
2808
+ }
2809
+ notify("INITIAL_SESSION");
2810
+ }
2811
+ } catch (e) {
2812
+ console.error("Failed to initialize Scryme Client SDK session:", e);
2813
+ }
2814
+ })();
2815
+ let activeAuthPromise = null;
2816
+ const performExchange = async () => {
2817
+ if (activeAuthPromise) {
2818
+ return activeAuthPromise;
2819
+ }
2820
+ activeAuthPromise = (async () => {
2821
+ try {
2822
+ const response = await this.api.authExchangeToken({
2823
+ clientId: config.clientId,
2824
+ clientSecret: config.clientSecret
2825
+ });
2826
+ const tokenData = response.data?.data;
2827
+ const accessToken = tokenData?.access_token;
2828
+ const expiresIn = tokenData?.expires_in;
2829
+ if (accessToken) {
2830
+ state.token = accessToken;
2831
+ if (expiresIn) {
2832
+ state.expiresAt = Date.now() + expiresIn * 1e3;
2833
+ await storage.setItem(SCRYME_EXPIRES_AT_KEY, String(state.expiresAt));
2834
+ } else {
2835
+ const jwtExp = getJwtExpiry(accessToken);
2836
+ if (jwtExp) {
2837
+ state.expiresAt = jwtExp;
2838
+ await storage.setItem(SCRYME_EXPIRES_AT_KEY, String(jwtExp));
2839
+ } else {
2840
+ delete state.expiresAt;
2841
+ }
2842
+ }
2843
+ await storage.setItem(SCRYME_SESSION_TOKEN_KEY, accessToken);
2844
+ notify("SIGNED_IN");
2845
+ }
2846
+ return response.data;
2847
+ } finally {
2848
+ activeAuthPromise = null;
2849
+ }
2850
+ })();
2851
+ return activeAuthPromise;
2852
+ };
2853
+ this.axiosInstance.interceptors.request.use(async (req) => {
2854
+ await initPromise;
2855
+ const isAuthTokenRequest = req.url && (req.url.endsWith("/auth/token") || req.url.includes("/auth/token"));
2856
+ if (!isAuthTokenRequest) {
2857
+ const isExpired = !state.token || state.expiresAt && Date.now() >= state.expiresAt - 3e4;
2858
+ if (isExpired && config.clientId && config.clientSecret) {
2859
+ try {
2860
+ await performExchange();
2861
+ } catch (e) {
2862
+ console.error("Auto-authentication failed in request interceptor:", e);
2863
+ }
2864
+ }
2865
+ }
2866
+ if (state.token) {
2867
+ req.headers["Authorization"] = `Bearer ${state.token}`;
2868
+ }
2869
+ return req;
2870
+ });
2871
+ this.axiosInstance.interceptors.response.use(
2872
+ (response) => response,
2873
+ async (error) => {
2874
+ const originalRequest = error.config;
2875
+ const isAuthTokenRequest = originalRequest && originalRequest.url && (originalRequest.url.endsWith("/auth/token") || originalRequest.url.includes("/auth/token"));
2876
+ if (error.response && error.response.status === 401 && originalRequest && !originalRequest._retry && !isAuthTokenRequest && config.clientId && config.clientSecret) {
2877
+ originalRequest._retry = true;
2878
+ try {
2879
+ await performExchange();
2880
+ if (state.token) {
2881
+ originalRequest.headers["Authorization"] = `Bearer ${state.token}`;
2882
+ }
2883
+ return this.axiosInstance(originalRequest);
2884
+ } catch (e) {
2885
+ return Promise.reject(error);
2886
+ }
2887
+ }
2888
+ return Promise.reject(error);
2889
+ }
2890
+ );
2891
+ this.api = getScrymeV3API2(this.axiosInstance, config.orgSlug);
2892
+ this.catalog = buildModule(this.api, config.orgSlug, catalogMapping);
2893
+ this.inventory = buildModule(this.api, config.orgSlug, inventoryMapping);
2894
+ this.orders = buildModule(this.api, config.orgSlug, ordersMapping);
2895
+ this.crm = buildModule(this.api, config.orgSlug, crmMapping);
2896
+ this.pos = buildModule(this.api, config.orgSlug, posMapping);
2897
+ this.accounting = buildModule(this.api, config.orgSlug, accountingMapping);
2898
+ this.loyalty = buildModule(this.api, config.orgSlug, loyaltyMapping);
2899
+ this.members = buildModule(this.api, config.orgSlug, membersMapping);
2900
+ this.admin = buildModule(this.api, config.orgSlug, adminMapping);
2901
+ const baseAuth = buildModule(this.api, config.orgSlug, authMapping);
2902
+ this.auth = {
2903
+ ...baseAuth,
2904
+ signUp: async (dto) => {
2905
+ return this.api.customersRegister(config.orgSlug, dto);
2906
+ },
2907
+ authenticate: async () => {
2908
+ return performExchange();
2909
+ },
2910
+ signIn: async (credentials) => {
2911
+ const response = await this.axiosInstance.post("/auth/sign-in/email", credentials);
2912
+ const data = response.data;
2913
+ const token = data?.session?.token || data?.token || null;
2914
+ const user = data?.user || null;
2915
+ if (token) {
2916
+ state.token = token;
2917
+ state.user = user;
2918
+ const jwtExp = getJwtExpiry(token);
2919
+ await storage.setItem(SCRYME_SESSION_TOKEN_KEY, token);
2920
+ if (jwtExp) {
2921
+ state.expiresAt = jwtExp;
2922
+ await storage.setItem(SCRYME_EXPIRES_AT_KEY, String(state.expiresAt));
2923
+ } else {
2924
+ delete state.expiresAt;
2925
+ await storage.removeItem(SCRYME_EXPIRES_AT_KEY);
2926
+ }
2927
+ if (user) {
2928
+ await storage.setItem(SCRYME_USER_KEY, JSON.stringify(user));
2929
+ }
2930
+ notify("SIGNED_IN");
2931
+ }
2932
+ return data;
2933
+ },
2934
+ signOut: async () => {
2935
+ try {
2936
+ await this.axiosInstance.post("/auth/sign-out");
2937
+ } catch {
2938
+ }
2939
+ state.token = null;
2940
+ state.user = null;
2941
+ delete state.expiresAt;
2942
+ await storage.removeItem(SCRYME_SESSION_TOKEN_KEY);
2943
+ await storage.removeItem(SCRYME_USER_KEY);
2944
+ await storage.removeItem(SCRYME_EXPIRES_AT_KEY);
2945
+ notify("SIGNED_OUT");
2946
+ },
2947
+ getSession: async () => {
2948
+ await initPromise;
2949
+ return { ...state };
2950
+ },
2951
+ onAuthStateChange: (callback) => {
2952
+ listeners.add(callback);
2953
+ initPromise.then(() => {
2954
+ try {
2955
+ callback("INITIAL_SESSION", { ...state });
2956
+ } catch (e) {
2957
+ console.error("Error in immediate auth state listener call:", e);
2958
+ }
2959
+ });
2960
+ return {
2961
+ unsubscribe: () => {
2962
+ listeners.delete(callback);
2963
+ }
2964
+ };
2965
+ }
2966
+ };
2967
+ }
2968
+ };
2969
+ function createClientSDK(config = {}) {
2970
+ const finalConfig = {
2971
+ clientId: config.clientId || "mock-client-id",
2972
+ clientSecret: config.clientSecret || "mock-client-secret",
2973
+ orgSlug: config.orgSlug || "mock-org-slug",
2974
+ ...config
2975
+ };
2976
+ return new ScrymeClientSDK(finalConfig);
2977
+ }
2978
+
2979
+ // src/server.ts
2980
+ var import_axios3 = __toESM(require("axios"));
2981
+ var ScrymeServerSDK = class {
2982
+ constructor(config) {
2983
+ this.token = null;
2984
+ this.expiresAt = null;
2985
+ this.activeAuthPromise = null;
2986
+ if (!config || !config.clientId || !config.clientSecret || !config.orgSlug) {
2987
+ throw new Error("clientId, clientSecret, and orgSlug are required to initialize the SDK.");
2988
+ }
2989
+ this.axiosInstance = import_axios3.default.create({
2990
+ baseURL: config.baseURL || "https://api.scryme.tech"
2991
+ });
2992
+ if (config.token) {
2993
+ this.token = config.token;
2994
+ this.expiresAt = getJwtExpiry(config.token);
2995
+ this.axiosInstance.defaults.headers.common["Authorization"] = `Bearer ${config.token}`;
2996
+ }
2997
+ if (config.apiKey) {
2998
+ this.axiosInstance.defaults.headers.common["x-api-key"] = config.apiKey;
2999
+ }
3000
+ const performExchange = async () => {
3001
+ if (this.activeAuthPromise) {
3002
+ return this.activeAuthPromise;
3003
+ }
3004
+ this.activeAuthPromise = (async () => {
3005
+ try {
3006
+ const response = await this.api.authExchangeToken({
3007
+ clientId: config.clientId,
3008
+ clientSecret: config.clientSecret
3009
+ });
3010
+ const tokenData = response.data?.data;
3011
+ const accessToken = tokenData?.access_token;
3012
+ const expiresIn = tokenData?.expires_in;
3013
+ if (accessToken) {
3014
+ this.token = accessToken;
3015
+ if (expiresIn) {
3016
+ this.expiresAt = Date.now() + expiresIn * 1e3;
3017
+ } else {
3018
+ this.expiresAt = getJwtExpiry(accessToken);
3019
+ }
3020
+ this.axiosInstance.defaults.headers.common["Authorization"] = `Bearer ${accessToken}`;
3021
+ }
3022
+ return response.data;
3023
+ } finally {
3024
+ this.activeAuthPromise = null;
3025
+ }
3026
+ })();
3027
+ return this.activeAuthPromise;
3028
+ };
3029
+ this.axiosInstance.interceptors.request.use(async (req) => {
3030
+ const isAuthTokenRequest = req.url && (req.url.endsWith("/auth/token") || req.url.includes("/auth/token"));
3031
+ if (!isAuthTokenRequest && !config.apiKey) {
3032
+ const isExpired = !this.token || this.expiresAt && Date.now() >= this.expiresAt - 3e4;
3033
+ if (isExpired && config.clientId && config.clientSecret) {
3034
+ try {
3035
+ await performExchange();
3036
+ } catch (e) {
3037
+ console.error("Auto-authentication failed in request interceptor:", e);
3038
+ }
3039
+ }
3040
+ }
3041
+ if (this.token) {
3042
+ req.headers["Authorization"] = `Bearer ${this.token}`;
3043
+ }
3044
+ return req;
3045
+ });
3046
+ this.axiosInstance.interceptors.response.use(
3047
+ (response) => response,
3048
+ async (error) => {
3049
+ const originalRequest = error.config;
3050
+ const isAuthTokenRequest = originalRequest && originalRequest.url && (originalRequest.url.endsWith("/auth/token") || originalRequest.url.includes("/auth/token"));
3051
+ if (error.response && error.response.status === 401 && originalRequest && !originalRequest._retry && !isAuthTokenRequest && !config.apiKey && config.clientId && config.clientSecret) {
3052
+ originalRequest._retry = true;
3053
+ try {
3054
+ await performExchange();
3055
+ if (this.token) {
3056
+ originalRequest.headers["Authorization"] = `Bearer ${this.token}`;
3057
+ }
3058
+ return this.axiosInstance(originalRequest);
3059
+ } catch (e) {
3060
+ return Promise.reject(error);
3061
+ }
3062
+ }
3063
+ return Promise.reject(error);
3064
+ }
3065
+ );
3066
+ this.api = getScrymeV3API2(this.axiosInstance, config.orgSlug);
3067
+ this.catalog = buildModule(this.api, config.orgSlug, catalogMapping);
3068
+ this.inventory = buildModule(this.api, config.orgSlug, inventoryMapping);
3069
+ this.orders = buildModule(this.api, config.orgSlug, ordersMapping);
3070
+ this.crm = buildModule(this.api, config.orgSlug, crmMapping);
3071
+ this.pos = buildModule(this.api, config.orgSlug, posMapping);
3072
+ this.accounting = buildModule(this.api, config.orgSlug, accountingMapping);
3073
+ this.loyalty = buildModule(this.api, config.orgSlug, loyaltyMapping);
3074
+ this.members = buildModule(this.api, config.orgSlug, membersMapping);
3075
+ this.admin = buildModule(this.api, config.orgSlug, adminMapping);
3076
+ const baseAuth = buildModule(this.api, config.orgSlug, authMapping);
3077
+ this.auth = {
3078
+ ...baseAuth,
3079
+ signUp: async (dto) => {
3080
+ return this.api.customersRegister(config.orgSlug, dto);
3081
+ },
3082
+ authenticate: async () => {
3083
+ return performExchange();
3084
+ },
3085
+ signIn: async (credentials) => {
3086
+ const response = await this.axiosInstance.post("/auth/sign-in/email", credentials);
3087
+ const data = response.data;
3088
+ const token = data?.session?.token || data?.token || null;
3089
+ if (token) {
3090
+ this.token = token;
3091
+ this.expiresAt = getJwtExpiry(token);
3092
+ this.axiosInstance.defaults.headers.common["Authorization"] = `Bearer ${token}`;
3093
+ }
3094
+ return data;
3095
+ }
3096
+ };
3097
+ }
3098
+ };
3099
+ function createServerSDK(config = {}) {
3100
+ const finalConfig = {
3101
+ clientId: config.clientId || "mock-client-id",
3102
+ clientSecret: config.clientSecret || "mock-client-secret",
3103
+ orgSlug: config.orgSlug || "mock-org-slug",
3104
+ ...config
3105
+ };
3106
+ return new ScrymeServerSDK(finalConfig);
3107
+ }
3108
+
3109
+ // src/index.ts
3110
+ function getEnvOrgSlug() {
3111
+ if (typeof process !== "undefined" && process.env) {
3112
+ const slug = process.env.SCRYME_ORG_SLUG || process.env.NEXT_PUBLIC_SCRYME_ORG_SLUG;
3113
+ if (slug) return slug;
3114
+ }
3115
+ try {
3116
+ const getMeta = new Function("return typeof import.meta !== 'undefined' ? import.meta : undefined");
3117
+ const meta = getMeta();
3118
+ if (meta && meta.env) {
3119
+ const slug = meta.env.VITE_SCRYME_ORG_SLUG || meta.env.SCRYME_ORG_SLUG;
3120
+ if (slug) return slug;
3121
+ }
3122
+ } catch (e) {
3123
+ }
3124
+ return void 0;
3125
+ }
3126
+ function expectsOrgSlug(fn) {
3127
+ const fnStr = fn.toString();
3128
+ const match = fnStr.match(/^\s*(?:async\s+)?\(([^)]+)\)/);
3129
+ if (!match) {
3130
+ const singleMatch = fnStr.match(/^\s*(\w+)\s*=>/);
3131
+ return singleMatch ? singleMatch[1] === "orgSlug" : false;
3132
+ }
3133
+ const firstParam = match[1].split(",")[0].split(":")[0].trim();
3134
+ return firstParam === "orgSlug";
3135
+ }
3136
+ function getStringParamCount(fn) {
3137
+ const fnStr = fn.toString();
3138
+ const match = fnStr.match(/^\s*(?:async\s+)?\(([^)]+)\)/);
3139
+ if (!match) return 0;
3140
+ const params = match[1].split(",").map((p) => p.trim());
3141
+ let count = 0;
3142
+ for (const param of params) {
3143
+ const cleanParam = param.split(":")[0].split("=")[0].trim();
3144
+ const lower = cleanParam.toLowerCase();
3145
+ if (lower === "params" || lower === "options" || lower.endsWith("dto") || lower.endsWith("body") || lower.endsWith("payload")) {
3146
+ break;
3147
+ }
3148
+ count++;
3149
+ }
3150
+ return count;
3151
+ }
3152
+ var getScrymeV3API2 = (axiosInstance, defaultOrgSlug) => {
3153
+ const api = getScrymeV3API(axiosInstance);
3154
+ return new Proxy(api, {
3155
+ get(target, prop, receiver) {
3156
+ const originalValue = Reflect.get(target, prop, receiver);
3157
+ if (typeof originalValue === "function") {
3158
+ if (expectsOrgSlug(originalValue)) {
3159
+ return function(...args) {
3160
+ const stringParamsExpected = getStringParamCount(originalValue);
3161
+ const stringArgsPassed = args.filter((arg) => typeof arg === "string").length;
3162
+ if (stringArgsPassed < stringParamsExpected) {
3163
+ const envSlug = defaultOrgSlug || getEnvOrgSlug() || "default-org";
3164
+ return originalValue.apply(this, [envSlug, ...args]);
3165
+ }
3166
+ return originalValue.apply(this, args);
3167
+ };
3168
+ }
3169
+ }
3170
+ return originalValue;
3171
+ }
3172
+ });
3173
+ };
3174
+ // Annotate the CommonJS export names for ESM import in node:
3175
+ 0 && (module.exports = {
3176
+ AddDepartmentMemberDtoRole,
3177
+ AttendanceControllerGetLogsSortOrder,
3178
+ CmsCustomFieldsDtoPublishStatus,
3179
+ CreateCrmFieldDtoType,
3180
+ CreateCrmRelationshipDtoType,
3181
+ CreateExpenseDtoPaymentMethod,
3182
+ CreateIntegrationDefinitionDtoAuthType,
3183
+ CreateIntegrationDefinitionDtoCategory,
3184
+ CreateInvitationDtoRole,
3185
+ CreateMemberDtoRole,
3186
+ CreateOrderDtoChannel,
3187
+ CreatePartnerDtoBenefitType,
3188
+ CreatePartnerDtoReconciliationPolicy,
3189
+ CreateServiceDtoPricingModel,
3190
+ CreateStrapiConnectionDtoEnabledSyncTypesItem,
3191
+ CreateStrapiConnectionDtoSyncDirection,
3192
+ CreateTransferDtoPriority,
3193
+ CreateUtilityAccountDtoType,
3194
+ DepartmentsListSortOrder,
3195
+ ExpenseControllerGetExpensesStatus,
3196
+ InvitationResponseDtoRole,
3197
+ InvitationResponseDtoStatus,
3198
+ InvitationsListSortOrder,
3199
+ InvitationsListStatus,
3200
+ MemberResponseDtoMembershipStatus,
3201
+ MemberResponseDtoRole,
3202
+ MemberResponseDtoStatus,
3203
+ MembersControllerGetMembersMembershipStatus,
3204
+ MembersControllerGetMembersRole,
3205
+ MembersControllerGetMembersSortOrder,
3206
+ ReconcilePodDtoOutcome,
3207
+ RegisterPettyCashDtoPaymentMethod,
3208
+ ReviewPriceChangeDtoStatus,
3209
+ RoleManagementControllerGetCustomRolesSortOrder,
3210
+ ScrymeClientSDK,
3211
+ ScrymeServerSDK,
3212
+ ServicesUpdateBookingStatusBodyStatus,
3213
+ TriggerSyncDtoDirection,
3214
+ TriggerSyncDtoSyncTypesItem,
3215
+ UpdateIntegrationDefinitionDtoAuthType,
3216
+ UpdateIntegrationDefinitionDtoCategory,
3217
+ UpdateMemberDtoMembershipStatus,
3218
+ UpdateMemberDtoRole,
3219
+ UpdateMemberDtoStatus,
3220
+ UpdatePartnerDtoBenefitType,
3221
+ UpdatePartnerDtoReconciliationPolicy,
3222
+ UpdateServiceDtoPricingModel,
3223
+ UpdateStrapiConnectionDtoEnabledSyncTypesItem,
3224
+ UpdateStrapiConnectionDtoSyncDirection,
3225
+ accountingMapping,
3226
+ adminMapping,
3227
+ authMapping,
3228
+ buildModule,
3229
+ catalogMapping,
3230
+ createClientSDK,
3231
+ createServerSDK,
3232
+ crmMapping,
3233
+ getJwtExpiry,
3234
+ getScrymeV3API,
3235
+ inventoryMapping,
3236
+ loyaltyMapping,
3237
+ membersMapping,
3238
+ methodsWithOrgSlugSet,
3239
+ ordersMapping,
3240
+ posMapping
3241
+ });