@tolt/api 0.4.0 → 0.6.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/dist/api/resources/clicks/client/Client.d.ts +28 -8
- package/dist/api/resources/clicks/client/Client.js +89 -10
- package/dist/api/resources/{links/client/requests/GetLinkRequest.d.ts → clicks/client/requests/GetClicksRequest.d.ts} +1 -1
- package/dist/api/resources/clicks/client/requests/ListClicksRequest.d.ts +33 -0
- package/dist/api/resources/clicks/client/requests/index.d.ts +2 -1
- package/dist/api/resources/clicks/types/CreateClicksRequest.d.ts +1 -0
- package/dist/api/resources/clicks/types/{CreateClickResponse.d.ts → CreateClicksResponse.d.ts} +1 -1
- package/dist/api/resources/clicks/types/{GetClickResponse.d.ts → GetClicksResponse.d.ts} +1 -1
- package/dist/api/resources/clicks/types/ListClicksRequestOrder.d.ts +5 -0
- package/dist/api/resources/{reports/types/ReportsLinksRequestOrder.js → clicks/types/ListClicksRequestOrder.js} +1 -1
- package/dist/api/resources/clicks/types/ListClicksRequestSort.d.ts +6 -0
- package/dist/api/resources/clicks/types/ListClicksRequestSort.js +6 -0
- package/dist/api/resources/clicks/types/ListClicksResponse.d.ts +11 -0
- package/dist/api/resources/clicks/types/index.d.ts +6 -3
- package/dist/api/resources/clicks/types/index.js +6 -3
- package/dist/api/resources/commissions/client/Client.d.ts +39 -35
- package/dist/api/resources/commissions/client/Client.js +48 -44
- package/dist/api/resources/commissions/client/requests/{ApproveCommissionRequest.d.ts → ApproveCommissionsRequest.d.ts} +1 -1
- package/dist/api/resources/commissions/client/requests/DeclineCommissionsRequest.d.ts +9 -0
- package/dist/api/resources/commissions/client/requests/{DeclineCommissionRequest.d.ts → DeleteCommissionsRequest.d.ts} +1 -1
- package/dist/api/resources/commissions/client/requests/{GetCommissionRequest.d.ts → GetCommissionsRequest.d.ts} +1 -1
- package/dist/api/resources/commissions/client/requests/{UpdateCommissionRequest.d.ts → UpdateCommissionsRequest.d.ts} +1 -1
- package/dist/api/resources/commissions/client/requests/index.d.ts +5 -5
- package/dist/api/resources/commissions/types/{CreateCommissionResponse.d.ts → ApproveCommissionsResponse.d.ts} +1 -1
- package/dist/api/resources/commissions/types/CreateCommissionsRequest.d.ts +1 -0
- package/dist/api/resources/commissions/types/{ApproveCommissionResponse.d.ts → CreateCommissionsResponse.d.ts} +1 -1
- package/dist/api/resources/commissions/types/DeclineCommissionsResponse.d.ts +6 -0
- package/dist/api/resources/commissions/types/{DeclineCommissionResponse.d.ts → DeleteCommissionsResponse.d.ts} +1 -1
- package/dist/api/resources/commissions/types/{GetCommissionResponse.d.ts → GetCommissionsResponse.d.ts} +1 -1
- package/dist/api/resources/commissions/types/{DeleteCommissionResponse.d.ts → UpdateCommissionsResponse.d.ts} +1 -1
- package/dist/api/resources/commissions/types/index.d.ts +7 -7
- package/dist/api/resources/commissions/types/index.js +7 -7
- package/dist/api/resources/customers/client/Client.d.ts +22 -19
- package/dist/api/resources/customers/client/Client.js +37 -26
- package/dist/api/resources/customers/client/requests/CreateCustomersRequest.d.ts +29 -0
- package/dist/api/resources/customers/client/requests/CreateCustomersRequest.js +11 -0
- package/dist/api/resources/customers/client/requests/{DeleteCustomerRequest.d.ts → DeleteCustomersRequest.d.ts} +1 -1
- package/dist/api/resources/customers/client/requests/GetCustomersRequest.d.ts +9 -0
- package/dist/api/resources/customers/client/requests/ListCustomersRequest.d.ts +3 -1
- package/dist/api/resources/customers/client/requests/UpdateCustomersRequest.d.ts +31 -0
- package/dist/api/resources/customers/client/requests/UpdateCustomersRequest.js +11 -0
- package/dist/api/resources/customers/client/requests/index.d.ts +4 -4
- package/dist/api/resources/customers/client/requests/index.js +2 -1
- package/dist/api/resources/customers/types/{DeleteCustomerResponse.d.ts → CreateCustomersResponse.d.ts} +1 -1
- package/dist/api/resources/customers/types/{UpdateCustomerResponse.d.ts → DeleteCustomersResponse.d.ts} +1 -1
- package/dist/api/resources/customers/types/{GetCustomerResponse.d.ts → GetCustomersResponse.d.ts} +1 -1
- package/dist/api/resources/customers/types/ListCustomersRequestStatus.d.ts +8 -0
- package/dist/api/resources/customers/types/ListCustomersRequestStatus.js +8 -0
- package/dist/api/resources/customers/types/{CreateCustomerResponse.d.ts → UpdateCustomersResponse.d.ts} +1 -1
- package/dist/api/resources/customers/types/index.d.ts +5 -4
- package/dist/api/resources/customers/types/index.js +5 -4
- package/dist/api/resources/embed/client/Client.d.ts +4 -4
- package/dist/api/resources/embed/client/Client.js +5 -5
- package/dist/api/resources/embed/client/requests/CreateTokenEmbedRequest.d.ts +14 -0
- package/dist/api/resources/embed/client/requests/index.d.ts +1 -1
- package/dist/api/resources/embed/types/{CreateEmbedTokenResponse.d.ts → CreateTokenEmbedResponse.d.ts} +1 -1
- package/dist/api/resources/embed/types/index.d.ts +1 -1
- package/dist/api/resources/embed/types/index.js +1 -1
- package/dist/api/resources/flows/client/Client.d.ts +7 -7
- package/dist/api/resources/flows/client/Client.js +9 -9
- package/dist/api/resources/{clicks/client/requests/GetClickRequest.d.ts → flows/client/requests/GetFlowsRequest.d.ts} +1 -1
- package/dist/api/resources/flows/client/requests/index.d.ts +1 -1
- package/dist/api/resources/flows/types/{GetFlowResponse.d.ts → GetFlowsResponse.d.ts} +1 -1
- package/dist/api/resources/flows/types/index.d.ts +1 -1
- package/dist/api/resources/flows/types/index.js +1 -1
- package/dist/api/resources/groups/client/Client.d.ts +7 -7
- package/dist/api/resources/groups/client/Client.js +9 -9
- package/dist/api/resources/{flows/client/requests/GetFlowRequest.d.ts → groups/client/requests/GetGroupsRequest.d.ts} +1 -1
- package/dist/api/resources/groups/client/requests/index.d.ts +1 -1
- package/dist/api/resources/groups/types/{GetGroupResponse.d.ts → GetGroupsResponse.d.ts} +1 -1
- package/dist/api/resources/groups/types/index.d.ts +1 -1
- package/dist/api/resources/groups/types/index.js +1 -1
- package/dist/api/resources/links/client/Client.d.ts +49 -19
- package/dist/api/resources/links/client/Client.js +108 -25
- package/dist/api/resources/links/client/requests/{CreateLinkRequest.d.ts → CreateLinksRequest.d.ts} +1 -1
- package/dist/api/resources/{customers/client/requests/GetCustomerRequest.d.ts → links/client/requests/DeleteLinksRequest.d.ts} +1 -1
- package/dist/api/resources/links/client/requests/GetByParamValueLinksRequest.d.ts +12 -0
- package/dist/api/resources/{groups/client/requests/GetGroupRequest.d.ts → links/client/requests/GetLinksRequest.d.ts} +1 -1
- package/dist/api/resources/links/client/requests/ListLinksRequest.d.ts +2 -0
- package/dist/api/resources/links/client/requests/{UpdateLinkRequest.d.ts → UpdateLinksRequest.d.ts} +1 -1
- package/dist/api/resources/links/client/requests/index.d.ts +5 -4
- package/dist/api/resources/links/types/{DeleteLinkResponse.d.ts → CreateLinksResponse.d.ts} +1 -1
- package/dist/api/resources/links/types/{CreateLinkResponse.d.ts → DeleteLinksResponse.d.ts} +1 -1
- package/dist/api/resources/links/types/GetByParamValueLinksResponse.d.ts +6 -0
- package/dist/api/resources/links/types/{GetLinkResponse.d.ts → GetLinksResponse.d.ts} +1 -1
- package/dist/api/resources/links/types/{UpdateLinkResponse.d.ts → UpdateLinksResponse.d.ts} +1 -1
- package/dist/api/resources/links/types/index.d.ts +5 -4
- package/dist/api/resources/links/types/index.js +5 -4
- package/dist/api/resources/partners/client/Client.d.ts +33 -33
- package/dist/api/resources/partners/client/Client.js +42 -42
- package/dist/api/resources/partners/client/requests/ApprovePartnersRequest.d.ts +9 -0
- package/dist/api/resources/partners/client/requests/{CreatePartnerRequest.d.ts → CreatePartnersRequest.d.ts} +8 -4
- package/dist/api/resources/partners/client/requests/CreatePartnersRequest.js +8 -0
- package/dist/api/resources/partners/client/requests/GetPartnersRequest.d.ts +9 -0
- package/dist/api/resources/partners/client/requests/{RejectPartnerRequest.d.ts → RejectPartnersRequest.d.ts} +1 -1
- package/dist/api/resources/partners/client/requests/{SuspendPartnerRequest.d.ts → SuspendPartnersRequest.d.ts} +1 -1
- package/dist/api/resources/partners/client/requests/{UpdatePartnerRequest.d.ts → UpdatePartnersRequest.d.ts} +1 -1
- package/dist/api/resources/partners/client/requests/index.d.ts +6 -6
- package/dist/api/resources/partners/client/requests/index.js +1 -1
- package/dist/api/resources/partners/types/{SuspendPartnerResponse.d.ts → ApprovePartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/{CreatePartnerResponse.d.ts → CreatePartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/{GetPartnerResponse.d.ts → GetPartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/{ApprovePartnerResponse.d.ts → RejectPartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/{UpdatePartnerResponse.d.ts → SuspendPartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/{RejectPartnerResponse.d.ts → UpdatePartnersResponse.d.ts} +1 -1
- package/dist/api/resources/partners/types/index.d.ts +6 -6
- package/dist/api/resources/partners/types/index.js +6 -6
- package/dist/api/resources/programs/client/Client.d.ts +7 -7
- package/dist/api/resources/programs/client/Client.js +9 -9
- package/dist/api/resources/programs/client/requests/GetProgramsRequest.d.ts +9 -0
- package/dist/api/resources/programs/client/requests/index.d.ts +1 -1
- package/dist/api/resources/programs/types/{GetProgramResponse.d.ts → GetProgramsResponse.d.ts} +1 -1
- package/dist/api/resources/programs/types/index.d.ts +1 -1
- package/dist/api/resources/programs/types/index.js +1 -1
- package/dist/api/resources/promotionCodes/client/Client.d.ts +19 -19
- package/dist/api/resources/promotionCodes/client/Client.js +25 -25
- package/dist/api/resources/promotionCodes/client/requests/CreatePromotionCodesRequest.d.ts +20 -0
- package/dist/api/resources/promotionCodes/client/requests/CreatePromotionCodesRequest.js +8 -0
- package/dist/api/resources/promotionCodes/client/requests/DeletePromotionCodesRequest.d.ts +9 -0
- package/dist/api/resources/{commissions/client/requests/DeleteCommissionRequest.d.ts → promotionCodes/client/requests/GetPromotionCodesRequest.d.ts} +1 -1
- package/dist/api/resources/promotionCodes/client/requests/ListPromotionCodesRequest.d.ts +1 -1
- package/dist/api/resources/promotionCodes/client/requests/UpdatePromotionCodesRequest.d.ts +19 -0
- package/dist/api/resources/promotionCodes/client/requests/UpdatePromotionCodesRequest.js +8 -0
- package/dist/api/resources/promotionCodes/client/requests/index.d.ts +4 -4
- package/dist/api/resources/promotionCodes/client/requests/index.js +2 -1
- package/dist/api/resources/promotionCodes/types/{CreatePromotionCodeResponse.d.ts → CreatePromotionCodesResponse.d.ts} +1 -1
- package/dist/api/resources/promotionCodes/types/{DeletePromotionCodeResponse.d.ts → DeletePromotionCodesResponse.d.ts} +1 -1
- package/dist/api/resources/promotionCodes/types/{GetPromotionCodeResponse.d.ts → GetPromotionCodesResponse.d.ts} +1 -1
- package/dist/api/resources/promotionCodes/types/ListPromotionCodesRequestType.d.ts +5 -0
- package/dist/api/resources/promotionCodes/types/ListPromotionCodesRequestType.js +5 -0
- package/dist/api/resources/promotionCodes/types/{UpdatePromotionCodeResponse.d.ts → UpdatePromotionCodesResponse.d.ts} +1 -1
- package/dist/api/resources/promotionCodes/types/index.d.ts +5 -4
- package/dist/api/resources/promotionCodes/types/index.js +5 -4
- package/dist/api/resources/reports/client/Client.d.ts +10 -10
- package/dist/api/resources/reports/client/Client.js +11 -8
- package/dist/api/resources/reports/client/requests/{ReportsCustomerStatsRequest.d.ts → CustomerStatsReportsRequest.d.ts} +1 -1
- package/dist/api/resources/reports/client/requests/{ReportsLinksRequest.d.ts → LinksReportsRequest.d.ts} +4 -3
- package/dist/api/resources/reports/client/requests/{ReportsOverviewRequest.d.ts → OverviewReportsRequest.d.ts} +1 -1
- package/dist/api/resources/reports/client/requests/{ReportsPartnersRequest.d.ts → PartnersReportsRequest.d.ts} +4 -3
- package/dist/api/resources/reports/client/requests/{ReportsTimeseriesRequest.d.ts → TimeseriesReportsRequest.d.ts} +3 -2
- package/dist/api/resources/reports/client/requests/index.d.ts +5 -5
- package/dist/api/resources/reports/types/{ReportsCustomerStatsResponse.d.ts → CustomerStatsReportsResponse.d.ts} +1 -1
- package/dist/api/resources/reports/types/LinksReportsRequestOrder.d.ts +5 -0
- package/dist/api/resources/reports/types/{ReportsPartnersRequestOrder.js → LinksReportsRequestOrder.js} +1 -1
- package/dist/api/resources/reports/types/LinksReportsRequestSort.d.ts +7 -0
- package/dist/api/resources/reports/types/{ReportsLinksRequestSort.js → LinksReportsRequestSort.js} +1 -1
- package/dist/api/resources/reports/types/{ReportsLinksResponse.d.ts → LinksReportsResponse.d.ts} +1 -1
- package/dist/api/resources/reports/types/{ReportsOverviewResponse.d.ts → OverviewReportsResponse.d.ts} +1 -1
- package/dist/api/resources/reports/types/PartnersReportsRequestOrder.d.ts +5 -0
- package/dist/api/resources/reports/types/PartnersReportsRequestOrder.js +5 -0
- package/dist/api/resources/reports/types/PartnersReportsRequestSort.d.ts +7 -0
- package/dist/api/resources/reports/types/{ReportsPartnersRequestSort.js → PartnersReportsRequestSort.js} +1 -1
- package/dist/api/resources/reports/types/{ReportsPartnersResponse.d.ts → PartnersReportsResponse.d.ts} +1 -1
- package/dist/api/resources/reports/types/TimeseriesReportsRequestGranularity.d.ts +6 -0
- package/dist/api/resources/reports/types/{ReportsTimeseriesRequestGranularity.js → TimeseriesReportsRequestGranularity.js} +1 -1
- package/dist/api/resources/reports/types/{ReportsTimeseriesResponse.d.ts → TimeseriesReportsResponse.d.ts} +1 -1
- package/dist/api/resources/reports/types/index.d.ts +10 -10
- package/dist/api/resources/reports/types/index.js +10 -10
- package/dist/api/resources/transactions/client/Client.d.ts +31 -27
- package/dist/api/resources/transactions/client/Client.js +38 -34
- package/dist/api/resources/transactions/client/requests/{CreateTransactionRequest.d.ts → CreateTransactionsRequest.d.ts} +4 -1
- package/dist/api/resources/transactions/client/requests/DeleteTransactionsRequest.d.ts +9 -0
- package/dist/api/resources/transactions/client/requests/GetTransactionsRequest.d.ts +9 -0
- package/dist/api/resources/transactions/client/requests/RefundTransactionsRequest.d.ts +9 -0
- package/dist/api/resources/transactions/client/requests/RerunFlowsTransactionsRequest.d.ts +9 -0
- package/dist/api/resources/transactions/client/requests/{UpdateTransactionRequest.d.ts → UpdateTransactionsRequest.d.ts} +3 -1
- package/dist/api/resources/transactions/client/requests/index.d.ts +6 -6
- package/dist/api/resources/transactions/types/{CreateTransactionResponse.d.ts → CreateTransactionsResponse.d.ts} +1 -1
- package/dist/api/resources/transactions/types/{DeleteTransactionResponse.d.ts → DeleteTransactionsResponse.d.ts} +1 -1
- package/dist/api/resources/transactions/types/{GetTransactionResponse.d.ts → GetTransactionsResponse.d.ts} +1 -1
- package/dist/api/resources/transactions/types/{RefundTransactionResponse.d.ts → RefundTransactionsResponse.d.ts} +1 -1
- package/dist/api/resources/transactions/types/{RerunTransactionFlowsResponse.d.ts → RerunFlowsTransactionsResponse.d.ts} +1 -1
- package/dist/api/resources/transactions/types/UpdateTransactionsResponse.d.ts +6 -0
- package/dist/api/resources/transactions/types/index.d.ts +6 -6
- package/dist/api/resources/transactions/types/index.js +6 -6
- package/dist/environments.d.ts +1 -1
- package/dist/environments.js +1 -1
- package/package.json +1 -1
- package/dist/api/resources/clicks/types/CreateClickRequest.d.ts +0 -1
- package/dist/api/resources/commissions/types/CreateCommissionRequest.d.ts +0 -1
- package/dist/api/resources/commissions/types/UpdateCommissionResponse.d.ts +0 -6
- package/dist/api/resources/customers/client/requests/CreateCustomerRequest.d.ts +0 -14
- package/dist/api/resources/customers/client/requests/UpdateCustomerRequest.d.ts +0 -18
- package/dist/api/resources/embed/client/requests/CreateEmbedTokenRequest.d.ts +0 -14
- package/dist/api/resources/links/client/requests/DeleteLinkRequest.d.ts +0 -9
- package/dist/api/resources/partners/client/requests/ApprovePartnerRequest.d.ts +0 -9
- package/dist/api/resources/partners/client/requests/CreatePartnerRequest.js +0 -8
- package/dist/api/resources/partners/client/requests/GetPartnerRequest.d.ts +0 -9
- package/dist/api/resources/programs/client/requests/GetProgramRequest.d.ts +0 -9
- package/dist/api/resources/promotionCodes/client/requests/CreatePromotionCodeRequest.d.ts +0 -13
- package/dist/api/resources/promotionCodes/client/requests/DeletePromotionCodeRequest.d.ts +0 -9
- package/dist/api/resources/promotionCodes/client/requests/GetPromotionCodeRequest.d.ts +0 -9
- package/dist/api/resources/promotionCodes/client/requests/UpdatePromotionCodeRequest.d.ts +0 -12
- package/dist/api/resources/reports/types/ReportsLinksRequestOrder.d.ts +0 -5
- package/dist/api/resources/reports/types/ReportsLinksRequestSort.d.ts +0 -7
- package/dist/api/resources/reports/types/ReportsPartnersRequestOrder.d.ts +0 -5
- package/dist/api/resources/reports/types/ReportsPartnersRequestSort.d.ts +0 -7
- package/dist/api/resources/reports/types/ReportsTimeseriesRequestGranularity.d.ts +0 -6
- package/dist/api/resources/transactions/client/requests/DeleteTransactionRequest.d.ts +0 -9
- package/dist/api/resources/transactions/client/requests/GetTransactionRequest.d.ts +0 -9
- package/dist/api/resources/transactions/client/requests/RefundTransactionRequest.d.ts +0 -9
- package/dist/api/resources/transactions/client/requests/RerunTransactionFlowsRequest.d.ts +0 -9
- package/dist/api/resources/transactions/types/UpdateTransactionResponse.d.ts +0 -6
- /package/dist/api/resources/clicks/client/requests/{GetClickRequest.js → GetClicksRequest.js} +0 -0
- /package/dist/api/resources/clicks/{types/CreateClickRequest.js → client/requests/ListClicksRequest.js} +0 -0
- /package/dist/api/resources/clicks/types/{CreateClickResponse.js → CreateClicksRequest.js} +0 -0
- /package/dist/api/resources/clicks/types/{GetClickResponse.js → CreateClicksResponse.js} +0 -0
- /package/dist/api/resources/{commissions/client/requests/ApproveCommissionRequest.js → clicks/types/GetClicksResponse.js} +0 -0
- /package/dist/api/resources/{commissions/client/requests/DeclineCommissionRequest.js → clicks/types/ListClicksResponse.js} +0 -0
- /package/dist/api/resources/commissions/client/requests/{DeleteCommissionRequest.js → ApproveCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/client/requests/{GetCommissionRequest.js → DeclineCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/client/requests/{UpdateCommissionRequest.js → DeleteCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/{types/ApproveCommissionResponse.js → client/requests/GetCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/{types/CreateCommissionRequest.js → client/requests/UpdateCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/types/{CreateCommissionResponse.js → ApproveCommissionsResponse.js} +0 -0
- /package/dist/api/resources/commissions/types/{DeclineCommissionResponse.js → CreateCommissionsRequest.js} +0 -0
- /package/dist/api/resources/commissions/types/{DeleteCommissionResponse.js → CreateCommissionsResponse.js} +0 -0
- /package/dist/api/resources/commissions/types/{GetCommissionResponse.js → DeclineCommissionsResponse.js} +0 -0
- /package/dist/api/resources/commissions/types/{UpdateCommissionResponse.js → DeleteCommissionsResponse.js} +0 -0
- /package/dist/api/resources/{customers/client/requests/CreateCustomerRequest.js → commissions/types/GetCommissionsResponse.js} +0 -0
- /package/dist/api/resources/{customers/client/requests/DeleteCustomerRequest.js → commissions/types/UpdateCommissionsResponse.js} +0 -0
- /package/dist/api/resources/customers/client/requests/{GetCustomerRequest.js → DeleteCustomersRequest.js} +0 -0
- /package/dist/api/resources/customers/client/requests/{UpdateCustomerRequest.js → GetCustomersRequest.js} +0 -0
- /package/dist/api/resources/customers/types/{CreateCustomerResponse.js → CreateCustomersResponse.js} +0 -0
- /package/dist/api/resources/customers/types/{DeleteCustomerResponse.js → DeleteCustomersResponse.js} +0 -0
- /package/dist/api/resources/customers/types/{GetCustomerResponse.js → GetCustomersResponse.js} +0 -0
- /package/dist/api/resources/customers/types/{UpdateCustomerResponse.js → UpdateCustomersResponse.js} +0 -0
- /package/dist/api/resources/embed/client/requests/{CreateEmbedTokenRequest.js → CreateTokenEmbedRequest.js} +0 -0
- /package/dist/api/resources/embed/types/{CreateEmbedTokenResponse.js → CreateTokenEmbedResponse.js} +0 -0
- /package/dist/api/resources/flows/client/requests/{GetFlowRequest.js → GetFlowsRequest.js} +0 -0
- /package/dist/api/resources/flows/types/{GetFlowResponse.js → GetFlowsResponse.js} +0 -0
- /package/dist/api/resources/groups/client/requests/{GetGroupRequest.js → GetGroupsRequest.js} +0 -0
- /package/dist/api/resources/groups/types/{GetGroupResponse.js → GetGroupsResponse.js} +0 -0
- /package/dist/api/resources/links/client/requests/{CreateLinkRequest.js → CreateLinksRequest.js} +0 -0
- /package/dist/api/resources/links/client/requests/{DeleteLinkRequest.js → DeleteLinksRequest.js} +0 -0
- /package/dist/api/resources/links/client/requests/{GetLinkRequest.js → GetByParamValueLinksRequest.js} +0 -0
- /package/dist/api/resources/links/client/requests/{UpdateLinkRequest.js → GetLinksRequest.js} +0 -0
- /package/dist/api/resources/links/{types/CreateLinkResponse.js → client/requests/UpdateLinksRequest.js} +0 -0
- /package/dist/api/resources/links/types/{DeleteLinkResponse.js → CreateLinksResponse.js} +0 -0
- /package/dist/api/resources/links/types/{GetLinkResponse.js → DeleteLinksResponse.js} +0 -0
- /package/dist/api/resources/links/types/{UpdateLinkResponse.js → GetByParamValueLinksResponse.js} +0 -0
- /package/dist/api/resources/{partners/client/requests/ApprovePartnerRequest.js → links/types/GetLinksResponse.js} +0 -0
- /package/dist/api/resources/{partners/client/requests/GetPartnerRequest.js → links/types/UpdateLinksResponse.js} +0 -0
- /package/dist/api/resources/partners/client/requests/{RejectPartnerRequest.js → ApprovePartnersRequest.js} +0 -0
- /package/dist/api/resources/partners/client/requests/{SuspendPartnerRequest.js → GetPartnersRequest.js} +0 -0
- /package/dist/api/resources/partners/client/requests/{UpdatePartnerRequest.js → RejectPartnersRequest.js} +0 -0
- /package/dist/api/resources/partners/{types/ApprovePartnerResponse.js → client/requests/SuspendPartnersRequest.js} +0 -0
- /package/dist/api/resources/partners/{types/CreatePartnerResponse.js → client/requests/UpdatePartnersRequest.js} +0 -0
- /package/dist/api/resources/partners/types/{GetPartnerResponse.js → ApprovePartnersResponse.js} +0 -0
- /package/dist/api/resources/partners/types/{RejectPartnerResponse.js → CreatePartnersResponse.js} +0 -0
- /package/dist/api/resources/partners/types/{SuspendPartnerResponse.js → GetPartnersResponse.js} +0 -0
- /package/dist/api/resources/partners/types/{UpdatePartnerResponse.js → RejectPartnersResponse.js} +0 -0
- /package/dist/api/resources/{programs/client/requests/GetProgramRequest.js → partners/types/SuspendPartnersResponse.js} +0 -0
- /package/dist/api/resources/{programs/types/GetProgramResponse.js → partners/types/UpdatePartnersResponse.js} +0 -0
- /package/dist/api/resources/{promotionCodes/client/requests/CreatePromotionCodeRequest.js → programs/client/requests/GetProgramsRequest.js} +0 -0
- /package/dist/api/resources/{promotionCodes/client/requests/DeletePromotionCodeRequest.js → programs/types/GetProgramsResponse.js} +0 -0
- /package/dist/api/resources/promotionCodes/client/requests/{GetPromotionCodeRequest.js → DeletePromotionCodesRequest.js} +0 -0
- /package/dist/api/resources/promotionCodes/client/requests/{UpdatePromotionCodeRequest.js → GetPromotionCodesRequest.js} +0 -0
- /package/dist/api/resources/promotionCodes/types/{CreatePromotionCodeResponse.js → CreatePromotionCodesResponse.js} +0 -0
- /package/dist/api/resources/promotionCodes/types/{DeletePromotionCodeResponse.js → DeletePromotionCodesResponse.js} +0 -0
- /package/dist/api/resources/promotionCodes/types/{GetPromotionCodeResponse.js → GetPromotionCodesResponse.js} +0 -0
- /package/dist/api/resources/promotionCodes/types/{UpdatePromotionCodeResponse.js → UpdatePromotionCodesResponse.js} +0 -0
- /package/dist/api/resources/reports/client/requests/{ReportsCustomerStatsRequest.js → CustomerStatsReportsRequest.js} +0 -0
- /package/dist/api/resources/reports/client/requests/{ReportsLinksRequest.js → LinksReportsRequest.js} +0 -0
- /package/dist/api/resources/reports/client/requests/{ReportsOverviewRequest.js → OverviewReportsRequest.js} +0 -0
- /package/dist/api/resources/reports/client/requests/{ReportsPartnersRequest.js → PartnersReportsRequest.js} +0 -0
- /package/dist/api/resources/reports/client/requests/{ReportsTimeseriesRequest.js → TimeseriesReportsRequest.js} +0 -0
- /package/dist/api/resources/reports/types/{ReportsCustomerStatsResponse.js → CustomerStatsReportsResponse.js} +0 -0
- /package/dist/api/resources/reports/types/{ReportsLinksResponse.js → LinksReportsResponse.js} +0 -0
- /package/dist/api/resources/reports/types/{ReportsOverviewResponse.js → OverviewReportsResponse.js} +0 -0
- /package/dist/api/resources/reports/types/{ReportsPartnersResponse.js → PartnersReportsResponse.js} +0 -0
- /package/dist/api/resources/reports/types/{ReportsTimeseriesResponse.js → TimeseriesReportsResponse.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{CreateTransactionRequest.js → CreateTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{DeleteTransactionRequest.js → DeleteTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{GetTransactionRequest.js → GetTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{RefundTransactionRequest.js → RefundTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{RerunTransactionFlowsRequest.js → RerunFlowsTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/client/requests/{UpdateTransactionRequest.js → UpdateTransactionsRequest.js} +0 -0
- /package/dist/api/resources/transactions/types/{CreateTransactionResponse.js → CreateTransactionsResponse.js} +0 -0
- /package/dist/api/resources/transactions/types/{DeleteTransactionResponse.js → DeleteTransactionsResponse.js} +0 -0
- /package/dist/api/resources/transactions/types/{GetTransactionResponse.js → GetTransactionsResponse.js} +0 -0
- /package/dist/api/resources/transactions/types/{RefundTransactionResponse.js → RefundTransactionsResponse.js} +0 -0
- /package/dist/api/resources/transactions/types/{RerunTransactionFlowsResponse.js → RerunFlowsTransactionsResponse.js} +0 -0
- /package/dist/api/resources/transactions/types/{UpdateTransactionResponse.js → UpdateTransactionsResponse.js} +0 -0
|
@@ -22,12 +22,12 @@ export class TransactionsClient {
|
|
|
22
22
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
|
-
* await client.transactions.
|
|
25
|
+
* await client.transactions.list()
|
|
26
26
|
*/
|
|
27
|
-
|
|
28
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
27
|
+
list(request = {}, requestOptions) {
|
|
28
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
29
29
|
}
|
|
30
|
-
async
|
|
30
|
+
async __list(request = {}, requestOptions) {
|
|
31
31
|
const { limit, order, sort, starting_after: startingAfter, ending_before: endingBefore, created_after: createdAfter, created_before: createdBefore, updated_after: updatedAfter, updated_before: updatedBefore, program_id: programId, partner_id: partnerId, customer_id: customerId, status, search, } = request;
|
|
32
32
|
const _queryParams = {
|
|
33
33
|
limit,
|
|
@@ -86,7 +86,9 @@ export class TransactionsClient {
|
|
|
86
86
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v2/transactions");
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Supports historical created_at values. product_id and product_name are stored and returned in product_ids and product_names arrays.
|
|
90
|
+
*
|
|
91
|
+
* @param {ToltApi.CreateTransactionsRequest} request
|
|
90
92
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
93
|
*
|
|
92
94
|
* @throws {@link ToltApi.BadRequestError}
|
|
@@ -96,15 +98,15 @@ export class TransactionsClient {
|
|
|
96
98
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
97
99
|
*
|
|
98
100
|
* @example
|
|
99
|
-
* await client.transactions.
|
|
101
|
+
* await client.transactions.create({
|
|
100
102
|
* amount: 1,
|
|
101
103
|
* customer_id: "customer_id"
|
|
102
104
|
* })
|
|
103
105
|
*/
|
|
104
|
-
|
|
105
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
106
|
+
create(request, requestOptions) {
|
|
107
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
106
108
|
}
|
|
107
|
-
async
|
|
109
|
+
async __create(request, requestOptions) {
|
|
108
110
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
109
111
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
110
112
|
const _response = await core.fetcher({
|
|
@@ -145,7 +147,7 @@ export class TransactionsClient {
|
|
|
145
147
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v2/transactions");
|
|
146
148
|
}
|
|
147
149
|
/**
|
|
148
|
-
* @param {ToltApi.
|
|
150
|
+
* @param {ToltApi.GetTransactionsRequest} request
|
|
149
151
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
150
152
|
*
|
|
151
153
|
* @throws {@link ToltApi.UnauthorizedError}
|
|
@@ -155,14 +157,14 @@ export class TransactionsClient {
|
|
|
155
157
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
156
158
|
*
|
|
157
159
|
* @example
|
|
158
|
-
* await client.transactions.
|
|
160
|
+
* await client.transactions.get({
|
|
159
161
|
* id: "id"
|
|
160
162
|
* })
|
|
161
163
|
*/
|
|
162
|
-
|
|
163
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
164
|
+
get(request, requestOptions) {
|
|
165
|
+
return core.HttpResponsePromise.fromPromise(this.__get(request, requestOptions));
|
|
164
166
|
}
|
|
165
|
-
async
|
|
167
|
+
async __get(request, requestOptions) {
|
|
166
168
|
const { id } = request;
|
|
167
169
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
168
170
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
@@ -201,7 +203,7 @@ export class TransactionsClient {
|
|
|
201
203
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v2/transactions/{id}");
|
|
202
204
|
}
|
|
203
205
|
/**
|
|
204
|
-
* @param {ToltApi.
|
|
206
|
+
* @param {ToltApi.UpdateTransactionsRequest} request
|
|
205
207
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
206
208
|
*
|
|
207
209
|
* @throws {@link ToltApi.BadRequestError}
|
|
@@ -213,14 +215,14 @@ export class TransactionsClient {
|
|
|
213
215
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
214
216
|
*
|
|
215
217
|
* @example
|
|
216
|
-
* await client.transactions.
|
|
218
|
+
* await client.transactions.update({
|
|
217
219
|
* id: "id"
|
|
218
220
|
* })
|
|
219
221
|
*/
|
|
220
|
-
|
|
221
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
222
|
+
update(request, requestOptions) {
|
|
223
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
222
224
|
}
|
|
223
|
-
async
|
|
225
|
+
async __update(request, requestOptions) {
|
|
224
226
|
const { id, ..._body } = request;
|
|
225
227
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
226
228
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
@@ -266,7 +268,7 @@ export class TransactionsClient {
|
|
|
266
268
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "PUT", "/v2/transactions/{id}");
|
|
267
269
|
}
|
|
268
270
|
/**
|
|
269
|
-
* @param {ToltApi.
|
|
271
|
+
* @param {ToltApi.DeleteTransactionsRequest} request
|
|
270
272
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
271
273
|
*
|
|
272
274
|
* @throws {@link ToltApi.UnauthorizedError}
|
|
@@ -277,14 +279,14 @@ export class TransactionsClient {
|
|
|
277
279
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
278
280
|
*
|
|
279
281
|
* @example
|
|
280
|
-
* await client.transactions.
|
|
282
|
+
* await client.transactions.delete({
|
|
281
283
|
* id: "id"
|
|
282
284
|
* })
|
|
283
285
|
*/
|
|
284
|
-
|
|
285
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
286
|
+
delete(request, requestOptions) {
|
|
287
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(request, requestOptions));
|
|
286
288
|
}
|
|
287
|
-
async
|
|
289
|
+
async __delete(request, requestOptions) {
|
|
288
290
|
const { id } = request;
|
|
289
291
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
290
292
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
@@ -325,7 +327,9 @@ export class TransactionsClient {
|
|
|
325
327
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/v2/transactions/{id}");
|
|
326
328
|
}
|
|
327
329
|
/**
|
|
328
|
-
*
|
|
330
|
+
* Unpaid commissions are zeroed while preserving their original deducted commission amount, and affected draft invoices are recalculated. Paid commissions and commissions linked to legacy autopayout invoices receive a negative reversal.
|
|
331
|
+
*
|
|
332
|
+
* @param {ToltApi.RefundTransactionsRequest} request
|
|
329
333
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
330
334
|
*
|
|
331
335
|
* @throws {@link ToltApi.UnauthorizedError}
|
|
@@ -336,14 +340,14 @@ export class TransactionsClient {
|
|
|
336
340
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
337
341
|
*
|
|
338
342
|
* @example
|
|
339
|
-
* await client.transactions.
|
|
343
|
+
* await client.transactions.refund({
|
|
340
344
|
* id: "id"
|
|
341
345
|
* })
|
|
342
346
|
*/
|
|
343
|
-
|
|
344
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
347
|
+
refund(request, requestOptions) {
|
|
348
|
+
return core.HttpResponsePromise.fromPromise(this.__refund(request, requestOptions));
|
|
345
349
|
}
|
|
346
|
-
async
|
|
350
|
+
async __refund(request, requestOptions) {
|
|
347
351
|
const { id } = request;
|
|
348
352
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
349
353
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
@@ -386,7 +390,7 @@ export class TransactionsClient {
|
|
|
386
390
|
/**
|
|
387
391
|
* Re-queues the transaction for asynchronous flow processing. Only transactions without an existing commission are eligible, so a rerun cannot create a duplicate commission.
|
|
388
392
|
*
|
|
389
|
-
* @param {ToltApi.
|
|
393
|
+
* @param {ToltApi.RerunFlowsTransactionsRequest} request
|
|
390
394
|
* @param {TransactionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
391
395
|
*
|
|
392
396
|
* @throws {@link ToltApi.UnauthorizedError}
|
|
@@ -397,14 +401,14 @@ export class TransactionsClient {
|
|
|
397
401
|
* @throws {@link errors.ToltApiTimeoutError}
|
|
398
402
|
*
|
|
399
403
|
* @example
|
|
400
|
-
* await client.transactions.
|
|
404
|
+
* await client.transactions.rerunFlows({
|
|
401
405
|
* id: "id"
|
|
402
406
|
* })
|
|
403
407
|
*/
|
|
404
|
-
|
|
405
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
408
|
+
rerunFlows(request, requestOptions) {
|
|
409
|
+
return core.HttpResponsePromise.fromPromise(this.__rerunFlows(request, requestOptions));
|
|
406
410
|
}
|
|
407
|
-
async
|
|
411
|
+
async __rerunFlows(request, requestOptions) {
|
|
408
412
|
const { id } = request;
|
|
409
413
|
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
410
414
|
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
* customer_id: "customer_id"
|
|
6
6
|
* }
|
|
7
7
|
*/
|
|
8
|
-
export interface
|
|
8
|
+
export interface CreateTransactionsRequest {
|
|
9
|
+
created_at?: string;
|
|
10
|
+
product_id?: string;
|
|
11
|
+
product_name?: string;
|
|
9
12
|
/** Monetary amount as an integer in the smallest currency unit (cents), e.g. 500 = 5.00 */
|
|
10
13
|
amount: number;
|
|
11
14
|
customer_id: string;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* id: "id"
|
|
5
5
|
* }
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface UpdateTransactionsRequest {
|
|
8
8
|
id: string;
|
|
9
9
|
/** Monetary amount as an integer in the smallest currency unit (cents), e.g. 500 = 5.00 */
|
|
10
10
|
amount?: number;
|
|
@@ -13,6 +13,8 @@ export interface UpdateTransactionRequest {
|
|
|
13
13
|
billing_type?: string | null;
|
|
14
14
|
charge_id?: string | null;
|
|
15
15
|
click_id?: string | null;
|
|
16
|
+
product_id?: string | null;
|
|
17
|
+
product_name?: string | null;
|
|
16
18
|
interval?: string | null;
|
|
17
19
|
created_at?: string;
|
|
18
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type {
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
1
|
+
export type { CreateTransactionsRequest } from "./CreateTransactionsRequest.js";
|
|
2
|
+
export type { DeleteTransactionsRequest } from "./DeleteTransactionsRequest.js";
|
|
3
|
+
export type { GetTransactionsRequest } from "./GetTransactionsRequest.js";
|
|
4
4
|
export type { ListTransactionsRequest } from "./ListTransactionsRequest.js";
|
|
5
|
-
export type {
|
|
6
|
-
export type {
|
|
7
|
-
export type {
|
|
5
|
+
export type { RefundTransactionsRequest } from "./RefundTransactionsRequest.js";
|
|
6
|
+
export type { RerunFlowsTransactionsRequest } from "./RerunFlowsTransactionsRequest.js";
|
|
7
|
+
export type { UpdateTransactionsRequest } from "./UpdateTransactionsRequest.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./CreateTransactionsResponse.js";
|
|
2
|
+
export * from "./DeleteTransactionsResponse.js";
|
|
3
|
+
export * from "./GetTransactionsResponse.js";
|
|
4
4
|
export * from "./ListTransactionsRequestOrder.js";
|
|
5
5
|
export * from "./ListTransactionsRequestSort.js";
|
|
6
6
|
export * from "./ListTransactionsResponse.js";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
7
|
+
export * from "./RefundTransactionsResponse.js";
|
|
8
|
+
export * from "./RerunFlowsTransactionsResponse.js";
|
|
9
|
+
export * from "./UpdateTransactionsResponse.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
1
|
+
export * from "./CreateTransactionsResponse.js";
|
|
2
|
+
export * from "./DeleteTransactionsResponse.js";
|
|
3
|
+
export * from "./GetTransactionsResponse.js";
|
|
4
4
|
export * from "./ListTransactionsRequestOrder.js";
|
|
5
5
|
export * from "./ListTransactionsRequestSort.js";
|
|
6
6
|
export * from "./ListTransactionsResponse.js";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./
|
|
7
|
+
export * from "./RefundTransactionsResponse.js";
|
|
8
|
+
export * from "./RerunFlowsTransactionsResponse.js";
|
|
9
|
+
export * from "./UpdateTransactionsResponse.js";
|
package/dist/environments.d.ts
CHANGED
package/dist/environments.js
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CreateClickRequest = unknown;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CreateCommissionRequest = unknown;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @example
|
|
3
|
-
* {
|
|
4
|
-
* id: "id"
|
|
5
|
-
* }
|
|
6
|
-
*/
|
|
7
|
-
export interface UpdateCustomerRequest {
|
|
8
|
-
id: string;
|
|
9
|
-
email?: string;
|
|
10
|
-
name?: string | null;
|
|
11
|
-
status?: string | null;
|
|
12
|
-
customer_id?: string;
|
|
13
|
-
subscription_id?: string | null;
|
|
14
|
-
click_id?: string | null;
|
|
15
|
-
link_id?: string | null;
|
|
16
|
-
lead_at?: string | null;
|
|
17
|
-
active_at?: string | null;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @example
|
|
3
|
-
* {}
|
|
4
|
-
*/
|
|
5
|
-
export interface CreateEmbedTokenRequest {
|
|
6
|
-
partner_id?: string;
|
|
7
|
-
partner?: CreateEmbedTokenRequest.Partner;
|
|
8
|
-
}
|
|
9
|
-
export declare namespace CreateEmbedTokenRequest {
|
|
10
|
-
interface Partner {
|
|
11
|
-
email: string;
|
|
12
|
-
program_id: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
export var CreatePartnerRequest;
|
|
3
|
-
(function (CreatePartnerRequest) {
|
|
4
|
-
CreatePartnerRequest.Status = {
|
|
5
|
-
Active: "active",
|
|
6
|
-
Pending: "pending",
|
|
7
|
-
};
|
|
8
|
-
})(CreatePartnerRequest || (CreatePartnerRequest = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const ReportsLinksRequestSort: {
|
|
2
|
-
readonly Revenue: "revenue";
|
|
3
|
-
readonly Commissions: "commissions";
|
|
4
|
-
readonly Clicks: "clicks";
|
|
5
|
-
readonly Customers: "customers";
|
|
6
|
-
};
|
|
7
|
-
export type ReportsLinksRequestSort = (typeof ReportsLinksRequestSort)[keyof typeof ReportsLinksRequestSort];
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const ReportsPartnersRequestSort: {
|
|
2
|
-
readonly Revenue: "revenue";
|
|
3
|
-
readonly Commissions: "commissions";
|
|
4
|
-
readonly Clicks: "clicks";
|
|
5
|
-
readonly Customers: "customers";
|
|
6
|
-
};
|
|
7
|
-
export type ReportsPartnersRequestSort = (typeof ReportsPartnersRequestSort)[keyof typeof ReportsPartnersRequestSort];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare const ReportsTimeseriesRequestGranularity: {
|
|
2
|
-
readonly Day: "day";
|
|
3
|
-
readonly Week: "week";
|
|
4
|
-
readonly Month: "month";
|
|
5
|
-
};
|
|
6
|
-
export type ReportsTimeseriesRequestGranularity = (typeof ReportsTimeseriesRequestGranularity)[keyof typeof ReportsTimeseriesRequestGranularity];
|