@gooday_corp/gooday-api-client 1.1.12-beta-3 → 1.1.12-delta

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.
Files changed (2) hide show
  1. package/api.ts +0 -679
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -60,19 +60,6 @@ export interface AddDevicePayload {
60
60
  */
61
61
  'version': string;
62
62
  }
63
- /**
64
- *
65
- * @export
66
- * @interface ApproveFriendshipRequestPayload
67
- */
68
- export interface ApproveFriendshipRequestPayload {
69
- /**
70
- *
71
- * @type {string}
72
- * @memberof ApproveFriendshipRequestPayload
73
- */
74
- 'from': string;
75
- }
76
63
  /**
77
64
  *
78
65
  * @export
@@ -555,19 +542,6 @@ export interface CreatePaymentLinkDTO {
555
542
  */
556
543
  'user': string;
557
544
  }
558
- /**
559
- *
560
- * @export
561
- * @interface DeclineFriendshipRequestPayload
562
- */
563
- export interface DeclineFriendshipRequestPayload {
564
- /**
565
- *
566
- * @type {string}
567
- * @memberof DeclineFriendshipRequestPayload
568
- */
569
- 'from': string;
570
- }
571
545
  /**
572
546
  *
573
547
  * @export
@@ -719,87 +693,6 @@ export interface ForgotPasswordResponseDTO {
719
693
  */
720
694
  'message': string;
721
695
  }
722
- /**
723
- *
724
- * @export
725
- * @interface FriendsDTO
726
- */
727
- export interface FriendsDTO {
728
- /**
729
- * statusCode
730
- * @type {number}
731
- * @memberof FriendsDTO
732
- */
733
- 'statusCode': number;
734
- /**
735
- * User
736
- * @type {Array<UserEntity>}
737
- * @memberof FriendsDTO
738
- */
739
- 'data': Array<UserEntity>;
740
- }
741
- /**
742
- *
743
- * @export
744
- * @interface FriendsResponseDTO
745
- */
746
- export interface FriendsResponseDTO {
747
- /**
748
- * statusCode
749
- * @type {number}
750
- * @memberof FriendsResponseDTO
751
- */
752
- 'statusCode': number;
753
- /**
754
- *
755
- * @type {boolean}
756
- * @memberof FriendsResponseDTO
757
- */
758
- 'success': boolean;
759
- }
760
- /**
761
- *
762
- * @export
763
- * @interface FriendshipStatusCheck
764
- */
765
- export interface FriendshipStatusCheck {
766
- /**
767
- *
768
- * @type {string}
769
- * @memberof FriendshipStatusCheck
770
- */
771
- 'to': string;
772
- }
773
- /**
774
- *
775
- * @export
776
- * @interface FriendshipStatusDTO
777
- */
778
- export interface FriendshipStatusDTO {
779
- /**
780
- * statusCode
781
- * @type {number}
782
- * @memberof FriendshipStatusDTO
783
- */
784
- 'statusCode': number;
785
- /**
786
- *
787
- * @type {string}
788
- * @memberof FriendshipStatusDTO
789
- */
790
- 'success': FriendshipStatusDTOSuccessEnum;
791
- }
792
-
793
- export const FriendshipStatusDTOSuccessEnum = {
794
- Pending: 'PENDING',
795
- Confirmed: 'CONFIRMED',
796
- Rejected: 'REJECTED',
797
- Cancelled: 'CANCELLED',
798
- Unknown: 'UNKNOWN'
799
- } as const;
800
-
801
- export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
802
-
803
696
  /**
804
697
  *
805
698
  * @export
@@ -1397,19 +1290,6 @@ export interface PriceRangeListResponse {
1397
1290
  */
1398
1291
  'data': Array<PriceRangeEntity>;
1399
1292
  }
1400
- /**
1401
- *
1402
- * @export
1403
- * @interface RemoveFriendshipRequestPayload
1404
- */
1405
- export interface RemoveFriendshipRequestPayload {
1406
- /**
1407
- *
1408
- * @type {string}
1409
- * @memberof RemoveFriendshipRequestPayload
1410
- */
1411
- 'from': string;
1412
- }
1413
1293
  /**
1414
1294
  *
1415
1295
  * @export
@@ -1448,19 +1328,6 @@ export interface ResetPasswordResponseDTO {
1448
1328
  */
1449
1329
  'message': string;
1450
1330
  }
1451
- /**
1452
- *
1453
- * @export
1454
- * @interface SendFriendshipRequestPayload
1455
- */
1456
- export interface SendFriendshipRequestPayload {
1457
- /**
1458
- *
1459
- * @type {string}
1460
- * @memberof SendFriendshipRequestPayload
1461
- */
1462
- 'to': string;
1463
- }
1464
1331
  /**
1465
1332
  *
1466
1333
  * @export
@@ -3378,552 +3245,6 @@ export class DeviceApi extends BaseAPI {
3378
3245
 
3379
3246
 
3380
3247
 
3381
- /**
3382
- * FriendsApi - axios parameter creator
3383
- * @export
3384
- */
3385
- export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
3386
- return {
3387
- /**
3388
- *
3389
- * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3390
- * @param {*} [options] Override http request option.
3391
- * @throws {RequiredError}
3392
- */
3393
- friendControllerApproveFriendRequest: async (approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3394
- // verify required parameter 'approveFriendshipRequestPayload' is not null or undefined
3395
- assertParamExists('friendControllerApproveFriendRequest', 'approveFriendshipRequestPayload', approveFriendshipRequestPayload)
3396
- const localVarPath = `/v1/friend/approve-request`;
3397
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3398
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3399
- let baseOptions;
3400
- if (configuration) {
3401
- baseOptions = configuration.baseOptions;
3402
- }
3403
-
3404
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3405
- const localVarHeaderParameter = {} as any;
3406
- const localVarQueryParameter = {} as any;
3407
-
3408
- // authentication bearer required
3409
- // http bearer authentication required
3410
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3411
-
3412
-
3413
-
3414
- localVarHeaderParameter['Content-Type'] = 'application/json';
3415
-
3416
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3417
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3418
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3419
- localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
3420
-
3421
- return {
3422
- url: toPathString(localVarUrlObj),
3423
- options: localVarRequestOptions,
3424
- };
3425
- },
3426
- /**
3427
- *
3428
- * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
3429
- * @param {*} [options] Override http request option.
3430
- * @throws {RequiredError}
3431
- */
3432
- friendControllerDeclineFriendRequest: async (declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3433
- // verify required parameter 'declineFriendshipRequestPayload' is not null or undefined
3434
- assertParamExists('friendControllerDeclineFriendRequest', 'declineFriendshipRequestPayload', declineFriendshipRequestPayload)
3435
- const localVarPath = `/v1/friend/decline-request`;
3436
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3437
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3438
- let baseOptions;
3439
- if (configuration) {
3440
- baseOptions = configuration.baseOptions;
3441
- }
3442
-
3443
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3444
- const localVarHeaderParameter = {} as any;
3445
- const localVarQueryParameter = {} as any;
3446
-
3447
- // authentication bearer required
3448
- // http bearer authentication required
3449
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3450
-
3451
-
3452
-
3453
- localVarHeaderParameter['Content-Type'] = 'application/json';
3454
-
3455
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3456
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3457
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3458
- localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
3459
-
3460
- return {
3461
- url: toPathString(localVarUrlObj),
3462
- options: localVarRequestOptions,
3463
- };
3464
- },
3465
- /**
3466
- *
3467
- * @param {number} page
3468
- * @param {number} pageSize
3469
- * @param {string} [query]
3470
- * @param {*} [options] Override http request option.
3471
- * @throws {RequiredError}
3472
- */
3473
- friendControllerFindFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3474
- // verify required parameter 'page' is not null or undefined
3475
- assertParamExists('friendControllerFindFriends', 'page', page)
3476
- // verify required parameter 'pageSize' is not null or undefined
3477
- assertParamExists('friendControllerFindFriends', 'pageSize', pageSize)
3478
- const localVarPath = `/v1/friend/find`;
3479
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3480
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3481
- let baseOptions;
3482
- if (configuration) {
3483
- baseOptions = configuration.baseOptions;
3484
- }
3485
-
3486
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3487
- const localVarHeaderParameter = {} as any;
3488
- const localVarQueryParameter = {} as any;
3489
-
3490
- // authentication bearer required
3491
- // http bearer authentication required
3492
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3493
-
3494
- if (query !== undefined) {
3495
- localVarQueryParameter['query'] = query;
3496
- }
3497
-
3498
- if (page !== undefined) {
3499
- localVarQueryParameter['page'] = page;
3500
- }
3501
-
3502
- if (pageSize !== undefined) {
3503
- localVarQueryParameter['pageSize'] = pageSize;
3504
- }
3505
-
3506
-
3507
-
3508
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3509
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3510
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3511
-
3512
- return {
3513
- url: toPathString(localVarUrlObj),
3514
- options: localVarRequestOptions,
3515
- };
3516
- },
3517
- /**
3518
- *
3519
- * @param {FriendshipStatusCheck} friendshipStatusCheck
3520
- * @param {*} [options] Override http request option.
3521
- * @throws {RequiredError}
3522
- */
3523
- friendControllerGetFriendshipStatus: async (friendshipStatusCheck: FriendshipStatusCheck, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3524
- // verify required parameter 'friendshipStatusCheck' is not null or undefined
3525
- assertParamExists('friendControllerGetFriendshipStatus', 'friendshipStatusCheck', friendshipStatusCheck)
3526
- const localVarPath = `/v1/friend/status`;
3527
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3528
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3529
- let baseOptions;
3530
- if (configuration) {
3531
- baseOptions = configuration.baseOptions;
3532
- }
3533
-
3534
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3535
- const localVarHeaderParameter = {} as any;
3536
- const localVarQueryParameter = {} as any;
3537
-
3538
- // authentication bearer required
3539
- // http bearer authentication required
3540
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3541
-
3542
-
3543
-
3544
- localVarHeaderParameter['Content-Type'] = 'application/json';
3545
-
3546
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3547
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3548
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3549
- localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
3550
-
3551
- return {
3552
- url: toPathString(localVarUrlObj),
3553
- options: localVarRequestOptions,
3554
- };
3555
- },
3556
- /**
3557
- *
3558
- * @param {*} [options] Override http request option.
3559
- * @throws {RequiredError}
3560
- */
3561
- friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3562
- const localVarPath = `/v1/friend/list`;
3563
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3564
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3565
- let baseOptions;
3566
- if (configuration) {
3567
- baseOptions = configuration.baseOptions;
3568
- }
3569
-
3570
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3571
- const localVarHeaderParameter = {} as any;
3572
- const localVarQueryParameter = {} as any;
3573
-
3574
- // authentication bearer required
3575
- // http bearer authentication required
3576
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3577
-
3578
-
3579
-
3580
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3581
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3582
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3583
-
3584
- return {
3585
- url: toPathString(localVarUrlObj),
3586
- options: localVarRequestOptions,
3587
- };
3588
- },
3589
- /**
3590
- *
3591
- * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
3592
- * @param {*} [options] Override http request option.
3593
- * @throws {RequiredError}
3594
- */
3595
- friendControllerRemoveFriendById: async (removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3596
- // verify required parameter 'removeFriendshipRequestPayload' is not null or undefined
3597
- assertParamExists('friendControllerRemoveFriendById', 'removeFriendshipRequestPayload', removeFriendshipRequestPayload)
3598
- const localVarPath = `/v1/friend/remove`;
3599
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3600
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3601
- let baseOptions;
3602
- if (configuration) {
3603
- baseOptions = configuration.baseOptions;
3604
- }
3605
-
3606
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3607
- const localVarHeaderParameter = {} as any;
3608
- const localVarQueryParameter = {} as any;
3609
-
3610
- // authentication bearer required
3611
- // http bearer authentication required
3612
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3613
-
3614
-
3615
-
3616
- localVarHeaderParameter['Content-Type'] = 'application/json';
3617
-
3618
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3619
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3620
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3621
- localVarRequestOptions.data = serializeDataIfNeeded(removeFriendshipRequestPayload, localVarRequestOptions, configuration)
3622
-
3623
- return {
3624
- url: toPathString(localVarUrlObj),
3625
- options: localVarRequestOptions,
3626
- };
3627
- },
3628
- /**
3629
- *
3630
- * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
3631
- * @param {*} [options] Override http request option.
3632
- * @throws {RequiredError}
3633
- */
3634
- friendControllerSendFriendRequest: async (sendFriendshipRequestPayload: SendFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3635
- // verify required parameter 'sendFriendshipRequestPayload' is not null or undefined
3636
- assertParamExists('friendControllerSendFriendRequest', 'sendFriendshipRequestPayload', sendFriendshipRequestPayload)
3637
- const localVarPath = `/v1/friend/send-request`;
3638
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3639
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3640
- let baseOptions;
3641
- if (configuration) {
3642
- baseOptions = configuration.baseOptions;
3643
- }
3644
-
3645
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3646
- const localVarHeaderParameter = {} as any;
3647
- const localVarQueryParameter = {} as any;
3648
-
3649
- // authentication bearer required
3650
- // http bearer authentication required
3651
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3652
-
3653
-
3654
-
3655
- localVarHeaderParameter['Content-Type'] = 'application/json';
3656
-
3657
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3658
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3659
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3660
- localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
3661
-
3662
- return {
3663
- url: toPathString(localVarUrlObj),
3664
- options: localVarRequestOptions,
3665
- };
3666
- },
3667
- }
3668
- };
3669
-
3670
- /**
3671
- * FriendsApi - functional programming interface
3672
- * @export
3673
- */
3674
- export const FriendsApiFp = function(configuration?: Configuration) {
3675
- const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
3676
- return {
3677
- /**
3678
- *
3679
- * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3680
- * @param {*} [options] Override http request option.
3681
- * @throws {RequiredError}
3682
- */
3683
- async friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
3684
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options);
3685
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3686
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
3687
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3688
- },
3689
- /**
3690
- *
3691
- * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
3692
- * @param {*} [options] Override http request option.
3693
- * @throws {RequiredError}
3694
- */
3695
- async friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
3696
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options);
3697
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3698
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
3699
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3700
- },
3701
- /**
3702
- *
3703
- * @param {number} page
3704
- * @param {number} pageSize
3705
- * @param {string} [query]
3706
- * @param {*} [options] Override http request option.
3707
- * @throws {RequiredError}
3708
- */
3709
- async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
3710
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
3711
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3712
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
3713
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3714
- },
3715
- /**
3716
- *
3717
- * @param {FriendshipStatusCheck} friendshipStatusCheck
3718
- * @param {*} [options] Override http request option.
3719
- * @throws {RequiredError}
3720
- */
3721
- async friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipStatusDTO>> {
3722
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendshipStatus(friendshipStatusCheck, options);
3723
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3724
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
3725
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3726
- },
3727
- /**
3728
- *
3729
- * @param {*} [options] Override http request option.
3730
- * @throws {RequiredError}
3731
- */
3732
- async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
3733
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
3734
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3735
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
3736
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3737
- },
3738
- /**
3739
- *
3740
- * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
3741
- * @param {*} [options] Override http request option.
3742
- * @throws {RequiredError}
3743
- */
3744
- async friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
3745
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options);
3746
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3747
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
3748
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3749
- },
3750
- /**
3751
- *
3752
- * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
3753
- * @param {*} [options] Override http request option.
3754
- * @throws {RequiredError}
3755
- */
3756
- async friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
3757
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options);
3758
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3759
- const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
3760
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3761
- },
3762
- }
3763
- };
3764
-
3765
- /**
3766
- * FriendsApi - factory interface
3767
- * @export
3768
- */
3769
- export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3770
- const localVarFp = FriendsApiFp(configuration)
3771
- return {
3772
- /**
3773
- *
3774
- * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3775
- * @param {*} [options] Override http request option.
3776
- * @throws {RequiredError}
3777
- */
3778
- friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
3779
- return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
3780
- },
3781
- /**
3782
- *
3783
- * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
3784
- * @param {*} [options] Override http request option.
3785
- * @throws {RequiredError}
3786
- */
3787
- friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
3788
- return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
3789
- },
3790
- /**
3791
- *
3792
- * @param {number} page
3793
- * @param {number} pageSize
3794
- * @param {string} [query]
3795
- * @param {*} [options] Override http request option.
3796
- * @throws {RequiredError}
3797
- */
3798
- friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
3799
- return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
3800
- },
3801
- /**
3802
- *
3803
- * @param {FriendshipStatusCheck} friendshipStatusCheck
3804
- * @param {*} [options] Override http request option.
3805
- * @throws {RequiredError}
3806
- */
3807
- friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
3808
- return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
3809
- },
3810
- /**
3811
- *
3812
- * @param {*} [options] Override http request option.
3813
- * @throws {RequiredError}
3814
- */
3815
- friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
3816
- return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
3817
- },
3818
- /**
3819
- *
3820
- * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
3821
- * @param {*} [options] Override http request option.
3822
- * @throws {RequiredError}
3823
- */
3824
- friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
3825
- return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
3826
- },
3827
- /**
3828
- *
3829
- * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
3830
- * @param {*} [options] Override http request option.
3831
- * @throws {RequiredError}
3832
- */
3833
- friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
3834
- return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
3835
- },
3836
- };
3837
- };
3838
-
3839
- /**
3840
- * FriendsApi - object-oriented interface
3841
- * @export
3842
- * @class FriendsApi
3843
- * @extends {BaseAPI}
3844
- */
3845
- export class FriendsApi extends BaseAPI {
3846
- /**
3847
- *
3848
- * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3849
- * @param {*} [options] Override http request option.
3850
- * @throws {RequiredError}
3851
- * @memberof FriendsApi
3852
- */
3853
- public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
3854
- return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
3855
- }
3856
-
3857
- /**
3858
- *
3859
- * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
3860
- * @param {*} [options] Override http request option.
3861
- * @throws {RequiredError}
3862
- * @memberof FriendsApi
3863
- */
3864
- public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
3865
- return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
3866
- }
3867
-
3868
- /**
3869
- *
3870
- * @param {number} page
3871
- * @param {number} pageSize
3872
- * @param {string} [query]
3873
- * @param {*} [options] Override http request option.
3874
- * @throws {RequiredError}
3875
- * @memberof FriendsApi
3876
- */
3877
- public friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
3878
- return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
3879
- }
3880
-
3881
- /**
3882
- *
3883
- * @param {FriendshipStatusCheck} friendshipStatusCheck
3884
- * @param {*} [options] Override http request option.
3885
- * @throws {RequiredError}
3886
- * @memberof FriendsApi
3887
- */
3888
- public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
3889
- return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
3890
- }
3891
-
3892
- /**
3893
- *
3894
- * @param {*} [options] Override http request option.
3895
- * @throws {RequiredError}
3896
- * @memberof FriendsApi
3897
- */
3898
- public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
3899
- return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
3900
- }
3901
-
3902
- /**
3903
- *
3904
- * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
3905
- * @param {*} [options] Override http request option.
3906
- * @throws {RequiredError}
3907
- * @memberof FriendsApi
3908
- */
3909
- public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
3910
- return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
3911
- }
3912
-
3913
- /**
3914
- *
3915
- * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
3916
- * @param {*} [options] Override http request option.
3917
- * @throws {RequiredError}
3918
- * @memberof FriendsApi
3919
- */
3920
- public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
3921
- return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
3922
- }
3923
- }
3924
-
3925
-
3926
-
3927
3248
  /**
3928
3249
  * GcsApi - axios parameter creator
3929
3250
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.12-beta-3",
3
+ "version": "1.1.12-delta",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},