@newfold/huapi-js 2.1340.0 → 2.1340.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/orval.config.d.ts +0 -0
- package/orval.config.js +4 -0
- package/package.json +1 -1
- package/src/index.d.ts +0 -0
- package/src/index.js +0 -0
- package/src/index.msw.d.ts +0 -0
- package/src/index.msw.js +240 -240
- package/src/index.schemas.d.ts +0 -0
- package/src/index.schemas.js +0 -0
package/src/index.msw.js
CHANGED
|
@@ -270,7 +270,7 @@ export const getSitesListV3ResponseMock = (overrideResponse = {}) => (Object.ass
|
|
|
270
270
|
export const getSshKeyListV4ResponseMock = (overrideResponse = {}) => (Object.assign({ rows: faker.helpers.arrayElement([Array.from({ length: faker.number.int({ min: 1, max: 10 }) }, (_, i) => i + 1).map(() => ({ authorize: faker.helpers.arrayElement([faker.datatype.boolean(), undefined]), created_at: faker.helpers.arrayElement([faker.word.sample(), undefined]), name: faker.helpers.arrayElement([faker.word.sample(), undefined]), type: faker.helpers.arrayElement([faker.word.sample(), undefined]) })), undefined]) }, overrideResponse));
|
|
271
271
|
export const getAccountEventListMockHandler = (overrideResponse) => {
|
|
272
272
|
return http.get('*/v1/account/events', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
273
|
-
yield delay(
|
|
273
|
+
yield delay(0);
|
|
274
274
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
275
275
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
276
276
|
: getAccountEventListResponseMock()), { status: 200,
|
|
@@ -280,7 +280,7 @@ export const getAccountEventListMockHandler = (overrideResponse) => {
|
|
|
280
280
|
};
|
|
281
281
|
export const getAccountHostingListMockHandler = (overrideResponse) => {
|
|
282
282
|
return http.get('*/v1/account/hosting', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
283
|
-
yield delay(
|
|
283
|
+
yield delay(0);
|
|
284
284
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
285
285
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
286
286
|
: getAccountHostingListResponseMock()), { status: 200,
|
|
@@ -290,7 +290,7 @@ export const getAccountHostingListMockHandler = (overrideResponse) => {
|
|
|
290
290
|
};
|
|
291
291
|
export const getAccountPublicKeysMockHandler = (overrideResponse) => {
|
|
292
292
|
return http.get('*/v1/account/public-keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
293
|
-
yield delay(
|
|
293
|
+
yield delay(0);
|
|
294
294
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
295
295
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
296
296
|
: getAccountPublicKeysResponseMock()), { status: 200,
|
|
@@ -300,7 +300,7 @@ export const getAccountPublicKeysMockHandler = (overrideResponse) => {
|
|
|
300
300
|
};
|
|
301
301
|
export const getAccountPublicKeyCreateMockHandler = (overrideResponse) => {
|
|
302
302
|
return http.post('*/v1/account/public-keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
303
|
-
yield delay(
|
|
303
|
+
yield delay(0);
|
|
304
304
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
305
305
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
306
306
|
: getAccountPublicKeyCreateResponseMock()), { status: 200,
|
|
@@ -310,7 +310,7 @@ export const getAccountPublicKeyCreateMockHandler = (overrideResponse) => {
|
|
|
310
310
|
};
|
|
311
311
|
export const getAccountPublicKeyMockHandler = (overrideResponse) => {
|
|
312
312
|
return http.get('*/v1/account/public-keys/:publicKeyId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
313
|
-
yield delay(
|
|
313
|
+
yield delay(0);
|
|
314
314
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
315
315
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
316
316
|
: getAccountPublicKeyResponseMock()), { status: 200,
|
|
@@ -320,7 +320,7 @@ export const getAccountPublicKeyMockHandler = (overrideResponse) => {
|
|
|
320
320
|
};
|
|
321
321
|
export const getAccountPublicKeyToggleMockHandler = (overrideResponse) => {
|
|
322
322
|
return http.post('*/v1/account/public-keys/:publicKeyId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
323
|
-
yield delay(
|
|
323
|
+
yield delay(0);
|
|
324
324
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
325
325
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
326
326
|
: getAccountPublicKeyToggleResponseMock()), { status: 200,
|
|
@@ -330,7 +330,7 @@ export const getAccountPublicKeyToggleMockHandler = (overrideResponse) => {
|
|
|
330
330
|
};
|
|
331
331
|
export const getAccountPublicKeyDeleteMockHandler = (overrideResponse) => {
|
|
332
332
|
return http.delete('*/v1/account/public-keys/:publicKeyId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
333
|
-
yield delay(
|
|
333
|
+
yield delay(0);
|
|
334
334
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
335
335
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
336
336
|
: getAccountPublicKeyDeleteResponseMock()), { status: 200,
|
|
@@ -340,7 +340,7 @@ export const getAccountPublicKeyDeleteMockHandler = (overrideResponse) => {
|
|
|
340
340
|
};
|
|
341
341
|
export const getCodeguardBackupListMockHandler = (overrideResponse) => {
|
|
342
342
|
return http.get('*/v1/addons/codeguard/:addonId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
343
|
-
yield delay(
|
|
343
|
+
yield delay(0);
|
|
344
344
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
345
345
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
346
346
|
: getCodeguardBackupListResponseMock()), { status: 200,
|
|
@@ -350,7 +350,7 @@ export const getCodeguardBackupListMockHandler = (overrideResponse) => {
|
|
|
350
350
|
};
|
|
351
351
|
export const getCodeguardBackupCreateMockHandler = (overrideResponse) => {
|
|
352
352
|
return http.post('*/v1/addons/codeguard/:addonId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
353
|
-
yield delay(
|
|
353
|
+
yield delay(0);
|
|
354
354
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
355
355
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
356
356
|
: getCodeguardBackupCreateResponseMock()), { status: 200,
|
|
@@ -360,7 +360,7 @@ export const getCodeguardBackupCreateMockHandler = (overrideResponse) => {
|
|
|
360
360
|
};
|
|
361
361
|
export const getCodeguardBackupDownloadMockHandler = (overrideResponse) => {
|
|
362
362
|
return http.post('*/v1/addons/codeguard/:addonId/backups/download', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
363
|
-
yield delay(
|
|
363
|
+
yield delay(0);
|
|
364
364
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
365
365
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
366
366
|
: getCodeguardBackupDownloadResponseMock()), { status: 200,
|
|
@@ -370,7 +370,7 @@ export const getCodeguardBackupDownloadMockHandler = (overrideResponse) => {
|
|
|
370
370
|
};
|
|
371
371
|
export const getCodeguardBackupRestoreMockHandler = (overrideResponse) => {
|
|
372
372
|
return http.post('*/v1/addons/codeguard/:addonId/backups/restore', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
373
|
-
yield delay(
|
|
373
|
+
yield delay(0);
|
|
374
374
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
375
375
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
376
376
|
: getCodeguardBackupRestoreResponseMock()), { status: 200,
|
|
@@ -380,7 +380,7 @@ export const getCodeguardBackupRestoreMockHandler = (overrideResponse) => {
|
|
|
380
380
|
};
|
|
381
381
|
export const getCodeguardDatabaseListMockHandler = (overrideResponse) => {
|
|
382
382
|
return http.get('*/v1/addons/codeguard/:addonId/databases', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
383
|
-
yield delay(
|
|
383
|
+
yield delay(0);
|
|
384
384
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
385
385
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
386
386
|
: getCodeguardDatabaseListResponseMock()), { status: 200,
|
|
@@ -390,7 +390,7 @@ export const getCodeguardDatabaseListMockHandler = (overrideResponse) => {
|
|
|
390
390
|
};
|
|
391
391
|
export const getCodeguardDatabaseBackupListMockHandler = (overrideResponse) => {
|
|
392
392
|
return http.get('*/v1/addons/codeguard/:addonId/databases/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
393
|
-
yield delay(
|
|
393
|
+
yield delay(0);
|
|
394
394
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
395
395
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
396
396
|
: getCodeguardDatabaseBackupListResponseMock()), { status: 200,
|
|
@@ -400,7 +400,7 @@ export const getCodeguardDatabaseBackupListMockHandler = (overrideResponse) => {
|
|
|
400
400
|
};
|
|
401
401
|
export const getCodeguardDatabaseBackupCreateMockHandler = (overrideResponse) => {
|
|
402
402
|
return http.post('*/v1/addons/codeguard/:addonId/databases/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
403
|
-
yield delay(
|
|
403
|
+
yield delay(0);
|
|
404
404
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
405
405
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
406
406
|
: getCodeguardDatabaseBackupCreateResponseMock()), { status: 200,
|
|
@@ -410,7 +410,7 @@ export const getCodeguardDatabaseBackupCreateMockHandler = (overrideResponse) =>
|
|
|
410
410
|
};
|
|
411
411
|
export const getCodeguardDatabaseBackupRestoreMockHandler = (overrideResponse) => {
|
|
412
412
|
return http.post('*/v1/addons/codeguard/:addonId/databases/backups/restore', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
413
|
-
yield delay(
|
|
413
|
+
yield delay(0);
|
|
414
414
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
415
415
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
416
416
|
: getCodeguardDatabaseBackupRestoreResponseMock()), { status: 200,
|
|
@@ -420,7 +420,7 @@ export const getCodeguardDatabaseBackupRestoreMockHandler = (overrideResponse) =
|
|
|
420
420
|
};
|
|
421
421
|
export const getCodeguardLoginLinkMockHandler = (overrideResponse) => {
|
|
422
422
|
return http.get('*/v1/addons/codeguard/:addonId/login', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
423
|
-
yield delay(
|
|
423
|
+
yield delay(0);
|
|
424
424
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
425
425
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
426
426
|
: getCodeguardLoginLinkResponseMock()), { status: 200,
|
|
@@ -430,7 +430,7 @@ export const getCodeguardLoginLinkMockHandler = (overrideResponse) => {
|
|
|
430
430
|
};
|
|
431
431
|
export const getCodeguardPlanInfoMockHandler = (overrideResponse) => {
|
|
432
432
|
return http.get('*/v1/addons/codeguard/:addonId/plan', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
433
|
-
yield delay(
|
|
433
|
+
yield delay(0);
|
|
434
434
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
435
435
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
436
436
|
: getCodeguardPlanInfoResponseMock()), { status: 200,
|
|
@@ -440,7 +440,7 @@ export const getCodeguardPlanInfoMockHandler = (overrideResponse) => {
|
|
|
440
440
|
};
|
|
441
441
|
export const getCodeguardWebsiteListMockHandler = (overrideResponse) => {
|
|
442
442
|
return http.get('*/v1/addons/codeguard/:addonId/websites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
443
|
-
yield delay(
|
|
443
|
+
yield delay(0);
|
|
444
444
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
445
445
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
446
446
|
: getCodeguardWebsiteListResponseMock()), { status: 200,
|
|
@@ -450,7 +450,7 @@ export const getCodeguardWebsiteListMockHandler = (overrideResponse) => {
|
|
|
450
450
|
};
|
|
451
451
|
export const getCodeguardWebsiteBackupListMockHandler = (overrideResponse) => {
|
|
452
452
|
return http.get('*/v1/addons/codeguard/:addonId/websites/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
453
|
-
yield delay(
|
|
453
|
+
yield delay(0);
|
|
454
454
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
455
455
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
456
456
|
: getCodeguardWebsiteBackupListResponseMock()), { status: 200,
|
|
@@ -460,7 +460,7 @@ export const getCodeguardWebsiteBackupListMockHandler = (overrideResponse) => {
|
|
|
460
460
|
};
|
|
461
461
|
export const getCodeguardWebsiteBackupCreateMockHandler = (overrideResponse) => {
|
|
462
462
|
return http.post('*/v1/addons/codeguard/:addonId/websites/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
463
|
-
yield delay(
|
|
463
|
+
yield delay(0);
|
|
464
464
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
465
465
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
466
466
|
: getCodeguardWebsiteBackupCreateResponseMock()), { status: 200,
|
|
@@ -470,7 +470,7 @@ export const getCodeguardWebsiteBackupCreateMockHandler = (overrideResponse) =>
|
|
|
470
470
|
};
|
|
471
471
|
export const getCodeguardWebsiteBackupRestoreMockHandler = (overrideResponse) => {
|
|
472
472
|
return http.post('*/v1/addons/codeguard/:addonId/websites/backups/restore', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
473
|
-
yield delay(
|
|
473
|
+
yield delay(0);
|
|
474
474
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
475
475
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
476
476
|
: getCodeguardWebsiteBackupRestoreResponseMock()), { status: 200,
|
|
@@ -480,7 +480,7 @@ export const getCodeguardWebsiteBackupRestoreMockHandler = (overrideResponse) =>
|
|
|
480
480
|
};
|
|
481
481
|
export const getAddonsSitelockSsoMockHandler = (overrideResponse) => {
|
|
482
482
|
return http.get('*/v1/addons/sitelock/:addonId/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
483
|
-
yield delay(
|
|
483
|
+
yield delay(0);
|
|
484
484
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
485
485
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
486
486
|
: getAddonsSitelockSsoResponseMock()), { status: 200,
|
|
@@ -490,7 +490,7 @@ export const getAddonsSitelockSsoMockHandler = (overrideResponse) => {
|
|
|
490
490
|
};
|
|
491
491
|
export const getBackupInitiateMockHandler = (overrideResponse) => {
|
|
492
492
|
return http.post('*/v1/addons/:addonId/backup', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
493
|
-
yield delay(
|
|
493
|
+
yield delay(0);
|
|
494
494
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
495
495
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
496
496
|
: getBackupInitiateResponseMock()), { status: 200,
|
|
@@ -500,7 +500,7 @@ export const getBackupInitiateMockHandler = (overrideResponse) => {
|
|
|
500
500
|
};
|
|
501
501
|
export const getBackupStatusMockHandler = (overrideResponse) => {
|
|
502
502
|
return http.get('*/v1/addons/:addonId/backup', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
503
|
-
yield delay(
|
|
503
|
+
yield delay(0);
|
|
504
504
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
505
505
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
506
506
|
: getBackupStatusResponseMock()), { status: 200,
|
|
@@ -510,7 +510,7 @@ export const getBackupStatusMockHandler = (overrideResponse) => {
|
|
|
510
510
|
};
|
|
511
511
|
export const getBackupListMockHandler = (overrideResponse) => {
|
|
512
512
|
return http.get('*/v1/addons/:addonId/backup/list', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
513
|
-
yield delay(
|
|
513
|
+
yield delay(0);
|
|
514
514
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
515
515
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
516
516
|
: getBackupListResponseMock()), { status: 200,
|
|
@@ -520,7 +520,7 @@ export const getBackupListMockHandler = (overrideResponse) => {
|
|
|
520
520
|
};
|
|
521
521
|
export const getAddonsCloudflareMockHandler = (overrideResponse) => {
|
|
522
522
|
return http.delete('*/v1/addons/:addonId/cloudflare', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
523
|
-
yield delay(
|
|
523
|
+
yield delay(0);
|
|
524
524
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
525
525
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
526
526
|
: getAddonsCloudflareResponseMock()), { status: 200,
|
|
@@ -530,7 +530,7 @@ export const getAddonsCloudflareMockHandler = (overrideResponse) => {
|
|
|
530
530
|
};
|
|
531
531
|
export const getAddonsInfoMockHandler = (overrideResponse) => {
|
|
532
532
|
return http.get('*/v1/addons/:addonId/info', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
533
|
-
yield delay(
|
|
533
|
+
yield delay(0);
|
|
534
534
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
535
535
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
536
536
|
: getAddonsInfoResponseMock()), { status: 200,
|
|
@@ -540,7 +540,7 @@ export const getAddonsInfoMockHandler = (overrideResponse) => {
|
|
|
540
540
|
};
|
|
541
541
|
export const getAddonsJetpackValidateMockHandler = (overrideResponse) => {
|
|
542
542
|
return http.post('*/v1/addons/:addonId/jetpack/validate', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
543
|
-
yield delay(
|
|
543
|
+
yield delay(0);
|
|
544
544
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
545
545
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
546
546
|
: getAddonsJetpackValidateResponseMock()), { status: 200,
|
|
@@ -550,7 +550,7 @@ export const getAddonsJetpackValidateMockHandler = (overrideResponse) => {
|
|
|
550
550
|
};
|
|
551
551
|
export const getAddonsSpamexpertsSsoMockHandler = (overrideResponse) => {
|
|
552
552
|
return http.get('*/v1/addons/:addonId/spamexperts/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
553
|
-
yield delay(
|
|
553
|
+
yield delay(0);
|
|
554
554
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
555
555
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
556
556
|
: getAddonsSpamexpertsSsoResponseMock()), { status: 200,
|
|
@@ -560,7 +560,7 @@ export const getAddonsSpamexpertsSsoMockHandler = (overrideResponse) => {
|
|
|
560
560
|
};
|
|
561
561
|
export const getWebzaiSsoMockHandler = (overrideResponse) => {
|
|
562
562
|
return http.get('*/v1/addons/:addonId/webzai/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
563
|
-
yield delay(
|
|
563
|
+
yield delay(0);
|
|
564
564
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
565
565
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
566
566
|
: getWebzaiSsoResponseMock()), { status: 200,
|
|
@@ -570,7 +570,7 @@ export const getWebzaiSsoMockHandler = (overrideResponse) => {
|
|
|
570
570
|
};
|
|
571
571
|
export const getWeeblySsoMockHandler = (overrideResponse) => {
|
|
572
572
|
return http.get('*/v1/addons/:addonId/weebly/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
573
|
-
yield delay(
|
|
573
|
+
yield delay(0);
|
|
574
574
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
575
575
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
576
576
|
: getWeeblySsoResponseMock()), { status: 200,
|
|
@@ -580,7 +580,7 @@ export const getWeeblySsoMockHandler = (overrideResponse) => {
|
|
|
580
580
|
};
|
|
581
581
|
export const getDomainInfoMockHandler = (overrideResponse) => {
|
|
582
582
|
return http.get('*/v1/domains/:domainId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
583
|
-
yield delay(
|
|
583
|
+
yield delay(0);
|
|
584
584
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
585
585
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
586
586
|
: getDomainInfoResponseMock()), { status: 200,
|
|
@@ -590,7 +590,7 @@ export const getDomainInfoMockHandler = (overrideResponse) => {
|
|
|
590
590
|
};
|
|
591
591
|
export const getDomainCertsMockHandler = (overrideResponse) => {
|
|
592
592
|
return http.get('*/v1/domains/:domainId/certs', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
593
|
-
yield delay(
|
|
593
|
+
yield delay(0);
|
|
594
594
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
595
595
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
596
596
|
: getDomainCertsResponseMock()), { status: 200,
|
|
@@ -600,7 +600,7 @@ export const getDomainCertsMockHandler = (overrideResponse) => {
|
|
|
600
600
|
};
|
|
601
601
|
export const getDomainCertInstallMockHandler = (overrideResponse) => {
|
|
602
602
|
return http.post('*/v1/domains/:domainId/certs', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
603
|
-
yield delay(
|
|
603
|
+
yield delay(0);
|
|
604
604
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
605
605
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
606
606
|
: getDomainCertInstallResponseMock()), { status: 200,
|
|
@@ -610,7 +610,7 @@ export const getDomainCertInstallMockHandler = (overrideResponse) => {
|
|
|
610
610
|
};
|
|
611
611
|
export const getDomainCertUpdateMockHandler = (overrideResponse) => {
|
|
612
612
|
return http.put('*/v1/domains/:domainId/certs', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
613
|
-
yield delay(
|
|
613
|
+
yield delay(0);
|
|
614
614
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
615
615
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
616
616
|
: getDomainCertUpdateResponseMock()), { status: 200,
|
|
@@ -620,7 +620,7 @@ export const getDomainCertUpdateMockHandler = (overrideResponse) => {
|
|
|
620
620
|
};
|
|
621
621
|
export const getDomainCertUninstallMockHandler = (overrideResponse) => {
|
|
622
622
|
return http.delete('*/v1/domains/:domainId/certs', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
623
|
-
yield delay(
|
|
623
|
+
yield delay(0);
|
|
624
624
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
625
625
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
626
626
|
: getDomainCertUninstallResponseMock()), { status: 200,
|
|
@@ -630,7 +630,7 @@ export const getDomainCertUninstallMockHandler = (overrideResponse) => {
|
|
|
630
630
|
};
|
|
631
631
|
export const getDomainDnseditorMockHandler = (overrideResponse) => {
|
|
632
632
|
return http.delete('*/v1/domains/:domainId/dns-editor', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
633
|
-
yield delay(
|
|
633
|
+
yield delay(0);
|
|
634
634
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
635
635
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
636
636
|
: getDomainDnseditorResponseMock()), { status: 200,
|
|
@@ -640,7 +640,7 @@ export const getDomainDnseditorMockHandler = (overrideResponse) => {
|
|
|
640
640
|
};
|
|
641
641
|
export const getDomainDnseditorListMockHandler = (overrideResponse) => {
|
|
642
642
|
return http.get('*/v1/domains/:domainId/dns-editor', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
643
|
-
yield delay(
|
|
643
|
+
yield delay(0);
|
|
644
644
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
645
645
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
646
646
|
: getDomainDnseditorListResponseMock()), { status: 200,
|
|
@@ -650,7 +650,7 @@ export const getDomainDnseditorListMockHandler = (overrideResponse) => {
|
|
|
650
650
|
};
|
|
651
651
|
export const getDomainDnseditorAddMockHandler = (overrideResponse) => {
|
|
652
652
|
return http.post('*/v1/domains/:domainId/dns-editor', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
653
|
-
yield delay(
|
|
653
|
+
yield delay(0);
|
|
654
654
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
655
655
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
656
656
|
: getDomainDnseditorAddResponseMock()), { status: 200,
|
|
@@ -660,7 +660,7 @@ export const getDomainDnseditorAddMockHandler = (overrideResponse) => {
|
|
|
660
660
|
};
|
|
661
661
|
export const getDomainDnseditorEditMockHandler = (overrideResponse) => {
|
|
662
662
|
return http.put('*/v1/domains/:domainId/dns-editor', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
663
|
-
yield delay(
|
|
663
|
+
yield delay(0);
|
|
664
664
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
665
665
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
666
666
|
: getDomainDnseditorEditResponseMock()), { status: 200,
|
|
@@ -670,7 +670,7 @@ export const getDomainDnseditorEditMockHandler = (overrideResponse) => {
|
|
|
670
670
|
};
|
|
671
671
|
export const getDomainDnszoneResetMockHandler = (overrideResponse) => {
|
|
672
672
|
return http.get('*/v1/domains/:domainId/dns-zone-reset', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
673
|
-
yield delay(
|
|
673
|
+
yield delay(0);
|
|
674
674
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
675
675
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
676
676
|
: getDomainDnszoneResetResponseMock()), { status: 200,
|
|
@@ -680,7 +680,7 @@ export const getDomainDnszoneResetMockHandler = (overrideResponse) => {
|
|
|
680
680
|
};
|
|
681
681
|
export const getAccessLogsMockHandler = (overrideResponse) => {
|
|
682
682
|
return http.get('*/v1/domains/:domainId/logs/access', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
683
|
-
yield delay(
|
|
683
|
+
yield delay(0);
|
|
684
684
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
685
685
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
686
686
|
: getAccessLogsResponseMock()), { status: 200,
|
|
@@ -690,7 +690,7 @@ export const getAccessLogsMockHandler = (overrideResponse) => {
|
|
|
690
690
|
};
|
|
691
691
|
export const getDomainUnassignMockHandler = (overrideResponse) => {
|
|
692
692
|
return http.post('*/v1/domains/:domainId/unassign', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
693
|
-
yield delay(
|
|
693
|
+
yield delay(0);
|
|
694
694
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
695
695
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
696
696
|
: getDomainUnassignResponseMock()), { status: 200,
|
|
@@ -700,7 +700,7 @@ export const getDomainUnassignMockHandler = (overrideResponse) => {
|
|
|
700
700
|
};
|
|
701
701
|
export const getDomainZoneeditorUrlMockHandler = (overrideResponse) => {
|
|
702
702
|
return http.get('*/v1/domains/:domainId/zoneeditor-url', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
703
|
-
yield delay(
|
|
703
|
+
yield delay(0);
|
|
704
704
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
705
705
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
706
706
|
: getDomainZoneeditorUrlResponseMock()), { status: 200,
|
|
@@ -710,7 +710,7 @@ export const getDomainZoneeditorUrlMockHandler = (overrideResponse) => {
|
|
|
710
710
|
};
|
|
711
711
|
export const getHostingAccountMockHandler = (overrideResponse) => {
|
|
712
712
|
return http.get('*/v1/hosting/:hostingId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
713
|
-
yield delay(
|
|
713
|
+
yield delay(0);
|
|
714
714
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
715
715
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
716
716
|
: getHostingAccountResponseMock()), { status: 200,
|
|
@@ -720,7 +720,7 @@ export const getHostingAccountMockHandler = (overrideResponse) => {
|
|
|
720
720
|
};
|
|
721
721
|
export const getActivityLogMockHandler = (overrideResponse) => {
|
|
722
722
|
return http.get('*/v1/hosting/:hostingId/activity-log', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
723
|
-
yield delay(
|
|
723
|
+
yield delay(0);
|
|
724
724
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
725
725
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
726
726
|
: getActivityLogResponseMock()), { status: 200,
|
|
@@ -730,7 +730,7 @@ export const getActivityLogMockHandler = (overrideResponse) => {
|
|
|
730
730
|
};
|
|
731
731
|
export const getHostingAddonsMockHandler = (overrideResponse) => {
|
|
732
732
|
return http.get('*/v1/hosting/:hostingId/addons', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
733
|
-
yield delay(
|
|
733
|
+
yield delay(0);
|
|
734
734
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
735
735
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
736
736
|
: getHostingAddonsResponseMock()), { status: 200,
|
|
@@ -740,7 +740,7 @@ export const getHostingAddonsMockHandler = (overrideResponse) => {
|
|
|
740
740
|
};
|
|
741
741
|
export const getHostingAdvancedDnsMockHandler = (overrideResponse) => {
|
|
742
742
|
return http.get('*/v1/hosting/:hostingId/advanced/dns', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
743
|
-
yield delay(
|
|
743
|
+
yield delay(0);
|
|
744
744
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
745
745
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
746
746
|
: getHostingAdvancedDnsResponseMock()), { status: 200,
|
|
@@ -750,7 +750,7 @@ export const getHostingAdvancedDnsMockHandler = (overrideResponse) => {
|
|
|
750
750
|
};
|
|
751
751
|
export const getHostingAdvancedDnsUpdateMockHandler = (overrideResponse) => {
|
|
752
752
|
return http.post('*/v1/hosting/:hostingId/advanced/dns', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
753
|
-
yield delay(
|
|
753
|
+
yield delay(0);
|
|
754
754
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
755
755
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
756
756
|
: getHostingAdvancedDnsUpdateResponseMock()), { status: 200,
|
|
@@ -760,7 +760,7 @@ export const getHostingAdvancedDnsUpdateMockHandler = (overrideResponse) => {
|
|
|
760
760
|
};
|
|
761
761
|
export const getHostingAdvancedDomainServicesCheckMockHandler = (overrideResponse) => {
|
|
762
762
|
return http.get('*/v1/hosting/:hostingId/advanced/domain/services', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
763
|
-
yield delay(
|
|
763
|
+
yield delay(0);
|
|
764
764
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
765
765
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
766
766
|
: getHostingAdvancedDomainServicesCheckResponseMock()), { status: 200,
|
|
@@ -770,7 +770,7 @@ export const getHostingAdvancedDomainServicesCheckMockHandler = (overrideRespons
|
|
|
770
770
|
};
|
|
771
771
|
export const getHostingAdvancedDomainServicesMockHandler = (overrideResponse) => {
|
|
772
772
|
return http.post('*/v1/hosting/:hostingId/advanced/domain/services', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
773
|
-
yield delay(
|
|
773
|
+
yield delay(0);
|
|
774
774
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
775
775
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
776
776
|
: getHostingAdvancedDomainServicesResponseMock()), { status: 200,
|
|
@@ -780,7 +780,7 @@ export const getHostingAdvancedDomainServicesMockHandler = (overrideResponse) =>
|
|
|
780
780
|
};
|
|
781
781
|
export const getHostingAdvancedServerMockHandler = (overrideResponse) => {
|
|
782
782
|
return http.get('*/v1/hosting/:hostingId/advanced/server', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
783
|
-
yield delay(
|
|
783
|
+
yield delay(0);
|
|
784
784
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
785
785
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
786
786
|
: getHostingAdvancedServerResponseMock()), { status: 200,
|
|
@@ -790,7 +790,7 @@ export const getHostingAdvancedServerMockHandler = (overrideResponse) => {
|
|
|
790
790
|
};
|
|
791
791
|
export const getHostingAdvancedServerStatusMockHandler = (overrideResponse) => {
|
|
792
792
|
return http.put('*/v1/hosting/:hostingId/advanced/server', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
793
|
-
yield delay(
|
|
793
|
+
yield delay(0);
|
|
794
794
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
795
795
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
796
796
|
: getHostingAdvancedServerStatusResponseMock()), { status: 200,
|
|
@@ -800,7 +800,7 @@ export const getHostingAdvancedServerStatusMockHandler = (overrideResponse) => {
|
|
|
800
800
|
};
|
|
801
801
|
export const getHostingAdvancedPasswordMockHandler = (overrideResponse) => {
|
|
802
802
|
return http.put('*/v1/hosting/:hostingId/advanced/server/password', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
803
|
-
yield delay(
|
|
803
|
+
yield delay(0);
|
|
804
804
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
805
805
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
806
806
|
: getHostingAdvancedPasswordResponseMock()), { status: 200,
|
|
@@ -810,7 +810,7 @@ export const getHostingAdvancedPasswordMockHandler = (overrideResponse) => {
|
|
|
810
810
|
};
|
|
811
811
|
export const getHostingAdvancedSsoWhmMockHandler = (overrideResponse) => {
|
|
812
812
|
return http.get('*/v1/hosting/:hostingId/advanced/sso_whm', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
813
|
-
yield delay(
|
|
813
|
+
yield delay(0);
|
|
814
814
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
815
815
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
816
816
|
: getHostingAdvancedSsoWhmResponseMock()), { status: 200,
|
|
@@ -820,7 +820,7 @@ export const getHostingAdvancedSsoWhmMockHandler = (overrideResponse) => {
|
|
|
820
820
|
};
|
|
821
821
|
export const getHostingAdvancedSystemConsoleMockHandler = (overrideResponse) => {
|
|
822
822
|
return http.get('*/v1/hosting/:hostingId/advanced/system-console', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
823
|
-
yield delay(
|
|
823
|
+
yield delay(0);
|
|
824
824
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
825
825
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
826
826
|
: getHostingAdvancedSystemConsoleResponseMock()), { status: 200,
|
|
@@ -830,7 +830,7 @@ export const getHostingAdvancedSystemConsoleMockHandler = (overrideResponse) =>
|
|
|
830
830
|
};
|
|
831
831
|
export const getHostingCapabilitiesMockHandler = (overrideResponse) => {
|
|
832
832
|
return http.get('*/v1/hosting/:hostingId/capabilities', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
833
|
-
yield delay(
|
|
833
|
+
yield delay(0);
|
|
834
834
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
835
835
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
836
836
|
: getHostingCapabilitiesResponseMock()), { status: 200,
|
|
@@ -840,7 +840,7 @@ export const getHostingCapabilitiesMockHandler = (overrideResponse) => {
|
|
|
840
840
|
};
|
|
841
841
|
export const getAddonCloudflareMockHandler = (overrideResponse) => {
|
|
842
842
|
return http.post('*/v1/hosting/:hostingId/cloudflare', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
843
|
-
yield delay(
|
|
843
|
+
yield delay(0);
|
|
844
844
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
845
845
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
846
846
|
: getAddonCloudflareResponseMock()), { status: 200,
|
|
@@ -850,7 +850,7 @@ export const getAddonCloudflareMockHandler = (overrideResponse) => {
|
|
|
850
850
|
};
|
|
851
851
|
export const getListCronsMockHandler = (overrideResponse) => {
|
|
852
852
|
return http.get('*/v1/hosting/:hostingId/crontab', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
853
|
-
yield delay(
|
|
853
|
+
yield delay(0);
|
|
854
854
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
855
855
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
856
856
|
: getListCronsResponseMock()), { status: 200,
|
|
@@ -860,7 +860,7 @@ export const getListCronsMockHandler = (overrideResponse) => {
|
|
|
860
860
|
};
|
|
861
861
|
export const getAddCronMockHandler = (overrideResponse) => {
|
|
862
862
|
return http.post('*/v1/hosting/:hostingId/crontab', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
863
|
-
yield delay(
|
|
863
|
+
yield delay(0);
|
|
864
864
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
865
865
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
866
866
|
: getAddCronResponseMock()), { status: 200,
|
|
@@ -870,7 +870,7 @@ export const getAddCronMockHandler = (overrideResponse) => {
|
|
|
870
870
|
};
|
|
871
871
|
export const getUpdateCronMockHandler = (overrideResponse) => {
|
|
872
872
|
return http.put('*/v1/hosting/:hostingId/crontab', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
873
|
-
yield delay(
|
|
873
|
+
yield delay(0);
|
|
874
874
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
875
875
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
876
876
|
: getUpdateCronResponseMock()), { status: 200,
|
|
@@ -880,7 +880,7 @@ export const getUpdateCronMockHandler = (overrideResponse) => {
|
|
|
880
880
|
};
|
|
881
881
|
export const getCronMockHandler = (overrideResponse) => {
|
|
882
882
|
return http.delete('*/v1/hosting/:hostingId/crontab', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
883
|
-
yield delay(
|
|
883
|
+
yield delay(0);
|
|
884
884
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
885
885
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
886
886
|
: getCronResponseMock()), { status: 200,
|
|
@@ -890,7 +890,7 @@ export const getCronMockHandler = (overrideResponse) => {
|
|
|
890
890
|
};
|
|
891
891
|
export const getCronLastRunMockHandler = (overrideResponse) => {
|
|
892
892
|
return http.get('*/v1/hosting/:hostingId/crontab/last-run', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
893
|
-
yield delay(
|
|
893
|
+
yield delay(0);
|
|
894
894
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
895
895
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
896
896
|
: getCronLastRunResponseMock()), { status: 200,
|
|
@@ -900,7 +900,7 @@ export const getCronLastRunMockHandler = (overrideResponse) => {
|
|
|
900
900
|
};
|
|
901
901
|
export const getDbAddMockHandler = (overrideResponse) => {
|
|
902
902
|
return http.post('*/v1/hosting/:hostingId/db', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
903
|
-
yield delay(
|
|
903
|
+
yield delay(0);
|
|
904
904
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
905
905
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
906
906
|
: getDbAddResponseMock()), { status: 200,
|
|
@@ -910,7 +910,7 @@ export const getDbAddMockHandler = (overrideResponse) => {
|
|
|
910
910
|
};
|
|
911
911
|
export const getDbMockHandler = (overrideResponse) => {
|
|
912
912
|
return http.delete('*/v1/hosting/:hostingId/db', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
913
|
-
yield delay(
|
|
913
|
+
yield delay(0);
|
|
914
914
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
915
915
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
916
916
|
: getDbResponseMock()), { status: 200,
|
|
@@ -920,7 +920,7 @@ export const getDbMockHandler = (overrideResponse) => {
|
|
|
920
920
|
};
|
|
921
921
|
export const getDbListMockHandler = (overrideResponse) => {
|
|
922
922
|
return http.get('*/v1/hosting/:hostingId/db', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
923
|
-
yield delay(
|
|
923
|
+
yield delay(0);
|
|
924
924
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
925
925
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
926
926
|
: getDbListResponseMock()), { status: 200,
|
|
@@ -930,7 +930,7 @@ export const getDbListMockHandler = (overrideResponse) => {
|
|
|
930
930
|
};
|
|
931
931
|
export const getHostingDbAuthorizedHostsMockHandler = (overrideResponse) => {
|
|
932
932
|
return http.get('*/v1/hosting/:hostingId/db/authorized-hosts', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
933
|
-
yield delay(
|
|
933
|
+
yield delay(0);
|
|
934
934
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
935
935
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
936
936
|
: getHostingDbAuthorizedHostsResponseMock()), { status: 200,
|
|
@@ -940,7 +940,7 @@ export const getHostingDbAuthorizedHostsMockHandler = (overrideResponse) => {
|
|
|
940
940
|
};
|
|
941
941
|
export const getHostingDbAuthorizedHostsAddMockHandler = (overrideResponse) => {
|
|
942
942
|
return http.post('*/v1/hosting/:hostingId/db/authorized-hosts', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
943
|
-
yield delay(
|
|
943
|
+
yield delay(0);
|
|
944
944
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
945
945
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
946
946
|
: getHostingDbAuthorizedHostsAddResponseMock()), { status: 200,
|
|
@@ -950,7 +950,7 @@ export const getHostingDbAuthorizedHostsAddMockHandler = (overrideResponse) => {
|
|
|
950
950
|
};
|
|
951
951
|
export const getHostingDbAuthorizedHostsUpdateMockHandler = (overrideResponse) => {
|
|
952
952
|
return http.put('*/v1/hosting/:hostingId/db/authorized-hosts', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
953
|
-
yield delay(
|
|
953
|
+
yield delay(0);
|
|
954
954
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
955
955
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
956
956
|
: getHostingDbAuthorizedHostsUpdateResponseMock()), { status: 200,
|
|
@@ -960,7 +960,7 @@ export const getHostingDbAuthorizedHostsUpdateMockHandler = (overrideResponse) =
|
|
|
960
960
|
};
|
|
961
961
|
export const getHostingDbAuthorizedHostsDeleteMockHandler = (overrideResponse) => {
|
|
962
962
|
return http.delete('*/v1/hosting/:hostingId/db/authorized-hosts', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
963
|
-
yield delay(
|
|
963
|
+
yield delay(0);
|
|
964
964
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
965
965
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
966
966
|
: getHostingDbAuthorizedHostsDeleteResponseMock()), { status: 200,
|
|
@@ -970,7 +970,7 @@ export const getHostingDbAuthorizedHostsDeleteMockHandler = (overrideResponse) =
|
|
|
970
970
|
};
|
|
971
971
|
export const getDbCheckDatabaseMockHandler = (overrideResponse) => {
|
|
972
972
|
return http.post('*/v1/hosting/:hostingId/db/check', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
973
|
-
yield delay(
|
|
973
|
+
yield delay(0);
|
|
974
974
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
975
975
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
976
976
|
: getDbCheckDatabaseResponseMock()), { status: 200,
|
|
@@ -980,7 +980,7 @@ export const getDbCheckDatabaseMockHandler = (overrideResponse) => {
|
|
|
980
980
|
};
|
|
981
981
|
export const getRepairDatabaseMockHandler = (overrideResponse) => {
|
|
982
982
|
return http.post('*/v1/hosting/:hostingId/db/repair', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
983
|
-
yield delay(
|
|
983
|
+
yield delay(0);
|
|
984
984
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
985
985
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
986
986
|
: getRepairDatabaseResponseMock()), { status: 200,
|
|
@@ -990,7 +990,7 @@ export const getRepairDatabaseMockHandler = (overrideResponse) => {
|
|
|
990
990
|
};
|
|
991
991
|
export const getDbUsageMockHandler = (overrideResponse) => {
|
|
992
992
|
return http.get('*/v1/hosting/:hostingId/db/usage', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
993
|
-
yield delay(
|
|
993
|
+
yield delay(0);
|
|
994
994
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
995
995
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
996
996
|
: getDbUsageResponseMock()), { status: 200,
|
|
@@ -1000,7 +1000,7 @@ export const getDbUsageMockHandler = (overrideResponse) => {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
export const getDbUserPasswordSetMockHandler = (overrideResponse) => {
|
|
1002
1002
|
return http.post('*/v1/hosting/:hostingId/db/user/password', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1003
|
-
yield delay(
|
|
1003
|
+
yield delay(0);
|
|
1004
1004
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1005
1005
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1006
1006
|
: getDbUserPasswordSetResponseMock()), { status: 200,
|
|
@@ -1010,7 +1010,7 @@ export const getDbUserPasswordSetMockHandler = (overrideResponse) => {
|
|
|
1010
1010
|
};
|
|
1011
1011
|
export const getDbUserPrivsGetMockHandler = (overrideResponse) => {
|
|
1012
1012
|
return http.get('*/v1/hosting/:hostingId/db/user/privileges', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1013
|
-
yield delay(
|
|
1013
|
+
yield delay(0);
|
|
1014
1014
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1015
1015
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1016
1016
|
: getDbUserPrivsGetResponseMock()), { status: 200,
|
|
@@ -1020,7 +1020,7 @@ export const getDbUserPrivsGetMockHandler = (overrideResponse) => {
|
|
|
1020
1020
|
};
|
|
1021
1021
|
export const getDbUserPrivsSetMockHandler = (overrideResponse) => {
|
|
1022
1022
|
return http.post('*/v1/hosting/:hostingId/db/user/privileges', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1023
|
-
yield delay(
|
|
1023
|
+
yield delay(0);
|
|
1024
1024
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1025
1025
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1026
1026
|
: getDbUserPrivsSetResponseMock()), { status: 200,
|
|
@@ -1030,7 +1030,7 @@ export const getDbUserPrivsSetMockHandler = (overrideResponse) => {
|
|
|
1030
1030
|
};
|
|
1031
1031
|
export const getDbUserAddMockHandler = (overrideResponse) => {
|
|
1032
1032
|
return http.post('*/v1/hosting/:hostingId/db/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1033
|
-
yield delay(
|
|
1033
|
+
yield delay(0);
|
|
1034
1034
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1035
1035
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1036
1036
|
: getDbUserAddResponseMock()), { status: 200,
|
|
@@ -1040,7 +1040,7 @@ export const getDbUserAddMockHandler = (overrideResponse) => {
|
|
|
1040
1040
|
};
|
|
1041
1041
|
export const getDbUserDeleteMockHandler = (overrideResponse) => {
|
|
1042
1042
|
return http.delete('*/v1/hosting/:hostingId/db/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1043
|
-
yield delay(
|
|
1043
|
+
yield delay(0);
|
|
1044
1044
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1045
1045
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1046
1046
|
: getDbUserDeleteResponseMock()), { status: 200,
|
|
@@ -1050,7 +1050,7 @@ export const getDbUserDeleteMockHandler = (overrideResponse) => {
|
|
|
1050
1050
|
};
|
|
1051
1051
|
export const getDbUserListMockHandler = (overrideResponse) => {
|
|
1052
1052
|
return http.get('*/v1/hosting/:hostingId/db/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1053
|
-
yield delay(
|
|
1053
|
+
yield delay(0);
|
|
1054
1054
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1055
1055
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1056
1056
|
: getDbUserListResponseMock()), { status: 200,
|
|
@@ -1060,7 +1060,7 @@ export const getDbUserListMockHandler = (overrideResponse) => {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
export const getDbUserRenameMockHandler = (overrideResponse) => {
|
|
1062
1062
|
return http.put('*/v1/hosting/:hostingId/db/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1063
|
-
yield delay(
|
|
1063
|
+
yield delay(0);
|
|
1064
1064
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1065
1065
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1066
1066
|
: getDbUserRenameResponseMock()), { status: 200,
|
|
@@ -1070,7 +1070,7 @@ export const getDbUserRenameMockHandler = (overrideResponse) => {
|
|
|
1070
1070
|
};
|
|
1071
1071
|
export const getDbMultipleUserDatabaseMockHandler = (overrideResponse) => {
|
|
1072
1072
|
return http.delete('*/v1/hosting/:hostingId/db/users/bulk', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1073
|
-
yield delay(
|
|
1073
|
+
yield delay(0);
|
|
1074
1074
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1075
1075
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1076
1076
|
: getDbMultipleUserDatabaseResponseMock()), { status: 200,
|
|
@@ -1080,7 +1080,7 @@ export const getDbMultipleUserDatabaseMockHandler = (overrideResponse) => {
|
|
|
1080
1080
|
};
|
|
1081
1081
|
export const getDirectoryPrivacyMockHandler = (overrideResponse) => {
|
|
1082
1082
|
return http.get('*/v1/hosting/:hostingId/directoryprivacy', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1083
|
-
yield delay(
|
|
1083
|
+
yield delay(0);
|
|
1084
1084
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1085
1085
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1086
1086
|
: getDirectoryPrivacyResponseMock()), { status: 200,
|
|
@@ -1090,7 +1090,7 @@ export const getDirectoryPrivacyMockHandler = (overrideResponse) => {
|
|
|
1090
1090
|
};
|
|
1091
1091
|
export const getAddPrivacyMockHandler = (overrideResponse) => {
|
|
1092
1092
|
return http.post('*/v1/hosting/:hostingId/directoryprivacy', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1093
|
-
yield delay(
|
|
1093
|
+
yield delay(0);
|
|
1094
1094
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1095
1095
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1096
1096
|
: getAddPrivacyResponseMock()), { status: 200,
|
|
@@ -1100,7 +1100,7 @@ export const getAddPrivacyMockHandler = (overrideResponse) => {
|
|
|
1100
1100
|
};
|
|
1101
1101
|
export const getPrivacyMockHandler = (overrideResponse) => {
|
|
1102
1102
|
return http.delete('*/v1/hosting/:hostingId/directoryprivacy', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1103
|
-
yield delay(
|
|
1103
|
+
yield delay(0);
|
|
1104
1104
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1105
1105
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1106
1106
|
: getPrivacyResponseMock()), { status: 200,
|
|
@@ -1110,7 +1110,7 @@ export const getPrivacyMockHandler = (overrideResponse) => {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
export const getEditPrivacyMockHandler = (overrideResponse) => {
|
|
1112
1112
|
return http.put('*/v1/hosting/:hostingId/directoryprivacy', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1113
|
-
yield delay(
|
|
1113
|
+
yield delay(0);
|
|
1114
1114
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1115
1115
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1116
1116
|
: getEditPrivacyResponseMock()), { status: 200,
|
|
@@ -1120,7 +1120,7 @@ export const getEditPrivacyMockHandler = (overrideResponse) => {
|
|
|
1120
1120
|
};
|
|
1121
1121
|
export const getPrivacyUserMockHandler = (overrideResponse) => {
|
|
1122
1122
|
return http.delete('*/v1/hosting/:hostingId/directoryprivacy/user', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1123
|
-
yield delay(
|
|
1123
|
+
yield delay(0);
|
|
1124
1124
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1125
1125
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1126
1126
|
: getPrivacyUserResponseMock()), { status: 200,
|
|
@@ -1130,7 +1130,7 @@ export const getPrivacyUserMockHandler = (overrideResponse) => {
|
|
|
1130
1130
|
};
|
|
1131
1131
|
export const getHostingDomainAssignMockHandler = (overrideResponse) => {
|
|
1132
1132
|
return http.post('*/v1/hosting/:hostingId/domain/assign', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1133
|
-
yield delay(
|
|
1133
|
+
yield delay(0);
|
|
1134
1134
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1135
1135
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1136
1136
|
: getHostingDomainAssignResponseMock()), { status: 200,
|
|
@@ -1140,7 +1140,7 @@ export const getHostingDomainAssignMockHandler = (overrideResponse) => {
|
|
|
1140
1140
|
};
|
|
1141
1141
|
export const getHostingDomainAvailabilityMockHandler = (overrideResponse) => {
|
|
1142
1142
|
return http.get('*/v1/hosting/:hostingId/domain/availability', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1143
|
-
yield delay(
|
|
1143
|
+
yield delay(0);
|
|
1144
1144
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1145
1145
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1146
1146
|
: getHostingDomainAvailabilityResponseMock()), { status: 200,
|
|
@@ -1150,7 +1150,7 @@ export const getHostingDomainAvailabilityMockHandler = (overrideResponse) => {
|
|
|
1150
1150
|
};
|
|
1151
1151
|
export const getDomainsMockHandler = (overrideResponse) => {
|
|
1152
1152
|
return http.get('*/v1/hosting/:hostingId/domains', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1153
|
-
yield delay(
|
|
1153
|
+
yield delay(0);
|
|
1154
1154
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1155
1155
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1156
1156
|
: getDomainsResponseMock()), { status: 200,
|
|
@@ -1160,7 +1160,7 @@ export const getDomainsMockHandler = (overrideResponse) => {
|
|
|
1160
1160
|
};
|
|
1161
1161
|
export const getDomainDnsExportMockHandler = (overrideResponse) => {
|
|
1162
1162
|
return http.get('*/v1/hosting/:hostingId/domains/dns/export', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1163
|
-
yield delay(
|
|
1163
|
+
yield delay(0);
|
|
1164
1164
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1165
1165
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1166
1166
|
: getDomainDnsExportResponseMock()), { status: 200,
|
|
@@ -1170,7 +1170,7 @@ export const getDomainDnsExportMockHandler = (overrideResponse) => {
|
|
|
1170
1170
|
};
|
|
1171
1171
|
export const getDomainDnsImportMockHandler = (overrideResponse) => {
|
|
1172
1172
|
return http.post('*/v1/hosting/:hostingId/domains/dns/import', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1173
|
-
yield delay(
|
|
1173
|
+
yield delay(0);
|
|
1174
1174
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1175
1175
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1176
1176
|
: getDomainDnsImportResponseMock()), { status: 200,
|
|
@@ -1180,7 +1180,7 @@ export const getDomainDnsImportMockHandler = (overrideResponse) => {
|
|
|
1180
1180
|
};
|
|
1181
1181
|
export const getHostingDomainsUnassignMockHandler = (overrideResponse) => {
|
|
1182
1182
|
return http.post('*/v1/hosting/:hostingId/domains/unassign', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1183
|
-
yield delay(
|
|
1183
|
+
yield delay(0);
|
|
1184
1184
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1185
1185
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1186
1186
|
: getHostingDomainsUnassignResponseMock()), { status: 200,
|
|
@@ -1190,7 +1190,7 @@ export const getHostingDomainsUnassignMockHandler = (overrideResponse) => {
|
|
|
1190
1190
|
};
|
|
1191
1191
|
export const getHostingEcommerceInfoMockHandler = (overrideResponse) => {
|
|
1192
1192
|
return http.get('*/v1/hosting/:hostingId/ecommerce', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1193
|
-
yield delay(
|
|
1193
|
+
yield delay(0);
|
|
1194
1194
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1195
1195
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1196
1196
|
: getHostingEcommerceInfoResponseMock()), { status: 200,
|
|
@@ -1200,7 +1200,7 @@ export const getHostingEcommerceInfoMockHandler = (overrideResponse) => {
|
|
|
1200
1200
|
};
|
|
1201
1201
|
export const getHostingEmailAddMockHandler = (overrideResponse) => {
|
|
1202
1202
|
return http.post('*/v1/hosting/:hostingId/emails', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1203
|
-
yield delay(
|
|
1203
|
+
yield delay(0);
|
|
1204
1204
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1205
1205
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1206
1206
|
: getHostingEmailAddResponseMock()), { status: 200,
|
|
@@ -1210,7 +1210,7 @@ export const getHostingEmailAddMockHandler = (overrideResponse) => {
|
|
|
1210
1210
|
};
|
|
1211
1211
|
export const getHostingEmailDeleteMockHandler = (overrideResponse) => {
|
|
1212
1212
|
return http.delete('*/v1/hosting/:hostingId/emails', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1213
|
-
yield delay(
|
|
1213
|
+
yield delay(0);
|
|
1214
1214
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1215
1215
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1216
1216
|
: getHostingEmailDeleteResponseMock()), { status: 200,
|
|
@@ -1220,7 +1220,7 @@ export const getHostingEmailDeleteMockHandler = (overrideResponse) => {
|
|
|
1220
1220
|
};
|
|
1221
1221
|
export const getHostingEmailListMockHandler = (overrideResponse) => {
|
|
1222
1222
|
return http.get('*/v1/hosting/:hostingId/emails', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1223
|
-
yield delay(
|
|
1223
|
+
yield delay(0);
|
|
1224
1224
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1225
1225
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1226
1226
|
: getHostingEmailListResponseMock()), { status: 200,
|
|
@@ -1230,7 +1230,7 @@ export const getHostingEmailListMockHandler = (overrideResponse) => {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
export const getHostingEmailUpdateMockHandler = (overrideResponse) => {
|
|
1232
1232
|
return http.put('*/v1/hosting/:hostingId/emails', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1233
|
-
yield delay(
|
|
1233
|
+
yield delay(0);
|
|
1234
1234
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1235
1235
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1236
1236
|
: getHostingEmailUpdateResponseMock()), { status: 200,
|
|
@@ -1240,7 +1240,7 @@ export const getHostingEmailUpdateMockHandler = (overrideResponse) => {
|
|
|
1240
1240
|
};
|
|
1241
1241
|
export const getHostingEmailForwardersListMockHandler = (overrideResponse) => {
|
|
1242
1242
|
return http.get('*/v1/hosting/:hostingId/emails/forwarders', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1243
|
-
yield delay(
|
|
1243
|
+
yield delay(0);
|
|
1244
1244
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1245
1245
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1246
1246
|
: getHostingEmailForwardersListResponseMock()), { status: 200,
|
|
@@ -1250,7 +1250,7 @@ export const getHostingEmailForwardersListMockHandler = (overrideResponse) => {
|
|
|
1250
1250
|
};
|
|
1251
1251
|
export const getHostingEmailForwarderAddMockHandler = (overrideResponse) => {
|
|
1252
1252
|
return http.post('*/v1/hosting/:hostingId/emails/forwarders', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1253
|
-
yield delay(
|
|
1253
|
+
yield delay(0);
|
|
1254
1254
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1255
1255
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1256
1256
|
: getHostingEmailForwarderAddResponseMock()), { status: 200,
|
|
@@ -1260,7 +1260,7 @@ export const getHostingEmailForwarderAddMockHandler = (overrideResponse) => {
|
|
|
1260
1260
|
};
|
|
1261
1261
|
export const getHostingEmailForwarderDeleteMockHandler = (overrideResponse) => {
|
|
1262
1262
|
return http.delete('*/v1/hosting/:hostingId/emails/forwarders', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1263
|
-
yield delay(
|
|
1263
|
+
yield delay(0);
|
|
1264
1264
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1265
1265
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1266
1266
|
: getHostingEmailForwarderDeleteResponseMock()), { status: 200,
|
|
@@ -1270,7 +1270,7 @@ export const getHostingEmailForwarderDeleteMockHandler = (overrideResponse) => {
|
|
|
1270
1270
|
};
|
|
1271
1271
|
export const getHostingEmailSuspendMockHandler = (overrideResponse) => {
|
|
1272
1272
|
return http.post('*/v1/hosting/:hostingId/emails/suspend', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1273
|
-
yield delay(
|
|
1273
|
+
yield delay(0);
|
|
1274
1274
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1275
1275
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1276
1276
|
: getHostingEmailSuspendResponseMock()), { status: 200,
|
|
@@ -1280,7 +1280,7 @@ export const getHostingEmailSuspendMockHandler = (overrideResponse) => {
|
|
|
1280
1280
|
};
|
|
1281
1281
|
export const getListFilesMockHandler = (overrideResponse) => {
|
|
1282
1282
|
return http.get('*/v1/hosting/:hostingId/files', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1283
|
-
yield delay(
|
|
1283
|
+
yield delay(0);
|
|
1284
1284
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1285
1285
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1286
1286
|
: getListFilesResponseMock()), { status: 200,
|
|
@@ -1290,7 +1290,7 @@ export const getListFilesMockHandler = (overrideResponse) => {
|
|
|
1290
1290
|
};
|
|
1291
1291
|
export const getHostingFixownershipMockHandler = (overrideResponse) => {
|
|
1292
1292
|
return http.post('*/v1/hosting/:hostingId/fixownership', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1293
|
-
yield delay(
|
|
1293
|
+
yield delay(0);
|
|
1294
1294
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1295
1295
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1296
1296
|
: getHostingFixownershipResponseMock()), { status: 200,
|
|
@@ -1300,7 +1300,7 @@ export const getHostingFixownershipMockHandler = (overrideResponse) => {
|
|
|
1300
1300
|
};
|
|
1301
1301
|
export const getHostingFtpListMockHandler = (overrideResponse) => {
|
|
1302
1302
|
return http.get('*/v1/hosting/:hostingId/ftp', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1303
|
-
yield delay(
|
|
1303
|
+
yield delay(0);
|
|
1304
1304
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1305
1305
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1306
1306
|
: getHostingFtpListResponseMock()), { status: 200,
|
|
@@ -1310,7 +1310,7 @@ export const getHostingFtpListMockHandler = (overrideResponse) => {
|
|
|
1310
1310
|
};
|
|
1311
1311
|
export const getHostingFtpAddMockHandler = (overrideResponse) => {
|
|
1312
1312
|
return http.post('*/v1/hosting/:hostingId/ftp', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1313
|
-
yield delay(
|
|
1313
|
+
yield delay(0);
|
|
1314
1314
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1315
1315
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1316
1316
|
: getHostingFtpAddResponseMock()), { status: 200,
|
|
@@ -1320,7 +1320,7 @@ export const getHostingFtpAddMockHandler = (overrideResponse) => {
|
|
|
1320
1320
|
};
|
|
1321
1321
|
export const getHostingFtpUpdateMockHandler = (overrideResponse) => {
|
|
1322
1322
|
return http.put('*/v1/hosting/:hostingId/ftp', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1323
|
-
yield delay(
|
|
1323
|
+
yield delay(0);
|
|
1324
1324
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1325
1325
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1326
1326
|
: getHostingFtpUpdateResponseMock()), { status: 200,
|
|
@@ -1330,7 +1330,7 @@ export const getHostingFtpUpdateMockHandler = (overrideResponse) => {
|
|
|
1330
1330
|
};
|
|
1331
1331
|
export const getHostingFtpMockHandler = (overrideResponse) => {
|
|
1332
1332
|
return http.delete('*/v1/hosting/:hostingId/ftp', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1333
|
-
yield delay(
|
|
1333
|
+
yield delay(0);
|
|
1334
1334
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1335
1335
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1336
1336
|
: getHostingFtpResponseMock()), { status: 200,
|
|
@@ -1340,7 +1340,7 @@ export const getHostingFtpMockHandler = (overrideResponse) => {
|
|
|
1340
1340
|
};
|
|
1341
1341
|
export const getHotlinkconfigDetailsMockHandler = (overrideResponse) => {
|
|
1342
1342
|
return http.get('*/v1/hosting/:hostingId/hotlinkconfig', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1343
|
-
yield delay(
|
|
1343
|
+
yield delay(0);
|
|
1344
1344
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1345
1345
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1346
1346
|
: getHotlinkconfigDetailsResponseMock()), { status: 200,
|
|
@@ -1350,7 +1350,7 @@ export const getHotlinkconfigDetailsMockHandler = (overrideResponse) => {
|
|
|
1350
1350
|
};
|
|
1351
1351
|
export const getHotlinkconfigAddMockHandler = (overrideResponse) => {
|
|
1352
1352
|
return http.post('*/v1/hosting/:hostingId/hotlinkconfig', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1353
|
-
yield delay(
|
|
1353
|
+
yield delay(0);
|
|
1354
1354
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1355
1355
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1356
1356
|
: getHotlinkconfigAddResponseMock()), { status: 200,
|
|
@@ -1360,7 +1360,7 @@ export const getHotlinkconfigAddMockHandler = (overrideResponse) => {
|
|
|
1360
1360
|
};
|
|
1361
1361
|
export const getHotlinkconfigDeleteMockHandler = (overrideResponse) => {
|
|
1362
1362
|
return http.delete('*/v1/hosting/:hostingId/hotlinkconfig', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1363
|
-
yield delay(
|
|
1363
|
+
yield delay(0);
|
|
1364
1364
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1365
1365
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1366
1366
|
: getHotlinkconfigDeleteResponseMock()), { status: 200,
|
|
@@ -1370,7 +1370,7 @@ export const getHotlinkconfigDeleteMockHandler = (overrideResponse) => {
|
|
|
1370
1370
|
};
|
|
1371
1371
|
export const getListIndexMockHandler = (overrideResponse) => {
|
|
1372
1372
|
return http.get('*/v1/hosting/:hostingId/index', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1373
|
-
yield delay(
|
|
1373
|
+
yield delay(0);
|
|
1374
1374
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1375
1375
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1376
1376
|
: getListIndexResponseMock()), { status: 200,
|
|
@@ -1380,7 +1380,7 @@ export const getListIndexMockHandler = (overrideResponse) => {
|
|
|
1380
1380
|
};
|
|
1381
1381
|
export const getAddIndexMockHandler = (overrideResponse) => {
|
|
1382
1382
|
return http.post('*/v1/hosting/:hostingId/index', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1383
|
-
yield delay(
|
|
1383
|
+
yield delay(0);
|
|
1384
1384
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1385
1385
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1386
1386
|
: getAddIndexResponseMock()), { status: 200,
|
|
@@ -1390,7 +1390,7 @@ export const getAddIndexMockHandler = (overrideResponse) => {
|
|
|
1390
1390
|
};
|
|
1391
1391
|
export const getIndexMockHandler = (overrideResponse) => {
|
|
1392
1392
|
return http.delete('*/v1/hosting/:hostingId/index', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1393
|
-
yield delay(
|
|
1393
|
+
yield delay(0);
|
|
1394
1394
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1395
1395
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1396
1396
|
: getIndexResponseMock()), { status: 200,
|
|
@@ -1400,7 +1400,7 @@ export const getIndexMockHandler = (overrideResponse) => {
|
|
|
1400
1400
|
};
|
|
1401
1401
|
export const getHostingInfoMockHandler = (overrideResponse) => {
|
|
1402
1402
|
return http.get('*/v1/hosting/:hostingId/info', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1403
|
-
yield delay(
|
|
1403
|
+
yield delay(0);
|
|
1404
1404
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1405
1405
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1406
1406
|
: getHostingInfoResponseMock()), { status: 200,
|
|
@@ -1410,7 +1410,7 @@ export const getHostingInfoMockHandler = (overrideResponse) => {
|
|
|
1410
1410
|
};
|
|
1411
1411
|
export const getHostingInfoDiskUsageMockHandler = (overrideResponse) => {
|
|
1412
1412
|
return http.get('*/v1/hosting/:hostingId/info/diskusage', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1413
|
-
yield delay(
|
|
1413
|
+
yield delay(0);
|
|
1414
1414
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1415
1415
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1416
1416
|
: getHostingInfoDiskUsageResponseMock()), { status: 200,
|
|
@@ -1420,7 +1420,7 @@ export const getHostingInfoDiskUsageMockHandler = (overrideResponse) => {
|
|
|
1420
1420
|
};
|
|
1421
1421
|
export const getHostingLeadMockHandler = (overrideResponse) => {
|
|
1422
1422
|
return http.post('*/v1/hosting/:hostingId/lead', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1423
|
-
yield delay(
|
|
1423
|
+
yield delay(0);
|
|
1424
1424
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1425
1425
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1426
1426
|
: getHostingLeadResponseMock()), { status: 200,
|
|
@@ -1430,7 +1430,7 @@ export const getHostingLeadMockHandler = (overrideResponse) => {
|
|
|
1430
1430
|
};
|
|
1431
1431
|
export const getHostingMigrationStatusMockHandler = (overrideResponse) => {
|
|
1432
1432
|
return http.get('*/v1/hosting/:hostingId/migrations', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1433
|
-
yield delay(
|
|
1433
|
+
yield delay(0);
|
|
1434
1434
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1435
1435
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1436
1436
|
: getHostingMigrationStatusResponseMock()), { status: 200,
|
|
@@ -1440,7 +1440,7 @@ export const getHostingMigrationStatusMockHandler = (overrideResponse) => {
|
|
|
1440
1440
|
};
|
|
1441
1441
|
export const getHostingMigrationsMockHandler = (overrideResponse) => {
|
|
1442
1442
|
return http.post('*/v1/hosting/:hostingId/migrations', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1443
|
-
yield delay(
|
|
1443
|
+
yield delay(0);
|
|
1444
1444
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1445
1445
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1446
1446
|
: getHostingMigrationsResponseMock()), { status: 200,
|
|
@@ -1450,7 +1450,7 @@ export const getHostingMigrationsMockHandler = (overrideResponse) => {
|
|
|
1450
1450
|
};
|
|
1451
1451
|
export const getHostingMigrationsCheckMockHandler = (overrideResponse) => {
|
|
1452
1452
|
return http.get('*/v1/hosting/:hostingId/migrations/check', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1453
|
-
yield delay(
|
|
1453
|
+
yield delay(0);
|
|
1454
1454
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1455
1455
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1456
1456
|
: getHostingMigrationsCheckResponseMock()), { status: 200,
|
|
@@ -1460,7 +1460,7 @@ export const getHostingMigrationsCheckMockHandler = (overrideResponse) => {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
export const getHostingMigrationsEventMockHandler = (overrideResponse) => {
|
|
1462
1462
|
return http.post('*/v1/hosting/:hostingId/migrations/event', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1463
|
-
yield delay(
|
|
1463
|
+
yield delay(0);
|
|
1464
1464
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1465
1465
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1466
1466
|
: getHostingMigrationsEventResponseMock()), { status: 200,
|
|
@@ -1470,7 +1470,7 @@ export const getHostingMigrationsEventMockHandler = (overrideResponse) => {
|
|
|
1470
1470
|
};
|
|
1471
1471
|
export const getHostingMigrationInfoMockHandler = (overrideResponse) => {
|
|
1472
1472
|
return http.get('*/v1/hosting/:hostingId/migrations/info', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1473
|
-
yield delay(
|
|
1473
|
+
yield delay(0);
|
|
1474
1474
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1475
1475
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1476
1476
|
: getHostingMigrationInfoResponseMock()), { status: 200,
|
|
@@ -1480,7 +1480,7 @@ export const getHostingMigrationInfoMockHandler = (overrideResponse) => {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
export const getHostingMigrationSiteScanStatusMockHandler = (overrideResponse) => {
|
|
1482
1482
|
return http.get('*/v1/hosting/:hostingId/migrations/site-scan', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1483
|
-
yield delay(
|
|
1483
|
+
yield delay(0);
|
|
1484
1484
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1485
1485
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1486
1486
|
: getHostingMigrationSiteScanStatusResponseMock()), { status: 200,
|
|
@@ -1490,7 +1490,7 @@ export const getHostingMigrationSiteScanStatusMockHandler = (overrideResponse) =
|
|
|
1490
1490
|
};
|
|
1491
1491
|
export const getHostingNameserversMockHandler = (overrideResponse) => {
|
|
1492
1492
|
return http.get('*/v1/hosting/:hostingId/nameservers', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1493
|
-
yield delay(
|
|
1493
|
+
yield delay(0);
|
|
1494
1494
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1495
1495
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1496
1496
|
: getHostingNameserversResponseMock()), { status: 200,
|
|
@@ -1500,7 +1500,7 @@ export const getHostingNameserversMockHandler = (overrideResponse) => {
|
|
|
1500
1500
|
};
|
|
1501
1501
|
export const getHostingOnboardingDataMockHandler = (overrideResponse) => {
|
|
1502
1502
|
return http.get('*/v1/hosting/:hostingId/onboarding', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1503
|
-
yield delay(
|
|
1503
|
+
yield delay(0);
|
|
1504
1504
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1505
1505
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1506
1506
|
: getHostingOnboardingDataResponseMock()), { status: 200,
|
|
@@ -1510,7 +1510,7 @@ export const getHostingOnboardingDataMockHandler = (overrideResponse) => {
|
|
|
1510
1510
|
};
|
|
1511
1511
|
export const getHostingOnboardingDataUpdateMockHandler = (overrideResponse) => {
|
|
1512
1512
|
return http.put('*/v1/hosting/:hostingId/onboarding', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1513
|
-
yield delay(
|
|
1513
|
+
yield delay(0);
|
|
1514
1514
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1515
1515
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1516
1516
|
: getHostingOnboardingDataUpdateResponseMock()), { status: 200,
|
|
@@ -1520,7 +1520,7 @@ export const getHostingOnboardingDataUpdateMockHandler = (overrideResponse) => {
|
|
|
1520
1520
|
};
|
|
1521
1521
|
export const getPasswordGenerateMockHandler = (overrideResponse) => {
|
|
1522
1522
|
return http.get('*/v1/hosting/:hostingId/password/generate', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1523
|
-
yield delay(
|
|
1523
|
+
yield delay(0);
|
|
1524
1524
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1525
1525
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1526
1526
|
: getPasswordGenerateResponseMock()), { status: 200,
|
|
@@ -1530,7 +1530,7 @@ export const getPasswordGenerateMockHandler = (overrideResponse) => {
|
|
|
1530
1530
|
};
|
|
1531
1531
|
export const getPasswordScoreMockHandler = (overrideResponse) => {
|
|
1532
1532
|
return http.get('*/v1/hosting/:hostingId/password/score', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1533
|
-
yield delay(
|
|
1533
|
+
yield delay(0);
|
|
1534
1534
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1535
1535
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1536
1536
|
: getPasswordScoreResponseMock()), { status: 200,
|
|
@@ -1540,7 +1540,7 @@ export const getPasswordScoreMockHandler = (overrideResponse) => {
|
|
|
1540
1540
|
};
|
|
1541
1541
|
export const getPhpErrorsMockHandler = (overrideResponse) => {
|
|
1542
1542
|
return http.get('*/v1/hosting/:hostingId/php-errors', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1543
|
-
yield delay(
|
|
1543
|
+
yield delay(0);
|
|
1544
1544
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1545
1545
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1546
1546
|
: getPhpErrorsResponseMock()), { status: 200,
|
|
@@ -1550,7 +1550,7 @@ export const getPhpErrorsMockHandler = (overrideResponse) => {
|
|
|
1550
1550
|
};
|
|
1551
1551
|
export const getProductLicenseDetailsMockHandler = (overrideResponse) => {
|
|
1552
1552
|
return http.get('*/v1/hosting/:hostingId/product/license-details', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1553
|
-
yield delay(
|
|
1553
|
+
yield delay(0);
|
|
1554
1554
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1555
1555
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1556
1556
|
: getProductLicenseDetailsResponseMock()), { status: 200,
|
|
@@ -1560,7 +1560,7 @@ export const getProductLicenseDetailsMockHandler = (overrideResponse) => {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
export const getHostingRedirectsMockHandler = (overrideResponse) => {
|
|
1562
1562
|
return http.get('*/v1/hosting/:hostingId/redirects', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1563
|
-
yield delay(
|
|
1563
|
+
yield delay(0);
|
|
1564
1564
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1565
1565
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1566
1566
|
: getHostingRedirectsResponseMock()), { status: 200,
|
|
@@ -1570,7 +1570,7 @@ export const getHostingRedirectsMockHandler = (overrideResponse) => {
|
|
|
1570
1570
|
};
|
|
1571
1571
|
export const getHostingRedirectMockHandler = (overrideResponse) => {
|
|
1572
1572
|
return http.delete('*/v1/hosting/:hostingId/redirects', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1573
|
-
yield delay(
|
|
1573
|
+
yield delay(0);
|
|
1574
1574
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1575
1575
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1576
1576
|
: getHostingRedirectResponseMock()), { status: 200,
|
|
@@ -1580,7 +1580,7 @@ export const getHostingRedirectMockHandler = (overrideResponse) => {
|
|
|
1580
1580
|
};
|
|
1581
1581
|
export const getAddHostingRedirectsMockHandler = (overrideResponse) => {
|
|
1582
1582
|
return http.post('*/v1/hosting/:hostingId/redirects', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1583
|
-
yield delay(
|
|
1583
|
+
yield delay(0);
|
|
1584
1584
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1585
1585
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1586
1586
|
: getAddHostingRedirectsResponseMock()), { status: 200,
|
|
@@ -1590,7 +1590,7 @@ export const getAddHostingRedirectsMockHandler = (overrideResponse) => {
|
|
|
1590
1590
|
};
|
|
1591
1591
|
export const getHostingResellerSsoWhmMockHandler = (overrideResponse) => {
|
|
1592
1592
|
return http.get('*/v1/hosting/:hostingId/reseller/sso/whm', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1593
|
-
yield delay(
|
|
1593
|
+
yield delay(0);
|
|
1594
1594
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1595
1595
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1596
1596
|
: getHostingResellerSsoWhmResponseMock()), { status: 200,
|
|
@@ -1600,7 +1600,7 @@ export const getHostingResellerSsoWhmMockHandler = (overrideResponse) => {
|
|
|
1600
1600
|
};
|
|
1601
1601
|
export const getHostingServerHitsMockHandler = (overrideResponse) => {
|
|
1602
1602
|
return http.get('*/v1/hosting/:hostingId/server-hits', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1603
|
-
yield delay(
|
|
1603
|
+
yield delay(0);
|
|
1604
1604
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1605
1605
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1606
1606
|
: getHostingServerHitsResponseMock()), { status: 200,
|
|
@@ -1610,7 +1610,7 @@ export const getHostingServerHitsMockHandler = (overrideResponse) => {
|
|
|
1610
1610
|
};
|
|
1611
1611
|
export const getHostingShellToggleMockHandler = (overrideResponse) => {
|
|
1612
1612
|
return http.put('*/v1/hosting/:hostingId/shell', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1613
|
-
yield delay(
|
|
1613
|
+
yield delay(0);
|
|
1614
1614
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1615
1615
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1616
1616
|
: getHostingShellToggleResponseMock()), { status: 200,
|
|
@@ -1620,7 +1620,7 @@ export const getHostingShellToggleMockHandler = (overrideResponse) => {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
export const getHostingShellInfoMockHandler = (overrideResponse) => {
|
|
1622
1622
|
return http.get('*/v1/hosting/:hostingId/shell', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1623
|
-
yield delay(
|
|
1623
|
+
yield delay(0);
|
|
1624
1624
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1625
1625
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1626
1626
|
: getHostingShellInfoResponseMock()), { status: 200,
|
|
@@ -1630,7 +1630,7 @@ export const getHostingShellInfoMockHandler = (overrideResponse) => {
|
|
|
1630
1630
|
};
|
|
1631
1631
|
export const getHostingSiteAddMockHandler = (overrideResponse) => {
|
|
1632
1632
|
return http.post('*/v1/hosting/:hostingId/sites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1633
|
-
yield delay(
|
|
1633
|
+
yield delay(0);
|
|
1634
1634
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1635
1635
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1636
1636
|
: getHostingSiteAddResponseMock()), { status: 200,
|
|
@@ -1640,7 +1640,7 @@ export const getHostingSiteAddMockHandler = (overrideResponse) => {
|
|
|
1640
1640
|
};
|
|
1641
1641
|
export const getSitesBatchMockHandler = (overrideResponse) => {
|
|
1642
1642
|
return http.put('*/v1/hosting/:hostingId/sites/batch', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1643
|
-
yield delay(
|
|
1643
|
+
yield delay(0);
|
|
1644
1644
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1645
1645
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1646
1646
|
: getSitesBatchResponseMock()), { status: 200,
|
|
@@ -1650,7 +1650,7 @@ export const getSitesBatchMockHandler = (overrideResponse) => {
|
|
|
1650
1650
|
};
|
|
1651
1651
|
export const getHostingSshInfoMockHandler = (overrideResponse) => {
|
|
1652
1652
|
return http.get('*/v1/hosting/:hostingId/ssh', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1653
|
-
yield delay(
|
|
1653
|
+
yield delay(0);
|
|
1654
1654
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1655
1655
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1656
1656
|
: getHostingSshInfoResponseMock()), { status: 200,
|
|
@@ -1660,7 +1660,7 @@ export const getHostingSshInfoMockHandler = (overrideResponse) => {
|
|
|
1660
1660
|
};
|
|
1661
1661
|
export const getSshKeyFetchMockHandler = (overrideResponse) => {
|
|
1662
1662
|
return http.get('*/v1/hosting/:hostingId/ssh/fetch', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1663
|
-
yield delay(
|
|
1663
|
+
yield delay(0);
|
|
1664
1664
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1665
1665
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1666
1666
|
: getSshKeyFetchResponseMock()), { status: 200,
|
|
@@ -1670,7 +1670,7 @@ export const getSshKeyFetchMockHandler = (overrideResponse) => {
|
|
|
1670
1670
|
};
|
|
1671
1671
|
export const getSshKeyImportMockHandler = (overrideResponse) => {
|
|
1672
1672
|
return http.post('*/v1/hosting/:hostingId/ssh/import', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1673
|
-
yield delay(
|
|
1673
|
+
yield delay(0);
|
|
1674
1674
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1675
1675
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1676
1676
|
: getSshKeyImportResponseMock()), { status: 200,
|
|
@@ -1680,7 +1680,7 @@ export const getSshKeyImportMockHandler = (overrideResponse) => {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
export const getSshKeyListMockHandler = (overrideResponse) => {
|
|
1682
1682
|
return http.get('*/v1/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1683
|
-
yield delay(
|
|
1683
|
+
yield delay(0);
|
|
1684
1684
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1685
1685
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1686
1686
|
: getSshKeyListResponseMock()), { status: 200,
|
|
@@ -1690,7 +1690,7 @@ export const getSshKeyListMockHandler = (overrideResponse) => {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
export const getSshKeyMockHandler = (overrideResponse) => {
|
|
1692
1692
|
return http.delete('*/v1/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1693
|
-
yield delay(
|
|
1693
|
+
yield delay(0);
|
|
1694
1694
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1695
1695
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1696
1696
|
: getSshKeyResponseMock()), { status: 200,
|
|
@@ -1700,7 +1700,7 @@ export const getSshKeyMockHandler = (overrideResponse) => {
|
|
|
1700
1700
|
};
|
|
1701
1701
|
export const getSshKeyGenerateMockHandler = (overrideResponse) => {
|
|
1702
1702
|
return http.post('*/v1/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1703
|
-
yield delay(
|
|
1703
|
+
yield delay(0);
|
|
1704
1704
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1705
1705
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1706
1706
|
: getSshKeyGenerateResponseMock()), { status: 200,
|
|
@@ -1710,7 +1710,7 @@ export const getSshKeyGenerateMockHandler = (overrideResponse) => {
|
|
|
1710
1710
|
};
|
|
1711
1711
|
export const getSsoMockHandler = (overrideResponse) => {
|
|
1712
1712
|
return http.get('*/v1/hosting/:hostingId/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1713
|
-
yield delay(
|
|
1713
|
+
yield delay(0);
|
|
1714
1714
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1715
1715
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1716
1716
|
: getSsoResponseMock()), { status: 200,
|
|
@@ -1720,7 +1720,7 @@ export const getSsoMockHandler = (overrideResponse) => {
|
|
|
1720
1720
|
};
|
|
1721
1721
|
export const getHostingVisitorsMockHandler = (overrideResponse) => {
|
|
1722
1722
|
return http.get('*/v1/hosting/:hostingId/visitors', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1723
|
-
yield delay(
|
|
1723
|
+
yield delay(0);
|
|
1724
1724
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1725
1725
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1726
1726
|
: getHostingVisitorsResponseMock()), { status: 200,
|
|
@@ -1730,7 +1730,7 @@ export const getHostingVisitorsMockHandler = (overrideResponse) => {
|
|
|
1730
1730
|
};
|
|
1731
1731
|
export const getSitesInfoMockHandler = (overrideResponse) => {
|
|
1732
1732
|
return http.get('*/v1/sites/:siteId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1733
|
-
yield delay(
|
|
1733
|
+
yield delay(0);
|
|
1734
1734
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1735
1735
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1736
1736
|
: getSitesInfoResponseMock()), { status: 200,
|
|
@@ -1740,7 +1740,7 @@ export const getSitesInfoMockHandler = (overrideResponse) => {
|
|
|
1740
1740
|
};
|
|
1741
1741
|
export const getSiteUpdateMockHandler = (overrideResponse) => {
|
|
1742
1742
|
return http.put('*/v1/sites/:siteId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1743
|
-
yield delay(
|
|
1743
|
+
yield delay(0);
|
|
1744
1744
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1745
1745
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1746
1746
|
: getSiteUpdateResponseMock()), { status: 200,
|
|
@@ -1750,7 +1750,7 @@ export const getSiteUpdateMockHandler = (overrideResponse) => {
|
|
|
1750
1750
|
};
|
|
1751
1751
|
export const getSiteMockHandler = (overrideResponse) => {
|
|
1752
1752
|
return http.delete('*/v1/sites/:siteId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1753
|
-
yield delay(
|
|
1753
|
+
yield delay(0);
|
|
1754
1754
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1755
1755
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1756
1756
|
: getSiteResponseMock()), { status: 200,
|
|
@@ -1760,7 +1760,7 @@ export const getSiteMockHandler = (overrideResponse) => {
|
|
|
1760
1760
|
};
|
|
1761
1761
|
export const getSitesAutoupdatesInfoMockHandler = (overrideResponse) => {
|
|
1762
1762
|
return http.get('*/v1/sites/:siteId/autoupdates', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1763
|
-
yield delay(
|
|
1763
|
+
yield delay(0);
|
|
1764
1764
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1765
1765
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1766
1766
|
: getSitesAutoupdatesInfoResponseMock()), { status: 200,
|
|
@@ -1770,7 +1770,7 @@ export const getSitesAutoupdatesInfoMockHandler = (overrideResponse) => {
|
|
|
1770
1770
|
};
|
|
1771
1771
|
export const getSitesAutoupdatesUpdateMockHandler = (overrideResponse) => {
|
|
1772
1772
|
return http.put('*/v1/sites/:siteId/autoupdates', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1773
|
-
yield delay(
|
|
1773
|
+
yield delay(0);
|
|
1774
1774
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1775
1775
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1776
1776
|
: getSitesAutoupdatesUpdateResponseMock()), { status: 200,
|
|
@@ -1780,7 +1780,7 @@ export const getSitesAutoupdatesUpdateMockHandler = (overrideResponse) => {
|
|
|
1780
1780
|
};
|
|
1781
1781
|
export const getSitesBackupsMockHandler = (overrideResponse) => {
|
|
1782
1782
|
return http.get('*/v1/sites/:siteId/backups', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1783
|
-
yield delay(
|
|
1783
|
+
yield delay(0);
|
|
1784
1784
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1785
1785
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1786
1786
|
: getSitesBackupsResponseMock()), { status: 200,
|
|
@@ -1790,7 +1790,7 @@ export const getSitesBackupsMockHandler = (overrideResponse) => {
|
|
|
1790
1790
|
};
|
|
1791
1791
|
export const getSitesHasBackupsMockHandler = (overrideResponse) => {
|
|
1792
1792
|
return http.get('*/v1/sites/:siteId/backups/check', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1793
|
-
yield delay(
|
|
1793
|
+
yield delay(0);
|
|
1794
1794
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1795
1795
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1796
1796
|
: getSitesHasBackupsResponseMock()), { status: 200,
|
|
@@ -1800,7 +1800,7 @@ export const getSitesHasBackupsMockHandler = (overrideResponse) => {
|
|
|
1800
1800
|
};
|
|
1801
1801
|
export const getSitesBackupsCodeguardMockHandler = (overrideResponse) => {
|
|
1802
1802
|
return http.post('*/v1/sites/:siteId/backups/codeguard', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1803
|
-
yield delay(
|
|
1803
|
+
yield delay(0);
|
|
1804
1804
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1805
1805
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1806
1806
|
: getSitesBackupsCodeguardResponseMock()), { status: 200,
|
|
@@ -1810,7 +1810,7 @@ export const getSitesBackupsCodeguardMockHandler = (overrideResponse) => {
|
|
|
1810
1810
|
};
|
|
1811
1811
|
export const getSitesBackupsDetailsMockHandler = (overrideResponse) => {
|
|
1812
1812
|
return http.get('*/v1/sites/:siteId/backups/details', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1813
|
-
yield delay(
|
|
1813
|
+
yield delay(0);
|
|
1814
1814
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1815
1815
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1816
1816
|
: getSitesBackupsDetailsResponseMock()), { status: 200,
|
|
@@ -1820,7 +1820,7 @@ export const getSitesBackupsDetailsMockHandler = (overrideResponse) => {
|
|
|
1820
1820
|
};
|
|
1821
1821
|
export const getJetpackBackupStatusMockHandler = (overrideResponse) => {
|
|
1822
1822
|
return http.get('*/v1/sites/:siteId/backups/jetpack', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1823
|
-
yield delay(
|
|
1823
|
+
yield delay(0);
|
|
1824
1824
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1825
1825
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1826
1826
|
: getJetpackBackupStatusResponseMock()), { status: 200,
|
|
@@ -1830,7 +1830,7 @@ export const getJetpackBackupStatusMockHandler = (overrideResponse) => {
|
|
|
1830
1830
|
};
|
|
1831
1831
|
export const getBackupsJetpackBackupMockHandler = (overrideResponse) => {
|
|
1832
1832
|
return http.put('*/v1/sites/:siteId/backups/jetpack', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1833
|
-
yield delay(
|
|
1833
|
+
yield delay(0);
|
|
1834
1834
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1835
1835
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1836
1836
|
: getBackupsJetpackBackupResponseMock()), { status: 200,
|
|
@@ -1840,7 +1840,7 @@ export const getBackupsJetpackBackupMockHandler = (overrideResponse) => {
|
|
|
1840
1840
|
};
|
|
1841
1841
|
export const getSiteAddonCloudflareMockHandler = (overrideResponse) => {
|
|
1842
1842
|
return http.post('*/v1/sites/:siteId/cloudflare', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1843
|
-
yield delay(
|
|
1843
|
+
yield delay(0);
|
|
1844
1844
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1845
1845
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1846
1846
|
: getSiteAddonCloudflareResponseMock()), { status: 200,
|
|
@@ -1850,7 +1850,7 @@ export const getSiteAddonCloudflareMockHandler = (overrideResponse) => {
|
|
|
1850
1850
|
};
|
|
1851
1851
|
export const getSitesDatabaseInfoMockHandler = (overrideResponse) => {
|
|
1852
1852
|
return http.get('*/v1/sites/:siteId/database', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1853
|
-
yield delay(
|
|
1853
|
+
yield delay(0);
|
|
1854
1854
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1855
1855
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1856
1856
|
: getSitesDatabaseInfoResponseMock()), { status: 200,
|
|
@@ -1860,7 +1860,7 @@ export const getSitesDatabaseInfoMockHandler = (overrideResponse) => {
|
|
|
1860
1860
|
};
|
|
1861
1861
|
export const getSitesDatabasePasswordsyncMockHandler = (overrideResponse) => {
|
|
1862
1862
|
return http.post('*/v1/sites/:siteId/database/password-sync', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1863
|
-
yield delay(
|
|
1863
|
+
yield delay(0);
|
|
1864
1864
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1865
1865
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1866
1866
|
: getSitesDatabasePasswordsyncResponseMock()), { status: 200,
|
|
@@ -1870,7 +1870,7 @@ export const getSitesDatabasePasswordsyncMockHandler = (overrideResponse) => {
|
|
|
1870
1870
|
};
|
|
1871
1871
|
export const getSitesDnsMockHandler = (overrideResponse) => {
|
|
1872
1872
|
return http.get('*/v1/sites/:siteId/dns', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1873
|
-
yield delay(
|
|
1873
|
+
yield delay(0);
|
|
1874
1874
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1875
1875
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1876
1876
|
: getSitesDnsResponseMock()), { status: 200,
|
|
@@ -1880,7 +1880,7 @@ export const getSitesDnsMockHandler = (overrideResponse) => {
|
|
|
1880
1880
|
};
|
|
1881
1881
|
export const getSitesDomainMockHandler = (overrideResponse) => {
|
|
1882
1882
|
return http.get('*/v1/sites/:siteId/domain', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1883
|
-
yield delay(
|
|
1883
|
+
yield delay(0);
|
|
1884
1884
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1885
1885
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1886
1886
|
: getSitesDomainResponseMock()), { status: 200,
|
|
@@ -1890,7 +1890,7 @@ export const getSitesDomainMockHandler = (overrideResponse) => {
|
|
|
1890
1890
|
};
|
|
1891
1891
|
export const getSitesDomainUrlMockHandler = (overrideResponse) => {
|
|
1892
1892
|
return http.post('*/v1/sites/:siteId/domain', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1893
|
-
yield delay(
|
|
1893
|
+
yield delay(0);
|
|
1894
1894
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1895
1895
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1896
1896
|
: getSitesDomainUrlResponseMock()), { status: 200,
|
|
@@ -1900,7 +1900,7 @@ export const getSitesDomainUrlMockHandler = (overrideResponse) => {
|
|
|
1900
1900
|
};
|
|
1901
1901
|
export const getSitesDomainsCreateMockHandler = (overrideResponse) => {
|
|
1902
1902
|
return http.post('*/v1/sites/:siteId/domains', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1903
|
-
yield delay(
|
|
1903
|
+
yield delay(0);
|
|
1904
1904
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1905
1905
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1906
1906
|
: getSitesDomainsCreateResponseMock()), { status: 200,
|
|
@@ -1910,7 +1910,7 @@ export const getSitesDomainsCreateMockHandler = (overrideResponse) => {
|
|
|
1910
1910
|
};
|
|
1911
1911
|
export const getSiteIpaddressListMockHandler = (overrideResponse) => {
|
|
1912
1912
|
return http.get('*/v1/sites/:siteId/ipblocker', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1913
|
-
yield delay(
|
|
1913
|
+
yield delay(0);
|
|
1914
1914
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1915
1915
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1916
1916
|
: getSiteIpaddressListResponseMock()), { status: 200,
|
|
@@ -1920,7 +1920,7 @@ export const getSiteIpaddressListMockHandler = (overrideResponse) => {
|
|
|
1920
1920
|
};
|
|
1921
1921
|
export const getSiteIpaddressMockHandler = (overrideResponse) => {
|
|
1922
1922
|
return http.delete('*/v1/sites/:siteId/ipblocker', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1923
|
-
yield delay(
|
|
1923
|
+
yield delay(0);
|
|
1924
1924
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1925
1925
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1926
1926
|
: getSiteIpaddressResponseMock()), { status: 200,
|
|
@@ -1930,7 +1930,7 @@ export const getSiteIpaddressMockHandler = (overrideResponse) => {
|
|
|
1930
1930
|
};
|
|
1931
1931
|
export const getAddSiteIpaddressMockHandler = (overrideResponse) => {
|
|
1932
1932
|
return http.post('*/v1/sites/:siteId/ipblocker', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1933
|
-
yield delay(
|
|
1933
|
+
yield delay(0);
|
|
1934
1934
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1935
1935
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1936
1936
|
: getAddSiteIpaddressResponseMock()), { status: 200,
|
|
@@ -1940,7 +1940,7 @@ export const getAddSiteIpaddressMockHandler = (overrideResponse) => {
|
|
|
1940
1940
|
};
|
|
1941
1941
|
export const getSitesAccessLogsMockHandler = (overrideResponse) => {
|
|
1942
1942
|
return http.get('*/v1/sites/:siteId/logs/access', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1943
|
-
yield delay(
|
|
1943
|
+
yield delay(0);
|
|
1944
1944
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1945
1945
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1946
1946
|
: getSitesAccessLogsResponseMock()), { status: 200,
|
|
@@ -1950,7 +1950,7 @@ export const getSitesAccessLogsMockHandler = (overrideResponse) => {
|
|
|
1950
1950
|
};
|
|
1951
1951
|
export const getSitesAccessLogsDownloadMockHandler = (overrideResponse) => {
|
|
1952
1952
|
return http.get('*/v1/sites/:siteId/logs/access/download', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1953
|
-
yield delay(
|
|
1953
|
+
yield delay(0);
|
|
1954
1954
|
if (typeof overrideResponse === 'function') {
|
|
1955
1955
|
yield overrideResponse(info);
|
|
1956
1956
|
}
|
|
@@ -1960,7 +1960,7 @@ export const getSitesAccessLogsDownloadMockHandler = (overrideResponse) => {
|
|
|
1960
1960
|
};
|
|
1961
1961
|
export const getSitesErrorLogsMockHandler = (overrideResponse) => {
|
|
1962
1962
|
return http.get('*/v1/sites/:siteId/logs/error', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1963
|
-
yield delay(
|
|
1963
|
+
yield delay(0);
|
|
1964
1964
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1965
1965
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1966
1966
|
: getSitesErrorLogsResponseMock()), { status: 200,
|
|
@@ -1970,7 +1970,7 @@ export const getSitesErrorLogsMockHandler = (overrideResponse) => {
|
|
|
1970
1970
|
};
|
|
1971
1971
|
export const getSitesErrorLogsDownloadMockHandler = (overrideResponse) => {
|
|
1972
1972
|
return http.get('*/v1/sites/:siteId/logs/error/download', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1973
|
-
yield delay(
|
|
1973
|
+
yield delay(0);
|
|
1974
1974
|
if (typeof overrideResponse === 'function') {
|
|
1975
1975
|
yield overrideResponse(info);
|
|
1976
1976
|
}
|
|
@@ -1980,7 +1980,7 @@ export const getSitesErrorLogsDownloadMockHandler = (overrideResponse) => {
|
|
|
1980
1980
|
};
|
|
1981
1981
|
export const getSiteMalwareStatusMockHandler = (overrideResponse) => {
|
|
1982
1982
|
return http.get('*/v1/sites/:siteId/malware-status', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1983
|
-
yield delay(
|
|
1983
|
+
yield delay(0);
|
|
1984
1984
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1985
1985
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1986
1986
|
: getSiteMalwareStatusResponseMock()), { status: 200,
|
|
@@ -1990,7 +1990,7 @@ export const getSiteMalwareStatusMockHandler = (overrideResponse) => {
|
|
|
1990
1990
|
};
|
|
1991
1991
|
export const getSitesMetricsDimensionAveragedMockHandler = (overrideResponse) => {
|
|
1992
1992
|
return http.get('*/v1/sites/:siteId/metrics/dimension/:dimension/averaged', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1993
|
-
yield delay(
|
|
1993
|
+
yield delay(0);
|
|
1994
1994
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
1995
1995
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
1996
1996
|
: getSitesMetricsDimensionAveragedResponseMock()), { status: 200,
|
|
@@ -2000,7 +2000,7 @@ export const getSitesMetricsDimensionAveragedMockHandler = (overrideResponse) =>
|
|
|
2000
2000
|
};
|
|
2001
2001
|
export const getSitesMetricDimensionsMockHandler = (overrideResponse) => {
|
|
2002
2002
|
return http.get('*/v1/sites/:siteId/metrics/:metric/dimensions', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2003
|
-
yield delay(
|
|
2003
|
+
yield delay(0);
|
|
2004
2004
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2005
2005
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2006
2006
|
: getSitesMetricDimensionsResponseMock()), { status: 200,
|
|
@@ -2010,7 +2010,7 @@ export const getSitesMetricDimensionsMockHandler = (overrideResponse) => {
|
|
|
2010
2010
|
};
|
|
2011
2011
|
export const getSitePendingDomainDeleteMockHandler = (overrideResponse) => {
|
|
2012
2012
|
return http.delete('*/v1/sites/:siteId/pending-domain', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2013
|
-
yield delay(
|
|
2013
|
+
yield delay(0);
|
|
2014
2014
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2015
2015
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2016
2016
|
: getSitePendingDomainDeleteResponseMock()), { status: 200,
|
|
@@ -2020,7 +2020,7 @@ export const getSitePendingDomainDeleteMockHandler = (overrideResponse) => {
|
|
|
2020
2020
|
};
|
|
2021
2021
|
export const getSitesPerformanceCachepurgeMockHandler = (overrideResponse) => {
|
|
2022
2022
|
return http.post('*/v1/sites/:siteId/performance/cachepurge', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2023
|
-
yield delay(
|
|
2023
|
+
yield delay(0);
|
|
2024
2024
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2025
2025
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2026
2026
|
: getSitesPerformanceCachepurgeResponseMock()), { status: 200,
|
|
@@ -2030,7 +2030,7 @@ export const getSitesPerformanceCachepurgeMockHandler = (overrideResponse) => {
|
|
|
2030
2030
|
};
|
|
2031
2031
|
export const getSitesPerformanceEdgecacheMockHandler = (overrideResponse) => {
|
|
2032
2032
|
return http.put('*/v1/sites/:siteId/performance/edge_cache', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2033
|
-
yield delay(
|
|
2033
|
+
yield delay(0);
|
|
2034
2034
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2035
2035
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2036
2036
|
: getSitesPerformanceEdgecacheResponseMock()), { status: 200,
|
|
@@ -2040,7 +2040,7 @@ export const getSitesPerformanceEdgecacheMockHandler = (overrideResponse) => {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
export const getSitesPerformanceEnduranceCacheLevelStatusMockHandler = (overrideResponse) => {
|
|
2042
2042
|
return http.get('*/v1/sites/:siteId/performance/endurance_cache_level', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2043
|
-
yield delay(
|
|
2043
|
+
yield delay(0);
|
|
2044
2044
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2045
2045
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2046
2046
|
: getSitesPerformanceEnduranceCacheLevelStatusResponseMock()), { status: 200,
|
|
@@ -2050,7 +2050,7 @@ export const getSitesPerformanceEnduranceCacheLevelStatusMockHandler = (override
|
|
|
2050
2050
|
};
|
|
2051
2051
|
export const getSitesPerformanceEnduranceCacheLevelMockHandler = (overrideResponse) => {
|
|
2052
2052
|
return http.post('*/v1/sites/:siteId/performance/endurance_cache_level', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2053
|
-
yield delay(
|
|
2053
|
+
yield delay(0);
|
|
2054
2054
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2055
2055
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2056
2056
|
: getSitesPerformanceEnduranceCacheLevelResponseMock()), { status: 200,
|
|
@@ -2060,7 +2060,7 @@ export const getSitesPerformanceEnduranceCacheLevelMockHandler = (overrideRespon
|
|
|
2060
2060
|
};
|
|
2061
2061
|
export const getSitesPerformanceEndurancePageCacheMockHandler = (overrideResponse) => {
|
|
2062
2062
|
return http.put('*/v1/sites/:siteId/performance/endurance_page_cache', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2063
|
-
yield delay(
|
|
2063
|
+
yield delay(0);
|
|
2064
2064
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2065
2065
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2066
2066
|
: getSitesPerformanceEndurancePageCacheResponseMock()), { status: 200,
|
|
@@ -2070,7 +2070,7 @@ export const getSitesPerformanceEndurancePageCacheMockHandler = (overrideRespons
|
|
|
2070
2070
|
};
|
|
2071
2071
|
export const getCreatePhpInfoMockHandler = (overrideResponse) => {
|
|
2072
2072
|
return http.post('*/v1/sites/:siteId/php-info', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2073
|
-
yield delay(
|
|
2073
|
+
yield delay(0);
|
|
2074
2074
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2075
2075
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2076
2076
|
: getCreatePhpInfoResponseMock()), { status: 200,
|
|
@@ -2080,7 +2080,7 @@ export const getCreatePhpInfoMockHandler = (overrideResponse) => {
|
|
|
2080
2080
|
};
|
|
2081
2081
|
export const getSitePluginsMockHandler = (overrideResponse) => {
|
|
2082
2082
|
return http.get('*/v1/sites/:siteId/plugins', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2083
|
-
yield delay(
|
|
2083
|
+
yield delay(0);
|
|
2084
2084
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2085
2085
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2086
2086
|
: getSitePluginsResponseMock()), { status: 200,
|
|
@@ -2090,7 +2090,7 @@ export const getSitePluginsMockHandler = (overrideResponse) => {
|
|
|
2090
2090
|
};
|
|
2091
2091
|
export const getSitePluginUpdateMockHandler = (overrideResponse) => {
|
|
2092
2092
|
return http.put('*/v1/sites/:siteId/plugins', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2093
|
-
yield delay(
|
|
2093
|
+
yield delay(0);
|
|
2094
2094
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2095
2095
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2096
2096
|
: getSitePluginUpdateResponseMock()), { status: 200,
|
|
@@ -2100,7 +2100,7 @@ export const getSitePluginUpdateMockHandler = (overrideResponse) => {
|
|
|
2100
2100
|
};
|
|
2101
2101
|
export const getSitePluginsAutoupdateMockHandler = (overrideResponse) => {
|
|
2102
2102
|
return http.post('*/v1/sites/:siteId/plugins/autoupdate', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2103
|
-
yield delay(
|
|
2103
|
+
yield delay(0);
|
|
2104
2104
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2105
2105
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2106
2106
|
: getSitePluginsAutoupdateResponseMock()), { status: 200,
|
|
@@ -2110,7 +2110,7 @@ export const getSitePluginsAutoupdateMockHandler = (overrideResponse) => {
|
|
|
2110
2110
|
};
|
|
2111
2111
|
export const getSitePluginsToggleMockHandler = (overrideResponse) => {
|
|
2112
2112
|
return http.post('*/v1/sites/:siteId/plugins/toggle', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2113
|
-
yield delay(
|
|
2113
|
+
yield delay(0);
|
|
2114
2114
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2115
2115
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2116
2116
|
: getSitePluginsToggleResponseMock()), { status: 200,
|
|
@@ -2120,7 +2120,7 @@ export const getSitePluginsToggleMockHandler = (overrideResponse) => {
|
|
|
2120
2120
|
};
|
|
2121
2121
|
export const getSitePluginsUpdateMockHandler = (overrideResponse) => {
|
|
2122
2122
|
return http.post('*/v1/sites/:siteId/plugins/update', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2123
|
-
yield delay(
|
|
2123
|
+
yield delay(0);
|
|
2124
2124
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2125
2125
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2126
2126
|
: getSitePluginsUpdateResponseMock()), { status: 200,
|
|
@@ -2130,7 +2130,7 @@ export const getSitePluginsUpdateMockHandler = (overrideResponse) => {
|
|
|
2130
2130
|
};
|
|
2131
2131
|
export const getSiteQualityMetricsMockHandler = (overrideResponse) => {
|
|
2132
2132
|
return http.get('*/v1/sites/:siteId/quality-metrics', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2133
|
-
yield delay(
|
|
2133
|
+
yield delay(0);
|
|
2134
2134
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2135
2135
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2136
2136
|
: getSiteQualityMetricsResponseMock()), { status: 200,
|
|
@@ -2140,7 +2140,7 @@ export const getSiteQualityMetricsMockHandler = (overrideResponse) => {
|
|
|
2140
2140
|
};
|
|
2141
2141
|
export const getResetSiteMockHandler = (overrideResponse) => {
|
|
2142
2142
|
return http.post('*/v1/sites/:siteId/reset', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2143
|
-
yield delay(
|
|
2143
|
+
yield delay(0);
|
|
2144
2144
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2145
2145
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2146
2146
|
: getResetSiteResponseMock()), { status: 200,
|
|
@@ -2150,7 +2150,7 @@ export const getResetSiteMockHandler = (overrideResponse) => {
|
|
|
2150
2150
|
};
|
|
2151
2151
|
export const getSitesSecurityBundleMockHandler = (overrideResponse) => {
|
|
2152
2152
|
return http.get('*/v1/sites/:siteId/security/bundle', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2153
|
-
yield delay(
|
|
2153
|
+
yield delay(0);
|
|
2154
2154
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2155
2155
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2156
2156
|
: getSitesSecurityBundleResponseMock()), { status: 200,
|
|
@@ -2160,7 +2160,7 @@ export const getSitesSecurityBundleMockHandler = (overrideResponse) => {
|
|
|
2160
2160
|
};
|
|
2161
2161
|
export const getSitesSecurityCheckCoreMockHandler = (overrideResponse) => {
|
|
2162
2162
|
return http.get('*/v1/sites/:siteId/security/core/check', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2163
|
-
yield delay(
|
|
2163
|
+
yield delay(0);
|
|
2164
2164
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2165
2165
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2166
2166
|
: getSitesSecurityCheckCoreResponseMock()), { status: 200,
|
|
@@ -2170,7 +2170,7 @@ export const getSitesSecurityCheckCoreMockHandler = (overrideResponse) => {
|
|
|
2170
2170
|
};
|
|
2171
2171
|
export const getSitesSecurityResetCoreFilesMockHandler = (overrideResponse) => {
|
|
2172
2172
|
return http.post('*/v1/sites/:siteId/security/core/reset', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2173
|
-
yield delay(
|
|
2173
|
+
yield delay(0);
|
|
2174
2174
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2175
2175
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2176
2176
|
: getSitesSecurityResetCoreFilesResponseMock()), { status: 200,
|
|
@@ -2180,7 +2180,7 @@ export const getSitesSecurityResetCoreFilesMockHandler = (overrideResponse) => {
|
|
|
2180
2180
|
};
|
|
2181
2181
|
export const getSitesSecurityHttpsRedirectionStatusMockHandler = (overrideResponse) => {
|
|
2182
2182
|
return http.get('*/v1/sites/:siteId/security/https', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2183
|
-
yield delay(
|
|
2183
|
+
yield delay(0);
|
|
2184
2184
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2185
2185
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2186
2186
|
: getSitesSecurityHttpsRedirectionStatusResponseMock()), { status: 200,
|
|
@@ -2190,7 +2190,7 @@ export const getSitesSecurityHttpsRedirectionStatusMockHandler = (overrideRespon
|
|
|
2190
2190
|
};
|
|
2191
2191
|
export const getSitesSecurityHttpsEnableDisableSslMockHandler = (overrideResponse) => {
|
|
2192
2192
|
return http.post('*/v1/sites/:siteId/security/https', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2193
|
-
yield delay(
|
|
2193
|
+
yield delay(0);
|
|
2194
2194
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2195
2195
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2196
2196
|
: getSitesSecurityHttpsEnableDisableSslResponseMock()), { status: 200,
|
|
@@ -2200,7 +2200,7 @@ export const getSitesSecurityHttpsEnableDisableSslMockHandler = (overrideRespons
|
|
|
2200
2200
|
};
|
|
2201
2201
|
export const getSitesSecuritySitelockMockHandler = (overrideResponse) => {
|
|
2202
2202
|
return http.get('*/v1/sites/:siteId/security/sitelock', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2203
|
-
yield delay(
|
|
2203
|
+
yield delay(0);
|
|
2204
2204
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2205
2205
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2206
2206
|
: getSitesSecuritySitelockResponseMock()), { status: 200,
|
|
@@ -2210,7 +2210,7 @@ export const getSitesSecuritySitelockMockHandler = (overrideResponse) => {
|
|
|
2210
2210
|
};
|
|
2211
2211
|
export const getSitesSecuritySslAcmeMockHandler = (overrideResponse) => {
|
|
2212
2212
|
return http.post('*/v1/sites/:siteId/security/ssl/acme', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2213
|
-
yield delay(
|
|
2213
|
+
yield delay(0);
|
|
2214
2214
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2215
2215
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2216
2216
|
: getSitesSecuritySslAcmeResponseMock()), { status: 200,
|
|
@@ -2220,7 +2220,7 @@ export const getSitesSecuritySslAcmeMockHandler = (overrideResponse) => {
|
|
|
2220
2220
|
};
|
|
2221
2221
|
export const getSitesSecuritySslStatusMockHandler = (overrideResponse) => {
|
|
2222
2222
|
return http.get('*/v1/sites/:siteId/security/ssl/status', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2223
|
-
yield delay(
|
|
2223
|
+
yield delay(0);
|
|
2224
2224
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2225
2225
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2226
2226
|
: getSitesSecuritySslStatusResponseMock()), { status: 200,
|
|
@@ -2230,7 +2230,7 @@ export const getSitesSecuritySslStatusMockHandler = (overrideResponse) => {
|
|
|
2230
2230
|
};
|
|
2231
2231
|
export const getSitesSettingsComingSoonMockHandler = (overrideResponse) => {
|
|
2232
2232
|
return http.get('*/v1/sites/:siteId/settings/coming-soon', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2233
|
-
yield delay(
|
|
2233
|
+
yield delay(0);
|
|
2234
2234
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2235
2235
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2236
2236
|
: getSitesSettingsComingSoonResponseMock()), { status: 200,
|
|
@@ -2240,7 +2240,7 @@ export const getSitesSettingsComingSoonMockHandler = (overrideResponse) => {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
export const getSitesSettingsComingSoonToggleMockHandler = (overrideResponse) => {
|
|
2242
2242
|
return http.post('*/v1/sites/:siteId/settings/coming-soon', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2243
|
-
yield delay(
|
|
2243
|
+
yield delay(0);
|
|
2244
2244
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2245
2245
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2246
2246
|
: getSitesSettingsComingSoonToggleResponseMock()), { status: 200,
|
|
@@ -2250,7 +2250,7 @@ export const getSitesSettingsComingSoonToggleMockHandler = (overrideResponse) =>
|
|
|
2250
2250
|
};
|
|
2251
2251
|
export const getSitesSettingsDebugMockHandler = (overrideResponse) => {
|
|
2252
2252
|
return http.get('*/v1/sites/:siteId/settings/debug', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2253
|
-
yield delay(
|
|
2253
|
+
yield delay(0);
|
|
2254
2254
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2255
2255
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2256
2256
|
: getSitesSettingsDebugResponseMock()), { status: 200,
|
|
@@ -2260,7 +2260,7 @@ export const getSitesSettingsDebugMockHandler = (overrideResponse) => {
|
|
|
2260
2260
|
};
|
|
2261
2261
|
export const getSitesSettingsDebugToggleMockHandler = (overrideResponse) => {
|
|
2262
2262
|
return http.post('*/v1/sites/:siteId/settings/debug', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2263
|
-
yield delay(
|
|
2263
|
+
yield delay(0);
|
|
2264
2264
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2265
2265
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2266
2266
|
: getSitesSettingsDebugToggleResponseMock()), { status: 200,
|
|
@@ -2270,7 +2270,7 @@ export const getSitesSettingsDebugToggleMockHandler = (overrideResponse) => {
|
|
|
2270
2270
|
};
|
|
2271
2271
|
export const getSitesSettingsPhpVersionUpdateMockHandler = (overrideResponse) => {
|
|
2272
2272
|
return http.post('*/v1/sites/:siteId/settings/php-version', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2273
|
-
yield delay(
|
|
2273
|
+
yield delay(0);
|
|
2274
2274
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2275
2275
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2276
2276
|
: getSitesSettingsPhpVersionUpdateResponseMock()), { status: 200,
|
|
@@ -2280,7 +2280,7 @@ export const getSitesSettingsPhpVersionUpdateMockHandler = (overrideResponse) =>
|
|
|
2280
2280
|
};
|
|
2281
2281
|
export const getSitesSettingsPhpVersionsMockHandler = (overrideResponse) => {
|
|
2282
2282
|
return http.get('*/v1/sites/:siteId/settings/php-versions', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2283
|
-
yield delay(
|
|
2283
|
+
yield delay(0);
|
|
2284
2284
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2285
2285
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2286
2286
|
: getSitesSettingsPhpVersionsResponseMock()), { status: 200,
|
|
@@ -2290,7 +2290,7 @@ export const getSitesSettingsPhpVersionsMockHandler = (overrideResponse) => {
|
|
|
2290
2290
|
};
|
|
2291
2291
|
export const getSitesSshUserListMockHandler = (overrideResponse) => {
|
|
2292
2292
|
return http.get('*/v1/sites/:siteId/ssh-users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2293
|
-
yield delay(
|
|
2293
|
+
yield delay(0);
|
|
2294
2294
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2295
2295
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2296
2296
|
: getSitesSshUserListResponseMock()), { status: 200,
|
|
@@ -2300,7 +2300,7 @@ export const getSitesSshUserListMockHandler = (overrideResponse) => {
|
|
|
2300
2300
|
};
|
|
2301
2301
|
export const getSitesSshUserCreateMockHandler = (overrideResponse) => {
|
|
2302
2302
|
return http.post('*/v1/sites/:siteId/ssh-users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2303
|
-
yield delay(
|
|
2303
|
+
yield delay(0);
|
|
2304
2304
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2305
2305
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2306
2306
|
: getSitesSshUserCreateResponseMock()), { status: 200,
|
|
@@ -2310,7 +2310,7 @@ export const getSitesSshUserCreateMockHandler = (overrideResponse) => {
|
|
|
2310
2310
|
};
|
|
2311
2311
|
export const getSitesSshUserDeleteMockHandler = (overrideResponse) => {
|
|
2312
2312
|
return http.delete('*/v1/sites/:siteId/ssh-users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2313
|
-
yield delay(
|
|
2313
|
+
yield delay(0);
|
|
2314
2314
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2315
2315
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2316
2316
|
: getSitesSshUserDeleteResponseMock()), { status: 200,
|
|
@@ -2320,7 +2320,7 @@ export const getSitesSshUserDeleteMockHandler = (overrideResponse) => {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
export const getSitesSshUserUpdateMockHandler = (overrideResponse) => {
|
|
2322
2322
|
return http.put('*/v1/sites/:siteId/ssh-users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2323
|
-
yield delay(
|
|
2323
|
+
yield delay(0);
|
|
2324
2324
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2325
2325
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2326
2326
|
: getSitesSshUserUpdateResponseMock()), { status: 200,
|
|
@@ -2330,7 +2330,7 @@ export const getSitesSshUserUpdateMockHandler = (overrideResponse) => {
|
|
|
2330
2330
|
};
|
|
2331
2331
|
export const getSitesSslMockHandler = (overrideResponse) => {
|
|
2332
2332
|
return http.get('*/v1/sites/:siteId/ssl', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2333
|
-
yield delay(
|
|
2333
|
+
yield delay(0);
|
|
2334
2334
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2335
2335
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2336
2336
|
: getSitesSslResponseMock()), { status: 200,
|
|
@@ -2340,7 +2340,7 @@ export const getSitesSslMockHandler = (overrideResponse) => {
|
|
|
2340
2340
|
};
|
|
2341
2341
|
export const getSitesSsoMockHandler = (overrideResponse) => {
|
|
2342
2342
|
return http.get('*/v1/sites/:siteId/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2343
|
-
yield delay(
|
|
2343
|
+
yield delay(0);
|
|
2344
2344
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2345
2345
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2346
2346
|
: getSitesSsoResponseMock()), { status: 200,
|
|
@@ -2350,7 +2350,7 @@ export const getSitesSsoMockHandler = (overrideResponse) => {
|
|
|
2350
2350
|
};
|
|
2351
2351
|
export const getStagingSitePromoteMockHandler = (overrideResponse) => {
|
|
2352
2352
|
return http.post('*/v1/sites/:siteId/staging', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2353
|
-
yield delay(
|
|
2353
|
+
yield delay(0);
|
|
2354
2354
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2355
2355
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2356
2356
|
: getStagingSitePromoteResponseMock()), { status: 200,
|
|
@@ -2360,7 +2360,7 @@ export const getStagingSitePromoteMockHandler = (overrideResponse) => {
|
|
|
2360
2360
|
};
|
|
2361
2361
|
export const getSiteStatusMockHandler = (overrideResponse) => {
|
|
2362
2362
|
return http.get('*/v1/sites/:siteId/status', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2363
|
-
yield delay(
|
|
2363
|
+
yield delay(0);
|
|
2364
2364
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2365
2365
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2366
2366
|
: getSiteStatusResponseMock()), { status: 200,
|
|
@@ -2370,7 +2370,7 @@ export const getSiteStatusMockHandler = (overrideResponse) => {
|
|
|
2370
2370
|
};
|
|
2371
2371
|
export const getSiteUsersMockHandler = (overrideResponse) => {
|
|
2372
2372
|
return http.get('*/v1/sites/:siteId/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2373
|
-
yield delay(
|
|
2373
|
+
yield delay(0);
|
|
2374
2374
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2375
2375
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2376
2376
|
: getSiteUsersResponseMock()), { status: 200,
|
|
@@ -2380,7 +2380,7 @@ export const getSiteUsersMockHandler = (overrideResponse) => {
|
|
|
2380
2380
|
};
|
|
2381
2381
|
export const getSitesVersionMockHandler = (overrideResponse) => {
|
|
2382
2382
|
return http.get('*/v1/sites/:siteId/version', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2383
|
-
yield delay(
|
|
2383
|
+
yield delay(0);
|
|
2384
2384
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2385
2385
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2386
2386
|
: getSitesVersionResponseMock()), { status: 200,
|
|
@@ -2390,7 +2390,7 @@ export const getSitesVersionMockHandler = (overrideResponse) => {
|
|
|
2390
2390
|
};
|
|
2391
2391
|
export const getSiteAddonWpsolutionMockHandler = (overrideResponse) => {
|
|
2392
2392
|
return http.post('*/v1/sites/:siteId/wpsolution', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2393
|
-
yield delay(
|
|
2393
|
+
yield delay(0);
|
|
2394
2394
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2395
2395
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2396
2396
|
: getSiteAddonWpsolutionResponseMock()), { status: 200,
|
|
@@ -2400,7 +2400,7 @@ export const getSiteAddonWpsolutionMockHandler = (overrideResponse) => {
|
|
|
2400
2400
|
};
|
|
2401
2401
|
export const getAddonsSitelockSsoV2MockHandler = (overrideResponse) => {
|
|
2402
2402
|
return http.get('*/v2/addons/sitelock/:addonId/sso', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2403
|
-
yield delay(
|
|
2403
|
+
yield delay(0);
|
|
2404
2404
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2405
2405
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2406
2406
|
: getAddonsSitelockSsoV2ResponseMock()), { status: 200,
|
|
@@ -2410,7 +2410,7 @@ export const getAddonsSitelockSsoV2MockHandler = (overrideResponse) => {
|
|
|
2410
2410
|
};
|
|
2411
2411
|
export const getBackupCreateV2MockHandler = (overrideResponse) => {
|
|
2412
2412
|
return http.post('*/v2/addons/:addonId/backup/create', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2413
|
-
yield delay(
|
|
2413
|
+
yield delay(0);
|
|
2414
2414
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2415
2415
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2416
2416
|
: getBackupCreateV2ResponseMock()), { status: 200,
|
|
@@ -2420,7 +2420,7 @@ export const getBackupCreateV2MockHandler = (overrideResponse) => {
|
|
|
2420
2420
|
};
|
|
2421
2421
|
export const getBackupDownloadV2MockHandler = (overrideResponse) => {
|
|
2422
2422
|
return http.post('*/v2/addons/:addonId/backup/download', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2423
|
-
yield delay(
|
|
2423
|
+
yield delay(0);
|
|
2424
2424
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2425
2425
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2426
2426
|
: getBackupDownloadV2ResponseMock()), { status: 200,
|
|
@@ -2430,7 +2430,7 @@ export const getBackupDownloadV2MockHandler = (overrideResponse) => {
|
|
|
2430
2430
|
};
|
|
2431
2431
|
export const getBackupListV2MockHandler = (overrideResponse) => {
|
|
2432
2432
|
return http.get('*/v2/addons/:addonId/backup/list', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2433
|
-
yield delay(
|
|
2433
|
+
yield delay(0);
|
|
2434
2434
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2435
2435
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2436
2436
|
: getBackupListV2ResponseMock()), { status: 200,
|
|
@@ -2440,7 +2440,7 @@ export const getBackupListV2MockHandler = (overrideResponse) => {
|
|
|
2440
2440
|
};
|
|
2441
2441
|
export const getBackupRestoreV2MockHandler = (overrideResponse) => {
|
|
2442
2442
|
return http.post('*/v2/addons/:addonId/backup/restore', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2443
|
-
yield delay(
|
|
2443
|
+
yield delay(0);
|
|
2444
2444
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2445
2445
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2446
2446
|
: getBackupRestoreV2ResponseMock()), { status: 200,
|
|
@@ -2450,7 +2450,7 @@ export const getBackupRestoreV2MockHandler = (overrideResponse) => {
|
|
|
2450
2450
|
};
|
|
2451
2451
|
export const getBackupStatusV2MockHandler = (overrideResponse) => {
|
|
2452
2452
|
return http.get('*/v2/addons/:addonId/backup/status', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2453
|
-
yield delay(
|
|
2453
|
+
yield delay(0);
|
|
2454
2454
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2455
2455
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2456
2456
|
: getBackupStatusV2ResponseMock()), { status: 200,
|
|
@@ -2460,7 +2460,7 @@ export const getBackupStatusV2MockHandler = (overrideResponse) => {
|
|
|
2460
2460
|
};
|
|
2461
2461
|
export const getDbListV2MockHandler = (overrideResponse) => {
|
|
2462
2462
|
return http.get('*/v2/hosting/:hostingId/db', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2463
|
-
yield delay(
|
|
2463
|
+
yield delay(0);
|
|
2464
2464
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2465
2465
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2466
2466
|
: getDbListV2ResponseMock()), { status: 200,
|
|
@@ -2470,7 +2470,7 @@ export const getDbListV2MockHandler = (overrideResponse) => {
|
|
|
2470
2470
|
};
|
|
2471
2471
|
export const getHostingDomainsUnassignV2MockHandler = (overrideResponse) => {
|
|
2472
2472
|
return http.post('*/v2/hosting/:hostingId/domains/unassign', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2473
|
-
yield delay(
|
|
2473
|
+
yield delay(0);
|
|
2474
2474
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2475
2475
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2476
2476
|
: getHostingDomainsUnassignV2ResponseMock()), { status: 200,
|
|
@@ -2480,7 +2480,7 @@ export const getHostingDomainsUnassignV2MockHandler = (overrideResponse) => {
|
|
|
2480
2480
|
};
|
|
2481
2481
|
export const getListFilesV2MockHandler = (overrideResponse) => {
|
|
2482
2482
|
return http.get('*/v2/hosting/:hostingId/files', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2483
|
-
yield delay(
|
|
2483
|
+
yield delay(0);
|
|
2484
2484
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2485
2485
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2486
2486
|
: getListFilesV2ResponseMock()), { status: 200,
|
|
@@ -2490,7 +2490,7 @@ export const getListFilesV2MockHandler = (overrideResponse) => {
|
|
|
2490
2490
|
};
|
|
2491
2491
|
export const getHostingNameserversV2MockHandler = (overrideResponse) => {
|
|
2492
2492
|
return http.get('*/v2/hosting/:hostingId/nameservers', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2493
|
-
yield delay(
|
|
2493
|
+
yield delay(0);
|
|
2494
2494
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2495
2495
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2496
2496
|
: getHostingNameserversV2ResponseMock()), { status: 200,
|
|
@@ -2500,7 +2500,7 @@ export const getHostingNameserversV2MockHandler = (overrideResponse) => {
|
|
|
2500
2500
|
};
|
|
2501
2501
|
export const getHostingRedirectsV2MockHandler = (overrideResponse) => {
|
|
2502
2502
|
return http.get('*/v2/hosting/:hostingId/redirects', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2503
|
-
yield delay(
|
|
2503
|
+
yield delay(0);
|
|
2504
2504
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2505
2505
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2506
2506
|
: getHostingRedirectsV2ResponseMock()), { status: 200,
|
|
@@ -2510,7 +2510,7 @@ export const getHostingRedirectsV2MockHandler = (overrideResponse) => {
|
|
|
2510
2510
|
};
|
|
2511
2511
|
export const getHostingSitesV2MockHandler = (overrideResponse) => {
|
|
2512
2512
|
return http.get('*/v2/hosting/:hostingId/sites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2513
|
-
yield delay(
|
|
2513
|
+
yield delay(0);
|
|
2514
2514
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2515
2515
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2516
2516
|
: getHostingSitesV2ResponseMock()), { status: 200,
|
|
@@ -2520,7 +2520,7 @@ export const getHostingSitesV2MockHandler = (overrideResponse) => {
|
|
|
2520
2520
|
};
|
|
2521
2521
|
export const getHostingSiteAddV2MockHandler = (overrideResponse) => {
|
|
2522
2522
|
return http.post('*/v2/hosting/:hostingId/sites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2523
|
-
yield delay(
|
|
2523
|
+
yield delay(0);
|
|
2524
2524
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2525
2525
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2526
2526
|
: getHostingSiteAddV2ResponseMock()), { status: 200,
|
|
@@ -2530,7 +2530,7 @@ export const getHostingSiteAddV2MockHandler = (overrideResponse) => {
|
|
|
2530
2530
|
};
|
|
2531
2531
|
export const getSshKeyImportV2MockHandler = (overrideResponse) => {
|
|
2532
2532
|
return http.post('*/v2/hosting/:hostingId/ssh/import', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2533
|
-
yield delay(
|
|
2533
|
+
yield delay(0);
|
|
2534
2534
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2535
2535
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2536
2536
|
: getSshKeyImportV2ResponseMock()), { status: 200,
|
|
@@ -2540,7 +2540,7 @@ export const getSshKeyImportV2MockHandler = (overrideResponse) => {
|
|
|
2540
2540
|
};
|
|
2541
2541
|
export const getSshKeyListV2MockHandler = (overrideResponse) => {
|
|
2542
2542
|
return http.get('*/v2/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2543
|
-
yield delay(
|
|
2543
|
+
yield delay(0);
|
|
2544
2544
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2545
2545
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2546
2546
|
: getSshKeyListV2ResponseMock()), { status: 200,
|
|
@@ -2550,7 +2550,7 @@ export const getSshKeyListV2MockHandler = (overrideResponse) => {
|
|
|
2550
2550
|
};
|
|
2551
2551
|
export const getSshKeyV2MockHandler = (overrideResponse) => {
|
|
2552
2552
|
return http.delete('*/v2/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2553
|
-
yield delay(
|
|
2553
|
+
yield delay(0);
|
|
2554
2554
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2555
2555
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2556
2556
|
: getSshKeyV2ResponseMock()), { status: 200,
|
|
@@ -2560,7 +2560,7 @@ export const getSshKeyV2MockHandler = (overrideResponse) => {
|
|
|
2560
2560
|
};
|
|
2561
2561
|
export const getSitesListV2MockHandler = (overrideResponse) => {
|
|
2562
2562
|
return http.get('*/v2/sites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2563
|
-
yield delay(
|
|
2563
|
+
yield delay(0);
|
|
2564
2564
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2565
2565
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2566
2566
|
: getSitesListV2ResponseMock()), { status: 200,
|
|
@@ -2570,7 +2570,7 @@ export const getSitesListV2MockHandler = (overrideResponse) => {
|
|
|
2570
2570
|
};
|
|
2571
2571
|
export const getSitesInfoV2MockHandler = (overrideResponse) => {
|
|
2572
2572
|
return http.get('*/v2/sites/:siteId', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2573
|
-
yield delay(
|
|
2573
|
+
yield delay(0);
|
|
2574
2574
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2575
2575
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2576
2576
|
: getSitesInfoV2ResponseMock()), { status: 200,
|
|
@@ -2580,7 +2580,7 @@ export const getSitesInfoV2MockHandler = (overrideResponse) => {
|
|
|
2580
2580
|
};
|
|
2581
2581
|
export const getSitesDomainsV2MockHandler = (overrideResponse) => {
|
|
2582
2582
|
return http.get('*/v2/sites/:siteId/domains', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2583
|
-
yield delay(
|
|
2583
|
+
yield delay(0);
|
|
2584
2584
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2585
2585
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2586
2586
|
: getSitesDomainsV2ResponseMock()), { status: 200,
|
|
@@ -2590,7 +2590,7 @@ export const getSitesDomainsV2MockHandler = (overrideResponse) => {
|
|
|
2590
2590
|
};
|
|
2591
2591
|
export const getSiteMalwareStatusV2MockHandler = (overrideResponse) => {
|
|
2592
2592
|
return http.get('*/v2/sites/:siteId/malware-status', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2593
|
-
yield delay(
|
|
2593
|
+
yield delay(0);
|
|
2594
2594
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2595
2595
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2596
2596
|
: getSiteMalwareStatusV2ResponseMock()), { status: 200,
|
|
@@ -2600,7 +2600,7 @@ export const getSiteMalwareStatusV2MockHandler = (overrideResponse) => {
|
|
|
2600
2600
|
};
|
|
2601
2601
|
export const getSitesSecuritySitelockV2MockHandler = (overrideResponse) => {
|
|
2602
2602
|
return http.get('*/v2/sites/:siteId/security/sitelock', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2603
|
-
yield delay(
|
|
2603
|
+
yield delay(0);
|
|
2604
2604
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2605
2605
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2606
2606
|
: getSitesSecuritySitelockV2ResponseMock()), { status: 200,
|
|
@@ -2610,7 +2610,7 @@ export const getSitesSecuritySitelockV2MockHandler = (overrideResponse) => {
|
|
|
2610
2610
|
};
|
|
2611
2611
|
export const getSitesSshUserListV2MockHandler = (overrideResponse) => {
|
|
2612
2612
|
return http.get('*/v2/sites/:siteId/ssh-users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2613
|
-
yield delay(
|
|
2613
|
+
yield delay(0);
|
|
2614
2614
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2615
2615
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2616
2616
|
: getSitesSshUserListV2ResponseMock()), { status: 200,
|
|
@@ -2620,7 +2620,7 @@ export const getSitesSshUserListV2MockHandler = (overrideResponse) => {
|
|
|
2620
2620
|
};
|
|
2621
2621
|
export const getSiteUsersV2MockHandler = (overrideResponse) => {
|
|
2622
2622
|
return http.get('*/v2/sites/:siteId/users', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2623
|
-
yield delay(
|
|
2623
|
+
yield delay(0);
|
|
2624
2624
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2625
2625
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2626
2626
|
: getSiteUsersV2ResponseMock()), { status: 200,
|
|
@@ -2630,7 +2630,7 @@ export const getSiteUsersV2MockHandler = (overrideResponse) => {
|
|
|
2630
2630
|
};
|
|
2631
2631
|
export const getSshKeyImportV3MockHandler = (overrideResponse) => {
|
|
2632
2632
|
return http.post('*/v3/hosting/:hostingId/ssh/import', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2633
|
-
yield delay(
|
|
2633
|
+
yield delay(0);
|
|
2634
2634
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2635
2635
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2636
2636
|
: getSshKeyImportV3ResponseMock()), { status: 200,
|
|
@@ -2640,7 +2640,7 @@ export const getSshKeyImportV3MockHandler = (overrideResponse) => {
|
|
|
2640
2640
|
};
|
|
2641
2641
|
export const getSshKeyListV3MockHandler = (overrideResponse) => {
|
|
2642
2642
|
return http.get('*/v3/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2643
|
-
yield delay(
|
|
2643
|
+
yield delay(0);
|
|
2644
2644
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2645
2645
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2646
2646
|
: getSshKeyListV3ResponseMock()), { status: 200,
|
|
@@ -2650,7 +2650,7 @@ export const getSshKeyListV3MockHandler = (overrideResponse) => {
|
|
|
2650
2650
|
};
|
|
2651
2651
|
export const getSitesListV3MockHandler = (overrideResponse) => {
|
|
2652
2652
|
return http.get('*/v3/sites', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2653
|
-
yield delay(
|
|
2653
|
+
yield delay(0);
|
|
2654
2654
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2655
2655
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2656
2656
|
: getSitesListV3ResponseMock()), { status: 200,
|
|
@@ -2660,7 +2660,7 @@ export const getSitesListV3MockHandler = (overrideResponse) => {
|
|
|
2660
2660
|
};
|
|
2661
2661
|
export const getSshKeyListV4MockHandler = (overrideResponse) => {
|
|
2662
2662
|
return http.get('*/v4/hosting/:hostingId/ssh/keys', (info) => __awaiter(void 0, void 0, void 0, function* () {
|
|
2663
|
-
yield delay(
|
|
2663
|
+
yield delay(0);
|
|
2664
2664
|
return new HttpResponse(JSON.stringify(overrideResponse !== undefined
|
|
2665
2665
|
? (typeof overrideResponse === "function" ? yield overrideResponse(info) : overrideResponse)
|
|
2666
2666
|
: getSshKeyListV4ResponseMock()), { status: 200,
|