1import { Fn as baseApi, In as overrideExisting } from "./main-DDHJZG-i.js"; 2const { useGetCardsQuery, useSetDefaultCardMutation, useRemoveCardMutation, useBindCardMutation, useEditCardInfoMutation, useValidateAddressMutation, useGetCompanyInfoQuery } = baseApi.injectEndpoints({ 3 endpoints: (builder) => ({ 4 getCards: builder.query({ 5 query: () => ({ 6 url: "/fleet/stripe/cards", 7 method: "GET" 8 }), 9 providesTags: ["cards"] 10 }), 11 setDefaultCard: builder.mutation({ 12 query: (cardId) => ({ 13 url: `/fleet/stripe/${cardId}/default`, 14 method: "PUT" 15 }), 16 invalidatesTags: ["cards"] 17 }), 18 removeCard: builder.mutation({ 19 query: (cardId) => ({ 20 url: `/fleet/stripe/${cardId}/remove`, 21 method: "DELETE" 22 }), 23 invalidatesTags: ["cards"] 24 }), 25 bindCard: builder.mutation({ 26 query: (data) => ({ 27 url: "/fleet/v2/stripe/bindCard", 28 method: "POST", 29 body: data 30 }), 31 invalidatesTags: ["cards"] 32 }), 33 editCardInfo: builder.mutation({ 34 query: (data) => ({ 35 url: "/fleet/stripe/edit/card/info", 36 method: "POST", 37 body: data 38 }), 39 invalidatesTags: ["cards"] 40 }), 41 validateAddress: builder.mutation({ query: (data) => ({ 42 url: "/fleet/stripe/validate/address", 43 method: "POST", 44 body: data 45 }) }), 46 getCompanyInfo: builder.query({ query: () => ({ 47 url: "/fleet/company/info", 48 method: "GET" 49 }) }) 50 }), 51 overrideExisting: true 52}); 53export { useRemoveCardMutation as a, useGetCompanyInfoQuery as i, useEditCardInfoMutation as n, useSetDefaultCardMutation as o, useGetCardsQuery as r, useValidateAddressMutation as s, useBindCardMutation as t };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.