@compassdigital/sdk.typescript 4.528.0 → 4.528.1-beta.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/lib/index.d.ts +308 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +373 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/loyalty.d.ts +402 -0
- package/lib/interface/loyalty.d.ts.map +1 -0
- package/lib/interface/loyalty.js +5 -0
- package/lib/interface/loyalty.js.map +1 -0
- package/manifest.json +7 -0
- package/package.json +1 -1
- package/src/index.ts +914 -0
- package/src/interface/loyalty.ts +659 -0
package/lib/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { GetSearchOrderQuery, GetSearchOrderResponse, GetSearchLocationQuery, Ge
|
|
|
29
29
|
import { PostAuthFlowBody, PostAuthFlowResponse, GetAuthSsoConfigQuery, GetAuthSsoConfigResponse, GetAuthSsoConfigsResponse, PostAuthSsoConfigBody, PostAuthSsoConfigResponse, PutAuthSsoConfigBody, PutAuthSsoConfigResponse, DeleteAuthSsoConfigResponse, PostAuthSsoBody, PostAuthSsoResponse, PostAuthSsoExchangeBody, PostAuthSsoExchangeResponse, GetAuthSsoExchangeQuery, GetAuthSsoExchangeResponse, PostAuthJwtAssertionBody, PostAuthJwtAssertionResponse, GetAuthJwtAssertionJwkResponse } from './interface/auth';
|
|
30
30
|
import { GetReviewsQuery, GetReviewsResponse, PostReviewBody, PostReviewResponse, GetReviewResponse, DeleteReviewResponse } from './interface/review';
|
|
31
31
|
import { DeleteDiscountResponse, GetDiscountResponse, PutDiscountBody, PutDiscountResponse, GetDiscountsQuery, GetDiscountsResponse, PostDiscountBody, PostDiscountResponse, PostDiscountEventBody, PostDiscountEventResponse, PostRewardsQuery, PostRewardsBody, PostRewardsResponse, PutDiscountPublishBody, PutDiscountPublishResponse } from './interface/discount';
|
|
32
|
+
import { BundleControllerFindAllQuery, BundleControllerFindAllResponse, BundleControllerCreateBody, BundleControllerCreateResponse, BundleControllerFindOneResponse, BundleControllerUpdateBody, BundleControllerUpdateResponse, BundleControllerRemoveResponse, CampaignControllerListQuery, CampaignControllerListResponse, CampaignControllerCreateBody, CampaignControllerCreateResponse, CampaignControllerFindOneResponse, CampaignControllerUpdateBody, CampaignControllerUpdateResponse, CampaignControllerRemoveResponse, CampaignControllerUpdateStatusBody, CampaignControllerUpdateStatusResponse, CampaignControllerCloneResponse, VoucherControllerFindAllQuery, VoucherControllerFindAllResponse, VoucherControllerCreateBody, VoucherControllerCreateResponse, VoucherControllerFindOneResponse, VoucherControllerUpdateBody, VoucherControllerUpdateResponse, VoucherControllerRemoveResponse, VoucherControllerRevokeBody, VoucherControllerRevokeResponse, VoucherControllerBatchGenerateBody, VoucherControllerBatchGenerateResponse, VoucherControllerFindRedemptionsQuery, VoucherControllerFindRedemptionsResponse, VoucherControllerValidateResponse, VoucherControllerRedeemResponse, SegmentControllerFindAllQuery, SegmentControllerFindAllResponse, SegmentControllerCreateBody, SegmentControllerCreateResponse, SegmentControllerGetAttributesResponse, SegmentControllerPreviewRuleCountResponse, SegmentControllerFindOneResponse, SegmentControllerUpdateBody, SegmentControllerUpdateResponse, SegmentControllerRemoveResponse, SegmentControllerFindMembersQuery, SegmentControllerFindMembersResponse, SegmentControllerAddMembersBody, SegmentControllerAddMembersResponse, SegmentControllerRemoveMembersBody, SegmentControllerRemoveMembersResponse, RedemptionControllerRollbackBody, RedemptionControllerRollbackResponse, LoyaltyControllerListProgramsQuery, LoyaltyControllerListProgramsResponse, LoyaltyControllerCreateProgramBody, LoyaltyControllerCreateProgramResponse, LoyaltyControllerFindOneProgramResponse, LoyaltyControllerUpdateProgramBody, LoyaltyControllerUpdateProgramResponse, LoyaltyControllerUpdateProgramStatusBody, LoyaltyControllerUpdateProgramStatusResponse, LoyaltyControllerListCardsQuery, LoyaltyControllerListCardsResponse, LoyaltyControllerFindCardResponse, LoyaltyControllerAdjustPointsBody, LoyaltyControllerAdjustPointsResponse } from './interface/loyalty';
|
|
32
33
|
import { GetTimeslotsBrandQuery, GetTimeslotsBrandResponse, PostTimeslotsBrandsBody, PostTimeslotsBrandsResponse, PostTimeslotsBrandIncrementBody, PostTimeslotsBrandIncrementResponse } from './interface/timeslots';
|
|
33
34
|
import { ProductionSheetControllerCreateSheetBody, ProductionSheetControllerCreateSheetResponse, ProductionSheetControllerGetScheduledMenuDataQuery, ProductionSheetControllerGetScheduledMenuDataResponse, ProductionSheetControllerSaveItemForecastDifferentialBody, ProductionSheetControllerSaveItemForecastDifferentialResponse, ProductionSheetControllerSendChatMessageBody, ProductionSheetControllerSendChatMessageResponse, ProductionSheetControllerSendChatFeedbackBody, ProductionSheetControllerSendChatFeedbackResponse, ProductionSheetControllerGetForecastMetaDataQuery, ProductionSheetControllerGetForecastMetaDataResponse, ProductionSheetControllerServiceStatusResponse, ProductionSheetControllerChatStreamBody, ProductionSheetControllerChatStreamResponse } from './interface/forecasting';
|
|
34
35
|
import { BaseServiceClient, RequestOptions, ResponsePromise } from './base';
|
|
@@ -5744,6 +5745,313 @@ export declare class ServiceClient extends BaseServiceClient {
|
|
|
5744
5745
|
* @param options - additional request options
|
|
5745
5746
|
*/
|
|
5746
5747
|
put_discount_publish(id: string, body: PutDiscountPublishBody, options?: RequestOptions): ResponsePromise<PutDiscountPublishResponse>;
|
|
5748
|
+
/**
|
|
5749
|
+
* GET /loyalty/bundles - List bundles with optional filters
|
|
5750
|
+
*
|
|
5751
|
+
* @param options - additional request options
|
|
5752
|
+
*/
|
|
5753
|
+
BundleController_findAll(options?: {
|
|
5754
|
+
query?: BundleControllerFindAllQuery;
|
|
5755
|
+
} & RequestOptions): ResponsePromise<BundleControllerFindAllResponse>;
|
|
5756
|
+
/**
|
|
5757
|
+
* POST /loyalty/bundles - Create a new bundle
|
|
5758
|
+
*
|
|
5759
|
+
* @param body
|
|
5760
|
+
* @param options - additional request options
|
|
5761
|
+
*/
|
|
5762
|
+
BundleController_create(body: BundleControllerCreateBody, options?: RequestOptions): ResponsePromise<BundleControllerCreateResponse>;
|
|
5763
|
+
/**
|
|
5764
|
+
* GET /loyalty/bundles/{id} - Get bundle by ID with groups
|
|
5765
|
+
*
|
|
5766
|
+
* @param id
|
|
5767
|
+
* @param options - additional request options
|
|
5768
|
+
*/
|
|
5769
|
+
BundleController_findOne(id: string, options?: RequestOptions): ResponsePromise<BundleControllerFindOneResponse>;
|
|
5770
|
+
/**
|
|
5771
|
+
* PATCH /loyalty/bundles/{id} - Update a bundle
|
|
5772
|
+
*
|
|
5773
|
+
* @param id
|
|
5774
|
+
* @param body
|
|
5775
|
+
* @param options - additional request options
|
|
5776
|
+
*/
|
|
5777
|
+
BundleController_update(id: string, body: BundleControllerUpdateBody, options?: RequestOptions): ResponsePromise<BundleControllerUpdateResponse>;
|
|
5778
|
+
/**
|
|
5779
|
+
* DELETE /loyalty/bundles/{id} - Soft-delete a bundle
|
|
5780
|
+
*
|
|
5781
|
+
* @param id
|
|
5782
|
+
* @param options - additional request options
|
|
5783
|
+
*/
|
|
5784
|
+
BundleController_remove(id: string, options?: RequestOptions): ResponsePromise<BundleControllerRemoveResponse>;
|
|
5785
|
+
/**
|
|
5786
|
+
* GET /loyalty/campaigns - List campaigns with filters and pagination
|
|
5787
|
+
*
|
|
5788
|
+
* @param options - additional request options
|
|
5789
|
+
*/
|
|
5790
|
+
CampaignController_list(options?: {
|
|
5791
|
+
query?: CampaignControllerListQuery;
|
|
5792
|
+
} & RequestOptions): ResponsePromise<CampaignControllerListResponse>;
|
|
5793
|
+
/**
|
|
5794
|
+
* POST /loyalty/campaigns - Create a campaign with nested child entities
|
|
5795
|
+
*
|
|
5796
|
+
* @param body
|
|
5797
|
+
* @param options - additional request options
|
|
5798
|
+
*/
|
|
5799
|
+
CampaignController_create(body: CampaignControllerCreateBody, options?: RequestOptions): ResponsePromise<CampaignControllerCreateResponse>;
|
|
5800
|
+
/**
|
|
5801
|
+
* GET /loyalty/campaigns/{id} - Get campaign detail with all child entities
|
|
5802
|
+
*
|
|
5803
|
+
* @param id
|
|
5804
|
+
* @param options - additional request options
|
|
5805
|
+
*/
|
|
5806
|
+
CampaignController_findOne(id: string, options?: RequestOptions): ResponsePromise<CampaignControllerFindOneResponse>;
|
|
5807
|
+
/**
|
|
5808
|
+
* PUT /loyalty/campaigns/{id} - Update a campaign and its child entities
|
|
5809
|
+
*
|
|
5810
|
+
* @param id
|
|
5811
|
+
* @param body
|
|
5812
|
+
* @param options - additional request options
|
|
5813
|
+
*/
|
|
5814
|
+
CampaignController_update(id: string, body: CampaignControllerUpdateBody, options?: RequestOptions): ResponsePromise<CampaignControllerUpdateResponse>;
|
|
5815
|
+
/**
|
|
5816
|
+
* DELETE /loyalty/campaigns/{id} - Soft-delete a campaign
|
|
5817
|
+
*
|
|
5818
|
+
* @param id
|
|
5819
|
+
* @param options - additional request options
|
|
5820
|
+
*/
|
|
5821
|
+
CampaignController_remove(id: string, options?: RequestOptions): ResponsePromise<CampaignControllerRemoveResponse>;
|
|
5822
|
+
/**
|
|
5823
|
+
* PATCH /loyalty/campaigns/{id}/status - Transition campaign status
|
|
5824
|
+
*
|
|
5825
|
+
* @param id
|
|
5826
|
+
* @param body
|
|
5827
|
+
* @param options - additional request options
|
|
5828
|
+
*/
|
|
5829
|
+
CampaignController_updateStatus(id: string, body: CampaignControllerUpdateStatusBody, options?: RequestOptions): ResponsePromise<CampaignControllerUpdateStatusResponse>;
|
|
5830
|
+
/**
|
|
5831
|
+
* POST /loyalty/campaigns/{id}/clone - Deep clone a campaign and all child entities
|
|
5832
|
+
*
|
|
5833
|
+
* @param id
|
|
5834
|
+
* @param options - additional request options
|
|
5835
|
+
*/
|
|
5836
|
+
CampaignController_clone(id: string, options?: RequestOptions): ResponsePromise<CampaignControllerCloneResponse>;
|
|
5837
|
+
/**
|
|
5838
|
+
* GET /loyalty/vouchers - List vouchers with optional filters
|
|
5839
|
+
*
|
|
5840
|
+
* @param options - additional request options
|
|
5841
|
+
*/
|
|
5842
|
+
VoucherController_findAll(options?: {
|
|
5843
|
+
query?: VoucherControllerFindAllQuery;
|
|
5844
|
+
} & RequestOptions): ResponsePromise<VoucherControllerFindAllResponse>;
|
|
5845
|
+
/**
|
|
5846
|
+
* POST /loyalty/vouchers - Create a single voucher
|
|
5847
|
+
*
|
|
5848
|
+
* @param body
|
|
5849
|
+
* @param options - additional request options
|
|
5850
|
+
*/
|
|
5851
|
+
VoucherController_create(body: VoucherControllerCreateBody, options?: RequestOptions): ResponsePromise<VoucherControllerCreateResponse>;
|
|
5852
|
+
/**
|
|
5853
|
+
* GET /loyalty/vouchers/{id} - Get voucher by ID with campaign info and redemption count
|
|
5854
|
+
*
|
|
5855
|
+
* @param id
|
|
5856
|
+
* @param options - additional request options
|
|
5857
|
+
*/
|
|
5858
|
+
VoucherController_findOne(id: string, options?: RequestOptions): ResponsePromise<VoucherControllerFindOneResponse>;
|
|
5859
|
+
/**
|
|
5860
|
+
* PUT /loyalty/vouchers/{id} - Update a voucher
|
|
5861
|
+
*
|
|
5862
|
+
* @param id
|
|
5863
|
+
* @param body
|
|
5864
|
+
* @param options - additional request options
|
|
5865
|
+
*/
|
|
5866
|
+
VoucherController_update(id: string, body: VoucherControllerUpdateBody, options?: RequestOptions): ResponsePromise<VoucherControllerUpdateResponse>;
|
|
5867
|
+
/**
|
|
5868
|
+
* DELETE /loyalty/vouchers/{id} - Soft-delete a voucher
|
|
5869
|
+
*
|
|
5870
|
+
* @param id
|
|
5871
|
+
* @param options - additional request options
|
|
5872
|
+
*/
|
|
5873
|
+
VoucherController_remove(id: string, options?: RequestOptions): ResponsePromise<VoucherControllerRemoveResponse>;
|
|
5874
|
+
/**
|
|
5875
|
+
* POST /loyalty/vouchers/{id}/revoke - Revoke a voucher with a required reason
|
|
5876
|
+
*
|
|
5877
|
+
* @param id
|
|
5878
|
+
* @param body
|
|
5879
|
+
* @param options - additional request options
|
|
5880
|
+
*/
|
|
5881
|
+
VoucherController_revoke(id: string, body: VoucherControllerRevokeBody, options?: RequestOptions): ResponsePromise<VoucherControllerRevokeResponse>;
|
|
5882
|
+
/**
|
|
5883
|
+
* POST /loyalty/vouchers/batch - Batch generate voucher codes for a campaign
|
|
5884
|
+
*
|
|
5885
|
+
* @param body
|
|
5886
|
+
* @param options - additional request options
|
|
5887
|
+
*/
|
|
5888
|
+
VoucherController_batchGenerate(body: VoucherControllerBatchGenerateBody, options?: RequestOptions): ResponsePromise<VoucherControllerBatchGenerateResponse>;
|
|
5889
|
+
/**
|
|
5890
|
+
* GET /loyalty/vouchers/{id}/redemptions - Get redemption history for a voucher
|
|
5891
|
+
*
|
|
5892
|
+
* @param id
|
|
5893
|
+
* @param options - additional request options
|
|
5894
|
+
*/
|
|
5895
|
+
VoucherController_findRedemptions(id: string, options?: {
|
|
5896
|
+
query?: VoucherControllerFindRedemptionsQuery;
|
|
5897
|
+
} & RequestOptions): ResponsePromise<VoucherControllerFindRedemptionsResponse>;
|
|
5898
|
+
/**
|
|
5899
|
+
* POST /loyalty/vouchers/validate - Validate a voucher code (stub)
|
|
5900
|
+
*
|
|
5901
|
+
* @param options - additional request options
|
|
5902
|
+
*/
|
|
5903
|
+
VoucherController_validate(options?: RequestOptions): ResponsePromise<VoucherControllerValidateResponse>;
|
|
5904
|
+
/**
|
|
5905
|
+
* POST /loyalty/vouchers/redeem - Redeem a voucher code (stub)
|
|
5906
|
+
*
|
|
5907
|
+
* @param options - additional request options
|
|
5908
|
+
*/
|
|
5909
|
+
VoucherController_redeem(options?: RequestOptions): ResponsePromise<VoucherControllerRedeemResponse>;
|
|
5910
|
+
/**
|
|
5911
|
+
* GET /loyalty/segments - List segments with optional filters
|
|
5912
|
+
*
|
|
5913
|
+
* @param options - additional request options
|
|
5914
|
+
*/
|
|
5915
|
+
SegmentController_findAll(options?: {
|
|
5916
|
+
query?: SegmentControllerFindAllQuery;
|
|
5917
|
+
} & RequestOptions): ResponsePromise<SegmentControllerFindAllResponse>;
|
|
5918
|
+
/**
|
|
5919
|
+
* POST /loyalty/segments - Create a new segment
|
|
5920
|
+
*
|
|
5921
|
+
* @param body
|
|
5922
|
+
* @param options - additional request options
|
|
5923
|
+
*/
|
|
5924
|
+
SegmentController_create(body: SegmentControllerCreateBody, options?: RequestOptions): ResponsePromise<SegmentControllerCreateResponse>;
|
|
5925
|
+
/**
|
|
5926
|
+
* GET /loyalty/segments/attributes - List available attributes for rule-based segments
|
|
5927
|
+
*
|
|
5928
|
+
* @param options - additional request options
|
|
5929
|
+
*/
|
|
5930
|
+
SegmentController_getAttributes(options?: RequestOptions): ResponsePromise<SegmentControllerGetAttributesResponse>;
|
|
5931
|
+
/**
|
|
5932
|
+
* POST /loyalty/segments/preview-count - Preview how many customers match a segment rule
|
|
5933
|
+
*
|
|
5934
|
+
* @param options - additional request options
|
|
5935
|
+
*/
|
|
5936
|
+
SegmentController_previewRuleCount(options?: RequestOptions): ResponsePromise<SegmentControllerPreviewRuleCountResponse>;
|
|
5937
|
+
/**
|
|
5938
|
+
* GET /loyalty/segments/{id} - Get segment by ID
|
|
5939
|
+
*
|
|
5940
|
+
* @param id
|
|
5941
|
+
* @param options - additional request options
|
|
5942
|
+
*/
|
|
5943
|
+
SegmentController_findOne(id: string, options?: RequestOptions): ResponsePromise<SegmentControllerFindOneResponse>;
|
|
5944
|
+
/**
|
|
5945
|
+
* PATCH /loyalty/segments/{id} - Update a segment
|
|
5946
|
+
*
|
|
5947
|
+
* @param id
|
|
5948
|
+
* @param body
|
|
5949
|
+
* @param options - additional request options
|
|
5950
|
+
*/
|
|
5951
|
+
SegmentController_update(id: string, body: SegmentControllerUpdateBody, options?: RequestOptions): ResponsePromise<SegmentControllerUpdateResponse>;
|
|
5952
|
+
/**
|
|
5953
|
+
* DELETE /loyalty/segments/{id} - Soft-delete a segment
|
|
5954
|
+
*
|
|
5955
|
+
* @param id
|
|
5956
|
+
* @param options - additional request options
|
|
5957
|
+
*/
|
|
5958
|
+
SegmentController_remove(id: string, options?: RequestOptions): ResponsePromise<SegmentControllerRemoveResponse>;
|
|
5959
|
+
/**
|
|
5960
|
+
* GET /loyalty/segments/{id}/members - List members of a static_list segment
|
|
5961
|
+
*
|
|
5962
|
+
* @param id
|
|
5963
|
+
* @param options - additional request options
|
|
5964
|
+
*/
|
|
5965
|
+
SegmentController_findMembers(id: string, options?: {
|
|
5966
|
+
query?: SegmentControllerFindMembersQuery;
|
|
5967
|
+
} & RequestOptions): ResponsePromise<SegmentControllerFindMembersResponse>;
|
|
5968
|
+
/**
|
|
5969
|
+
* POST /loyalty/segments/{id}/members - Add members to a segment
|
|
5970
|
+
*
|
|
5971
|
+
* @param id
|
|
5972
|
+
* @param body
|
|
5973
|
+
* @param options - additional request options
|
|
5974
|
+
*/
|
|
5975
|
+
SegmentController_addMembers(id: string, body: SegmentControllerAddMembersBody, options?: RequestOptions): ResponsePromise<SegmentControllerAddMembersResponse>;
|
|
5976
|
+
/**
|
|
5977
|
+
* DELETE /loyalty/segments/{id}/members - Remove members from a segment
|
|
5978
|
+
*
|
|
5979
|
+
* @param id
|
|
5980
|
+
* @param body
|
|
5981
|
+
* @param options - additional request options
|
|
5982
|
+
*/
|
|
5983
|
+
SegmentController_removeMembers(id: string, body: SegmentControllerRemoveMembersBody, options?: RequestOptions): ResponsePromise<SegmentControllerRemoveMembersResponse>;
|
|
5984
|
+
/**
|
|
5985
|
+
* POST /loyalty/redemptions/{id}/rollback - Roll back a redemption and restore the voucher
|
|
5986
|
+
*
|
|
5987
|
+
* @param id
|
|
5988
|
+
* @param body
|
|
5989
|
+
* @param options - additional request options
|
|
5990
|
+
*/
|
|
5991
|
+
RedemptionController_rollback(id: string, body: RedemptionControllerRollbackBody, options?: RequestOptions): ResponsePromise<RedemptionControllerRollbackResponse>;
|
|
5992
|
+
/**
|
|
5993
|
+
* GET /loyalty/loyalty/programs - List loyalty programs with filters and pagination
|
|
5994
|
+
*
|
|
5995
|
+
* @param options - additional request options
|
|
5996
|
+
*/
|
|
5997
|
+
LoyaltyController_listPrograms(options?: {
|
|
5998
|
+
query?: LoyaltyControllerListProgramsQuery;
|
|
5999
|
+
} & RequestOptions): ResponsePromise<LoyaltyControllerListProgramsResponse>;
|
|
6000
|
+
/**
|
|
6001
|
+
* POST /loyalty/loyalty/programs - Create a loyalty program with earning rules and milestones
|
|
6002
|
+
*
|
|
6003
|
+
* @param body
|
|
6004
|
+
* @param options - additional request options
|
|
6005
|
+
*/
|
|
6006
|
+
LoyaltyController_createProgram(body: LoyaltyControllerCreateProgramBody, options?: RequestOptions): ResponsePromise<LoyaltyControllerCreateProgramResponse>;
|
|
6007
|
+
/**
|
|
6008
|
+
* GET /loyalty/loyalty/programs/{id} - Get loyalty program detail with earning rules and milestones
|
|
6009
|
+
*
|
|
6010
|
+
* @param id
|
|
6011
|
+
* @param options - additional request options
|
|
6012
|
+
*/
|
|
6013
|
+
LoyaltyController_findOneProgram(id: string, options?: RequestOptions): ResponsePromise<LoyaltyControllerFindOneProgramResponse>;
|
|
6014
|
+
/**
|
|
6015
|
+
* PUT /loyalty/loyalty/programs/{id} - Update a loyalty program and replace its earning rules and milestones
|
|
6016
|
+
*
|
|
6017
|
+
* @param id
|
|
6018
|
+
* @param body
|
|
6019
|
+
* @param options - additional request options
|
|
6020
|
+
*/
|
|
6021
|
+
LoyaltyController_updateProgram(id: string, body: LoyaltyControllerUpdateProgramBody, options?: RequestOptions): ResponsePromise<LoyaltyControllerUpdateProgramResponse>;
|
|
6022
|
+
/**
|
|
6023
|
+
* PATCH /loyalty/loyalty/programs/{id}/status - Transition loyalty program status
|
|
6024
|
+
*
|
|
6025
|
+
* @param id
|
|
6026
|
+
* @param body
|
|
6027
|
+
* @param options - additional request options
|
|
6028
|
+
*/
|
|
6029
|
+
LoyaltyController_updateProgramStatus(id: string, body: LoyaltyControllerUpdateProgramStatusBody, options?: RequestOptions): ResponsePromise<LoyaltyControllerUpdateProgramStatusResponse>;
|
|
6030
|
+
/**
|
|
6031
|
+
* GET /loyalty/loyalty/programs/{id}/cards - List enrolled customer cards for a program
|
|
6032
|
+
*
|
|
6033
|
+
* @param id
|
|
6034
|
+
* @param options - additional request options
|
|
6035
|
+
*/
|
|
6036
|
+
LoyaltyController_listCards(id: string, options?: {
|
|
6037
|
+
query?: LoyaltyControllerListCardsQuery;
|
|
6038
|
+
} & RequestOptions): ResponsePromise<LoyaltyControllerListCardsResponse>;
|
|
6039
|
+
/**
|
|
6040
|
+
* GET /loyalty/loyalty/programs/{id}/cards/{customerId} - Get card detail with transaction event history
|
|
6041
|
+
*
|
|
6042
|
+
* @param id
|
|
6043
|
+
* @param customerId
|
|
6044
|
+
* @param options - additional request options
|
|
6045
|
+
*/
|
|
6046
|
+
LoyaltyController_findCard(id: string, customerId: string, options?: RequestOptions): ResponsePromise<LoyaltyControllerFindCardResponse>;
|
|
6047
|
+
/**
|
|
6048
|
+
* POST /loyalty/loyalty/cards/{cardId}/adjust - Manual point adjustment on a loyalty card
|
|
6049
|
+
*
|
|
6050
|
+
* @param cardId
|
|
6051
|
+
* @param body
|
|
6052
|
+
* @param options - additional request options
|
|
6053
|
+
*/
|
|
6054
|
+
LoyaltyController_adjustPoints(cardId: string, body: LoyaltyControllerAdjustPointsBody, options?: RequestOptions): ResponsePromise<LoyaltyControllerAdjustPointsResponse>;
|
|
5747
6055
|
/**
|
|
5748
6056
|
* GET /timeslots/brand/{brandId} - Get timeslots for brand
|
|
5749
6057
|
*
|