@alicloud/airticketopen20230117 1.0.5 → 2.0.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/client.d.ts +231 -0
- package/dist/client.js +199 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +355 -0
package/dist/client.d.ts
CHANGED
|
@@ -1660,6 +1660,131 @@ export declare class ChangeDetailListOfOrderNumResponse extends $tea.Model {
|
|
|
1660
1660
|
[key: string]: any;
|
|
1661
1661
|
});
|
|
1662
1662
|
}
|
|
1663
|
+
export declare class CollectFlightLowestPriceHeaders extends $tea.Model {
|
|
1664
|
+
commonHeaders?: {
|
|
1665
|
+
[key: string]: string;
|
|
1666
|
+
};
|
|
1667
|
+
/**
|
|
1668
|
+
* @remarks
|
|
1669
|
+
* access_token
|
|
1670
|
+
*
|
|
1671
|
+
* This parameter is required.
|
|
1672
|
+
*
|
|
1673
|
+
* @example
|
|
1674
|
+
* eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii
|
|
1675
|
+
*/
|
|
1676
|
+
xAcsAirticketAccessToken?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* @example
|
|
1679
|
+
* en_US
|
|
1680
|
+
*/
|
|
1681
|
+
xAcsAirticketLanguage?: string;
|
|
1682
|
+
static names(): {
|
|
1683
|
+
[key: string]: string;
|
|
1684
|
+
};
|
|
1685
|
+
static types(): {
|
|
1686
|
+
[key: string]: any;
|
|
1687
|
+
};
|
|
1688
|
+
constructor(map?: {
|
|
1689
|
+
[key: string]: any;
|
|
1690
|
+
});
|
|
1691
|
+
}
|
|
1692
|
+
export declare class CollectFlightLowestPriceRequest extends $tea.Model {
|
|
1693
|
+
/**
|
|
1694
|
+
* @remarks
|
|
1695
|
+
* This parameter is required.
|
|
1696
|
+
*/
|
|
1697
|
+
lowestPriceFlightInfoList?: CollectFlightLowestPriceRequestLowestPriceFlightInfoList[];
|
|
1698
|
+
static names(): {
|
|
1699
|
+
[key: string]: string;
|
|
1700
|
+
};
|
|
1701
|
+
static types(): {
|
|
1702
|
+
[key: string]: any;
|
|
1703
|
+
};
|
|
1704
|
+
constructor(map?: {
|
|
1705
|
+
[key: string]: any;
|
|
1706
|
+
});
|
|
1707
|
+
}
|
|
1708
|
+
export declare class CollectFlightLowestPriceShrinkRequest extends $tea.Model {
|
|
1709
|
+
/**
|
|
1710
|
+
* @remarks
|
|
1711
|
+
* This parameter is required.
|
|
1712
|
+
*/
|
|
1713
|
+
lowestPriceFlightInfoListShrink?: string;
|
|
1714
|
+
static names(): {
|
|
1715
|
+
[key: string]: string;
|
|
1716
|
+
};
|
|
1717
|
+
static types(): {
|
|
1718
|
+
[key: string]: any;
|
|
1719
|
+
};
|
|
1720
|
+
constructor(map?: {
|
|
1721
|
+
[key: string]: any;
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
export declare class CollectFlightLowestPriceResponseBody extends $tea.Model {
|
|
1725
|
+
/**
|
|
1726
|
+
* @example
|
|
1727
|
+
* 51593418-8C73-5E47-8BA8-3F1D4A00CC0B
|
|
1728
|
+
*/
|
|
1729
|
+
requestId?: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* @example
|
|
1732
|
+
* null
|
|
1733
|
+
*/
|
|
1734
|
+
data?: {
|
|
1735
|
+
[key: string]: any;
|
|
1736
|
+
};
|
|
1737
|
+
/**
|
|
1738
|
+
* @example
|
|
1739
|
+
* null
|
|
1740
|
+
*/
|
|
1741
|
+
errorCode?: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* @example
|
|
1744
|
+
* null
|
|
1745
|
+
*/
|
|
1746
|
+
errorData?: any;
|
|
1747
|
+
/**
|
|
1748
|
+
* @example
|
|
1749
|
+
* null
|
|
1750
|
+
*/
|
|
1751
|
+
errorMsg?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* @example
|
|
1754
|
+
* 200
|
|
1755
|
+
*/
|
|
1756
|
+
status?: number;
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* true
|
|
1760
|
+
*/
|
|
1761
|
+
success?: boolean;
|
|
1762
|
+
static names(): {
|
|
1763
|
+
[key: string]: string;
|
|
1764
|
+
};
|
|
1765
|
+
static types(): {
|
|
1766
|
+
[key: string]: any;
|
|
1767
|
+
};
|
|
1768
|
+
constructor(map?: {
|
|
1769
|
+
[key: string]: any;
|
|
1770
|
+
});
|
|
1771
|
+
}
|
|
1772
|
+
export declare class CollectFlightLowestPriceResponse extends $tea.Model {
|
|
1773
|
+
headers?: {
|
|
1774
|
+
[key: string]: string;
|
|
1775
|
+
};
|
|
1776
|
+
statusCode?: number;
|
|
1777
|
+
body?: CollectFlightLowestPriceResponseBody;
|
|
1778
|
+
static names(): {
|
|
1779
|
+
[key: string]: string;
|
|
1780
|
+
};
|
|
1781
|
+
static types(): {
|
|
1782
|
+
[key: string]: any;
|
|
1783
|
+
};
|
|
1784
|
+
constructor(map?: {
|
|
1785
|
+
[key: string]: any;
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1663
1788
|
export declare class EnrichHeaders extends $tea.Model {
|
|
1664
1789
|
commonHeaders?: {
|
|
1665
1790
|
[key: string]: string;
|
|
@@ -6989,6 +7114,96 @@ export declare class ChangeDetailListOfOrderNumResponseBodyData extends $tea.Mod
|
|
|
6989
7114
|
[key: string]: any;
|
|
6990
7115
|
});
|
|
6991
7116
|
}
|
|
7117
|
+
export declare class CollectFlightLowestPriceRequestLowestPriceFlightInfoList extends $tea.Model {
|
|
7118
|
+
/**
|
|
7119
|
+
* @remarks
|
|
7120
|
+
* This parameter is required.
|
|
7121
|
+
*
|
|
7122
|
+
* @example
|
|
7123
|
+
* MFM
|
|
7124
|
+
*/
|
|
7125
|
+
arrivalCity?: string;
|
|
7126
|
+
/**
|
|
7127
|
+
* @remarks
|
|
7128
|
+
* This parameter is required.
|
|
7129
|
+
*
|
|
7130
|
+
* @example
|
|
7131
|
+
* SHA
|
|
7132
|
+
*/
|
|
7133
|
+
departureCity?: string;
|
|
7134
|
+
/**
|
|
7135
|
+
* @remarks
|
|
7136
|
+
* This parameter is required.
|
|
7137
|
+
*
|
|
7138
|
+
* @example
|
|
7139
|
+
* 2024-11-11
|
|
7140
|
+
*/
|
|
7141
|
+
departureDate?: string;
|
|
7142
|
+
/**
|
|
7143
|
+
* @remarks
|
|
7144
|
+
* This parameter is required.
|
|
7145
|
+
*
|
|
7146
|
+
* @example
|
|
7147
|
+
* CA123,CA456
|
|
7148
|
+
*/
|
|
7149
|
+
departureFlightNumber?: string;
|
|
7150
|
+
/**
|
|
7151
|
+
* @remarks
|
|
7152
|
+
* This parameter is required.
|
|
7153
|
+
*
|
|
7154
|
+
* @example
|
|
7155
|
+
* 100.0
|
|
7156
|
+
*/
|
|
7157
|
+
marketTotalPrice?: number;
|
|
7158
|
+
/**
|
|
7159
|
+
* @example
|
|
7160
|
+
* 123456789dacd
|
|
7161
|
+
*/
|
|
7162
|
+
requestId?: string;
|
|
7163
|
+
/**
|
|
7164
|
+
* @example
|
|
7165
|
+
* 2024-11-11
|
|
7166
|
+
*/
|
|
7167
|
+
returnDate?: string;
|
|
7168
|
+
/**
|
|
7169
|
+
* @example
|
|
7170
|
+
* CA123,CA456
|
|
7171
|
+
*/
|
|
7172
|
+
returnFlightNumber?: string;
|
|
7173
|
+
/**
|
|
7174
|
+
* @remarks
|
|
7175
|
+
* This parameter is required.
|
|
7176
|
+
*
|
|
7177
|
+
* @example
|
|
7178
|
+
* eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ
|
|
7179
|
+
*/
|
|
7180
|
+
solutionId?: string;
|
|
7181
|
+
/**
|
|
7182
|
+
* @remarks
|
|
7183
|
+
* This parameter is required.
|
|
7184
|
+
*
|
|
7185
|
+
* @example
|
|
7186
|
+
* 100.1
|
|
7187
|
+
*/
|
|
7188
|
+
suezTotalPrice?: number;
|
|
7189
|
+
/**
|
|
7190
|
+
* @remarks
|
|
7191
|
+
* This parameter is required.
|
|
7192
|
+
*
|
|
7193
|
+
* @example
|
|
7194
|
+
* 1
|
|
7195
|
+
*/
|
|
7196
|
+
tripType?: number;
|
|
7197
|
+
static names(): {
|
|
7198
|
+
[key: string]: string;
|
|
7199
|
+
};
|
|
7200
|
+
static types(): {
|
|
7201
|
+
[key: string]: any;
|
|
7202
|
+
};
|
|
7203
|
+
constructor(map?: {
|
|
7204
|
+
[key: string]: any;
|
|
7205
|
+
});
|
|
7206
|
+
}
|
|
6992
7207
|
export declare class EnrichRequestJourneyParamListSegmentParamList extends $tea.Model {
|
|
6993
7208
|
/**
|
|
6994
7209
|
* @remarks
|
|
@@ -11575,6 +11790,22 @@ export default class Client extends OpenApi {
|
|
|
11575
11790
|
* @returns ChangeDetailListOfOrderNumResponse
|
|
11576
11791
|
*/
|
|
11577
11792
|
changeDetailListOfOrderNum(request: ChangeDetailListOfOrderNumRequest): Promise<ChangeDetailListOfOrderNumResponse>;
|
|
11793
|
+
/**
|
|
11794
|
+
* 数据收集-低价航班信息
|
|
11795
|
+
*
|
|
11796
|
+
* @param tmpReq - CollectFlightLowestPriceRequest
|
|
11797
|
+
* @param headers - CollectFlightLowestPriceHeaders
|
|
11798
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11799
|
+
* @returns CollectFlightLowestPriceResponse
|
|
11800
|
+
*/
|
|
11801
|
+
collectFlightLowestPriceWithOptions(tmpReq: CollectFlightLowestPriceRequest, headers: CollectFlightLowestPriceHeaders, runtime: $Util.RuntimeOptions): Promise<CollectFlightLowestPriceResponse>;
|
|
11802
|
+
/**
|
|
11803
|
+
* 数据收集-低价航班信息
|
|
11804
|
+
*
|
|
11805
|
+
* @param request - CollectFlightLowestPriceRequest
|
|
11806
|
+
* @returns CollectFlightLowestPriceResponse
|
|
11807
|
+
*/
|
|
11808
|
+
collectFlightLowestPrice(request: CollectFlightLowestPriceRequest): Promise<CollectFlightLowestPriceResponse>;
|
|
11578
11809
|
/**
|
|
11579
11810
|
* Search-Enrich
|
|
11580
11811
|
*
|
package/dist/client.js
CHANGED
|
@@ -26,12 +26,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.TransitVisaResponseBodyData = exports.TransitVisaRequestFlightSegmentParamList = exports.TicketingCheckResponseBodyData = exports.TicketingResponseBodyData = exports.SearchResponseBodyData = exports.SearchResponseBodyDataSolutionList = exports.SearchResponseBodyDataSolutionListSegmentRefundChangeRuleMappingList = exports.SearchResponseBodyDataSolutionListSegmentBaggageMappingList = exports.SearchResponseBodyDataSolutionListSegmentBaggageCheckInInfoList = exports.SearchResponseBodyDataSolutionListJourneyList = void 0;
|
|
29
|
+
exports.CollectFlightLowestPriceRequest = exports.CollectFlightLowestPriceHeaders = exports.ChangeDetailListOfOrderNumResponse = exports.ChangeDetailListOfOrderNumResponseBody = exports.ChangeDetailListOfOrderNumRequest = exports.ChangeDetailListOfOrderNumHeaders = exports.ChangeDetailListOfBuyerResponse = exports.ChangeDetailListOfBuyerResponseBody = exports.ChangeDetailListOfBuyerRequest = exports.ChangeDetailListOfBuyerHeaders = exports.ChangeDetailResponse = exports.ChangeDetailResponseBody = exports.ChangeDetailRequest = exports.ChangeDetailHeaders = exports.ChangeConfirmResponse = exports.ChangeConfirmResponseBody = exports.ChangeConfirmRequest = exports.ChangeConfirmHeaders = exports.ChangeCancelResponse = exports.ChangeCancelResponseBody = exports.ChangeCancelRequest = exports.ChangeCancelHeaders = exports.ChangeApplyResponse = exports.ChangeApplyResponseBody = exports.ChangeApplyShrinkRequest = exports.ChangeApplyRequest = exports.ChangeApplyHeaders = exports.CancelResponse = exports.CancelResponseBody = exports.CancelRequest = exports.CancelHeaders = exports.BookResponse = exports.BookResponseBody = exports.BookShrinkRequest = exports.BookRequest = exports.BookHeaders = exports.AncillarySuggestResponse = exports.AncillarySuggestResponseBody = exports.AncillarySuggestRequest = exports.AncillarySuggestHeaders = exports.AccountFlowListResponse = exports.AccountFlowListResponseBody = exports.AccountFlowListRequest = exports.AccountFlowListHeaders = exports.DataSolutionSegmentRefundChangeRuleMappingListRefundChangeRuleMapValue = exports.DataSolutionSegmentBaggageMappingListPassengerBaggageAllowanceMappingValue = exports.DataRefundChangeRuleMapValue = exports.DataBaggageAllowanceMapValue = exports.DataSolutionListSegmentRefundChangeRuleMappingListRefundChangeRuleMapValue = exports.DataSolutionListSegmentBaggageMappingListPassengerBaggageAllowanceMappingValue = void 0;
|
|
30
|
+
exports.SearchHeaders = exports.RefundDetailListResponse = exports.RefundDetailListResponseBody = exports.RefundDetailListRequest = exports.RefundDetailListHeaders = exports.RefundDetailResponse = exports.RefundDetailResponseBody = exports.RefundDetailRequest = exports.RefundDetailHeaders = exports.RefundApplyResponse = exports.RefundApplyResponseBody = exports.RefundApplyShrinkRequest = exports.RefundApplyRequest = exports.RefundApplyHeaders = exports.PricingResponse = exports.PricingResponseBody = exports.PricingRequest = exports.PricingHeaders = exports.OrderListResponse = exports.OrderListResponseBody = exports.OrderListRequest = exports.OrderListHeaders = exports.OrderDetailResponse = exports.OrderDetailResponseBody = exports.OrderDetailRequest = exports.OrderDetailHeaders = exports.LuggageDirectResponse = exports.LuggageDirectResponseBody = exports.LuggageDirectShrinkRequest = exports.LuggageDirectRequest = exports.LuggageDirectHeaders = exports.GetTokenResponse = exports.GetTokenResponseBody = exports.GetTokenRequest = exports.FlightChangeOfOrderResponse = exports.FlightChangeOfOrderResponseBody = exports.FlightChangeOfOrderRequest = exports.FlightChangeOfOrderHeaders = exports.FileUploadResponse = exports.FileUploadResponseBody = exports.FileUploadRequest = exports.FileUploadHeaders = exports.EnrichResponse = exports.EnrichResponseBody = exports.EnrichShrinkRequest = exports.EnrichRequest = exports.EnrichHeaders = exports.CollectFlightLowestPriceResponse = exports.CollectFlightLowestPriceResponseBody = exports.CollectFlightLowestPriceShrinkRequest = void 0;
|
|
31
|
+
exports.ChangeApplyRequestChangedJourneysSegmentList = exports.ChangeApplyRequestChangePassengerList = exports.CancelResponseBodyData = exports.BookResponseBodyErrorData = exports.BookResponseBodyErrorDataOrderList = exports.BookResponseBodyData = exports.BookResponseBodyDataOrderList = exports.BookRequestPassengerList = exports.BookRequestPassengerListCredential = exports.BookRequestPassengerAncillaryPurchaseMapList = exports.BookRequestPassengerAncillaryPurchaseMapListPassengerList = exports.BookRequestPassengerAncillaryPurchaseMapListPassengerListCredential = exports.BookRequestPassengerAncillaryPurchaseMapListBookAncillaryReqItem = exports.BookRequestContact = exports.AncillarySuggestResponseBodyData = exports.AncillarySuggestResponseBodyDataSegAncillaryMapList = exports.AncillarySuggestResponseBodyDataSegAncillaryMapListAncillary = exports.AncillarySuggestResponseBodyDataSegAncillaryMapListAncillaryBaggageAncillary = exports.AccountFlowListResponseBodyData = exports.AccountFlowListResponseBodyDataPagination = exports.AccountFlowListResponseBodyDataList = exports.DataSolutionSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueChangeRuleOutUnusedList = exports.DataSolutionSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueChangeRuleInUnusedList = exports.DataSolutionSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueRefundRulePartUnusedList = exports.DataSolutionSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueRefundRuleAllUnusedList = exports.DataRefundChangeRuleMapValueChangeRuleOutUnusedList = exports.DataRefundChangeRuleMapValueChangeRuleInUnusedList = exports.DataRefundChangeRuleMapValueRefundRulePartUnusedList = exports.DataRefundChangeRuleMapValueRefundRuleAllUnusedList = exports.DataSolutionListSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueChangeRuleOutUnusedList = exports.DataSolutionListSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueChangeRuleInUnusedList = exports.DataSolutionListSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueRefundRulePartUnusedList = exports.DataSolutionListSegmentRefundChangeRuleMappingListRefundChangeRuleMapValueRefundRuleAllUnusedList = exports.TransitVisaResponse = exports.TransitVisaResponseBody = exports.TransitVisaShrinkRequest = exports.TransitVisaRequest = exports.TransitVisaHeaders = exports.TicketingCheckResponse = exports.TicketingCheckResponseBody = exports.TicketingCheckRequest = exports.TicketingCheckHeaders = exports.TicketingResponse = exports.TicketingResponseBody = exports.TicketingRequest = exports.TicketingHeaders = exports.SearchResponse = exports.SearchResponseBody = exports.SearchShrinkRequest = exports.SearchRequest = void 0;
|
|
32
|
+
exports.LuggageDirectRequestFlightSegmentParamList = exports.GetTokenResponseBodyData = exports.FlightChangeOfOrderResponseBodyData = exports.FlightChangeOfOrderResponseBodyDataFlightChangeDetail = exports.FileUploadResponseBodyData = exports.EnrichResponseBodyData = exports.EnrichResponseBodyDataSolutionList = exports.EnrichResponseBodyDataSolutionListSegmentRefundChangeRuleMappingList = exports.EnrichResponseBodyDataSolutionListSegmentBaggageMappingList = exports.EnrichResponseBodyDataSolutionListSegmentBaggageCheckInInfoList = exports.EnrichResponseBodyDataSolutionListJourneyList = exports.EnrichResponseBodyDataSolutionListJourneyListSegmentList = exports.EnrichRequestJourneyParamList = exports.EnrichRequestJourneyParamListSegmentParamList = exports.CollectFlightLowestPriceRequestLowestPriceFlightInfoList = exports.ChangeDetailListOfOrderNumResponseBodyData = exports.ChangeDetailListOfOrderNumResponseBodyDataPagination = exports.ChangeDetailListOfOrderNumResponseBodyDataList = exports.ChangeDetailListOfOrderNumResponseBodyDataListOriginalJourneys = exports.ChangeDetailListOfOrderNumResponseBodyDataListOriginalJourneysSegmentList = exports.ChangeDetailListOfOrderNumResponseBodyDataListLastJourneys = exports.ChangeDetailListOfOrderNumResponseBodyDataListLastJourneysSegmentList = exports.ChangeDetailListOfOrderNumResponseBodyDataListContact = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangedJourneys = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangedJourneysSegmentList = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangePassengers = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangeFeeDetails = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangeFeeDetailsPassenger = exports.ChangeDetailListOfOrderNumResponseBodyDataListChangeFeeDetailsChangeFee = exports.ChangeDetailListOfBuyerResponseBodyData = exports.ChangeDetailListOfBuyerResponseBodyDataPagination = exports.ChangeDetailListOfBuyerResponseBodyDataList = exports.ChangeDetailResponseBodyData = exports.ChangeDetailResponseBodyDataOriginalJourneys = exports.ChangeDetailResponseBodyDataOriginalJourneysSegmentList = exports.ChangeDetailResponseBodyDataLastJourneys = exports.ChangeDetailResponseBodyDataLastJourneysSegmentList = exports.ChangeDetailResponseBodyDataContact = exports.ChangeDetailResponseBodyDataChangedJourneys = exports.ChangeDetailResponseBodyDataChangedJourneysSegmentList = exports.ChangeDetailResponseBodyDataChangePassengers = exports.ChangeDetailResponseBodyDataChangeFeeDetails = exports.ChangeDetailResponseBodyDataChangeFeeDetailsPassenger = exports.ChangeDetailResponseBodyDataChangeFeeDetailsChangeFee = exports.ChangeConfirmResponseBodyData = exports.ChangeApplyResponseBodyData = exports.ChangeApplyResponseBodyDataChangeOrders = exports.ChangeApplyResponseBodyDataChangeOrdersPassengers = exports.ChangeApplyRequestContact = exports.ChangeApplyRequestChangedJourneys = void 0;
|
|
33
|
+
exports.RefundDetailResponseBodyData = exports.RefundDetailResponseBodyDataRefundJourneys = exports.RefundDetailResponseBodyDataRefundJourneysSegmentList = exports.RefundDetailResponseBodyDataPassengerRefundDetails = exports.RefundDetailResponseBodyDataPassengerRefundDetailsRefundFee = exports.RefundDetailResponseBodyDataPassengerRefundDetailsPassenger = exports.RefundDetailResponseBodyDataMultiRefundDetails = exports.RefundDetailResponseBodyDataMultiRefundDetailsPassengerMultiRefundDetails = exports.RefundDetailResponseBodyDataMultiRefundDetailsPassengerMultiRefundDetailsPassenger = exports.RefundApplyResponseBodyData = exports.RefundApplyResponseBodyDataRefundResults = exports.RefundApplyResponseBodyDataRefundResultsRefundPassengers = exports.RefundApplyRequestRefundType = exports.RefundApplyRequestRefundPassengerList = exports.RefundApplyRequestRefundJourneys = exports.RefundApplyRequestRefundJourneysSegmentList = exports.PricingResponseBodyData = exports.PricingResponseBodyDataSolution = exports.PricingResponseBodyDataSolutionSegmentRefundChangeRuleMappingList = exports.PricingResponseBodyDataSolutionSegmentBaggageMappingList = exports.PricingResponseBodyDataSolutionSegmentBaggageCheckInInfoList = exports.PricingResponseBodyDataSolutionJourneyList = exports.PricingResponseBodyDataSolutionJourneyListSegmentList = exports.PricingResponseBodyDataOriginalPriceInfo = exports.PricingResponseBodyDataChangedPriceInfo = exports.OrderListResponseBodyData = exports.OrderListResponseBodyDataPagination = exports.OrderListResponseBodyDataList = exports.OrderListResponseBodyDataListPassengerList = exports.OrderListResponseBodyDataListPassengerListCredential = exports.OrderDetailResponseBodyData = exports.OrderDetailResponseBodyDataSolution = exports.OrderDetailResponseBodyDataSolutionSegmentRefundChangeRuleMappingList = exports.OrderDetailResponseBodyDataSolutionSegmentBaggageMappingList = exports.OrderDetailResponseBodyDataSolutionSegmentBaggageCheckInInfoList = exports.OrderDetailResponseBodyDataSolutionJourneyList = exports.OrderDetailResponseBodyDataSolutionJourneyListSegmentList = exports.OrderDetailResponseBodyDataPassengerList = exports.OrderDetailResponseBodyDataPassengerListCredential = exports.OrderDetailResponseBodyDataFlightItemDetailList = exports.OrderDetailResponseBodyDataFlightItemDetailListPassenger = exports.OrderDetailResponseBodyDataFlightItemDetailListPassengerCredential = exports.OrderDetailResponseBodyDataFlightItemDetailListFlightSegmentCabinRelation = exports.OrderDetailResponseBodyDataFlightItemDetailListFlightPrice = exports.OrderDetailResponseBodyDataAncillaryItemDetailList = exports.OrderDetailResponseBodyDataAncillaryItemDetailListPassenger = exports.OrderDetailResponseBodyDataAncillaryItemDetailListPassengerCredential = exports.OrderDetailResponseBodyDataAncillaryItemDetailListAncillary = exports.OrderDetailResponseBodyDataAncillaryItemDetailListAncillaryBaggageAncillary = exports.LuggageDirectResponseBodyData = void 0;
|
|
34
|
+
exports.TransitVisaResponseBodyData = exports.TransitVisaRequestFlightSegmentParamList = exports.TicketingCheckResponseBodyData = exports.TicketingResponseBodyData = exports.SearchResponseBodyData = exports.SearchResponseBodyDataSolutionList = exports.SearchResponseBodyDataSolutionListSegmentRefundChangeRuleMappingList = exports.SearchResponseBodyDataSolutionListSegmentBaggageMappingList = exports.SearchResponseBodyDataSolutionListSegmentBaggageCheckInInfoList = exports.SearchResponseBodyDataSolutionListJourneyList = exports.SearchResponseBodyDataSolutionListJourneyListSegmentList = exports.SearchRequestSearchControlOptions = exports.SearchRequestAirLegs = exports.RefundDetailListResponseBodyData = exports.RefundDetailListResponseBodyDataPagination = exports.RefundDetailListResponseBodyDataList = void 0;
|
|
35
35
|
// This file is auto-generated, don't edit it
|
|
36
36
|
/**
|
|
37
37
|
*/
|
|
@@ -1120,6 +1120,106 @@ class ChangeDetailListOfOrderNumResponse extends $tea.Model {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
1122
1122
|
exports.ChangeDetailListOfOrderNumResponse = ChangeDetailListOfOrderNumResponse;
|
|
1123
|
+
class CollectFlightLowestPriceHeaders extends $tea.Model {
|
|
1124
|
+
static names() {
|
|
1125
|
+
return {
|
|
1126
|
+
commonHeaders: 'commonHeaders',
|
|
1127
|
+
xAcsAirticketAccessToken: 'x-acs-airticket-access-token',
|
|
1128
|
+
xAcsAirticketLanguage: 'x-acs-airticket-language',
|
|
1129
|
+
};
|
|
1130
|
+
}
|
|
1131
|
+
static types() {
|
|
1132
|
+
return {
|
|
1133
|
+
commonHeaders: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1134
|
+
xAcsAirticketAccessToken: 'string',
|
|
1135
|
+
xAcsAirticketLanguage: 'string',
|
|
1136
|
+
};
|
|
1137
|
+
}
|
|
1138
|
+
constructor(map) {
|
|
1139
|
+
super(map);
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
exports.CollectFlightLowestPriceHeaders = CollectFlightLowestPriceHeaders;
|
|
1143
|
+
class CollectFlightLowestPriceRequest extends $tea.Model {
|
|
1144
|
+
static names() {
|
|
1145
|
+
return {
|
|
1146
|
+
lowestPriceFlightInfoList: 'lowest_price_flight_info_list',
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
static types() {
|
|
1150
|
+
return {
|
|
1151
|
+
lowestPriceFlightInfoList: { 'type': 'array', 'itemType': CollectFlightLowestPriceRequestLowestPriceFlightInfoList },
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
constructor(map) {
|
|
1155
|
+
super(map);
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
exports.CollectFlightLowestPriceRequest = CollectFlightLowestPriceRequest;
|
|
1159
|
+
class CollectFlightLowestPriceShrinkRequest extends $tea.Model {
|
|
1160
|
+
static names() {
|
|
1161
|
+
return {
|
|
1162
|
+
lowestPriceFlightInfoListShrink: 'lowest_price_flight_info_list',
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
static types() {
|
|
1166
|
+
return {
|
|
1167
|
+
lowestPriceFlightInfoListShrink: 'string',
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
constructor(map) {
|
|
1171
|
+
super(map);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
exports.CollectFlightLowestPriceShrinkRequest = CollectFlightLowestPriceShrinkRequest;
|
|
1175
|
+
class CollectFlightLowestPriceResponseBody extends $tea.Model {
|
|
1176
|
+
static names() {
|
|
1177
|
+
return {
|
|
1178
|
+
requestId: 'RequestId',
|
|
1179
|
+
data: 'data',
|
|
1180
|
+
errorCode: 'error_code',
|
|
1181
|
+
errorData: 'error_data',
|
|
1182
|
+
errorMsg: 'error_msg',
|
|
1183
|
+
status: 'status',
|
|
1184
|
+
success: 'success',
|
|
1185
|
+
};
|
|
1186
|
+
}
|
|
1187
|
+
static types() {
|
|
1188
|
+
return {
|
|
1189
|
+
requestId: 'string',
|
|
1190
|
+
data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1191
|
+
errorCode: 'string',
|
|
1192
|
+
errorData: 'any',
|
|
1193
|
+
errorMsg: 'string',
|
|
1194
|
+
status: 'number',
|
|
1195
|
+
success: 'boolean',
|
|
1196
|
+
};
|
|
1197
|
+
}
|
|
1198
|
+
constructor(map) {
|
|
1199
|
+
super(map);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
exports.CollectFlightLowestPriceResponseBody = CollectFlightLowestPriceResponseBody;
|
|
1203
|
+
class CollectFlightLowestPriceResponse extends $tea.Model {
|
|
1204
|
+
static names() {
|
|
1205
|
+
return {
|
|
1206
|
+
headers: 'headers',
|
|
1207
|
+
statusCode: 'statusCode',
|
|
1208
|
+
body: 'body',
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
static types() {
|
|
1212
|
+
return {
|
|
1213
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1214
|
+
statusCode: 'number',
|
|
1215
|
+
body: CollectFlightLowestPriceResponseBody,
|
|
1216
|
+
};
|
|
1217
|
+
}
|
|
1218
|
+
constructor(map) {
|
|
1219
|
+
super(map);
|
|
1220
|
+
}
|
|
1221
|
+
}
|
|
1222
|
+
exports.CollectFlightLowestPriceResponse = CollectFlightLowestPriceResponse;
|
|
1123
1223
|
class EnrichHeaders extends $tea.Model {
|
|
1124
1224
|
static names() {
|
|
1125
1225
|
return {
|
|
@@ -4290,6 +4390,42 @@ class ChangeDetailListOfOrderNumResponseBodyData extends $tea.Model {
|
|
|
4290
4390
|
}
|
|
4291
4391
|
}
|
|
4292
4392
|
exports.ChangeDetailListOfOrderNumResponseBodyData = ChangeDetailListOfOrderNumResponseBodyData;
|
|
4393
|
+
class CollectFlightLowestPriceRequestLowestPriceFlightInfoList extends $tea.Model {
|
|
4394
|
+
static names() {
|
|
4395
|
+
return {
|
|
4396
|
+
arrivalCity: 'arrival_city',
|
|
4397
|
+
departureCity: 'departure_city',
|
|
4398
|
+
departureDate: 'departure_date',
|
|
4399
|
+
departureFlightNumber: 'departure_flight_number',
|
|
4400
|
+
marketTotalPrice: 'market_total_price',
|
|
4401
|
+
requestId: 'request_id',
|
|
4402
|
+
returnDate: 'return_date',
|
|
4403
|
+
returnFlightNumber: 'return_flight_number',
|
|
4404
|
+
solutionId: 'solution_id',
|
|
4405
|
+
suezTotalPrice: 'suez_total_price',
|
|
4406
|
+
tripType: 'trip_type',
|
|
4407
|
+
};
|
|
4408
|
+
}
|
|
4409
|
+
static types() {
|
|
4410
|
+
return {
|
|
4411
|
+
arrivalCity: 'string',
|
|
4412
|
+
departureCity: 'string',
|
|
4413
|
+
departureDate: 'string',
|
|
4414
|
+
departureFlightNumber: 'string',
|
|
4415
|
+
marketTotalPrice: 'number',
|
|
4416
|
+
requestId: 'string',
|
|
4417
|
+
returnDate: 'string',
|
|
4418
|
+
returnFlightNumber: 'string',
|
|
4419
|
+
solutionId: 'string',
|
|
4420
|
+
suezTotalPrice: 'number',
|
|
4421
|
+
tripType: 'number',
|
|
4422
|
+
};
|
|
4423
|
+
}
|
|
4424
|
+
constructor(map) {
|
|
4425
|
+
super(map);
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4428
|
+
exports.CollectFlightLowestPriceRequestLowestPriceFlightInfoList = CollectFlightLowestPriceRequestLowestPriceFlightInfoList;
|
|
4293
4429
|
class EnrichRequestJourneyParamListSegmentParamList extends $tea.Model {
|
|
4294
4430
|
static names() {
|
|
4295
4431
|
return {
|
|
@@ -6975,6 +7111,63 @@ class Client extends openapi_client_1.default {
|
|
|
6975
7111
|
let headers = new ChangeDetailListOfOrderNumHeaders({});
|
|
6976
7112
|
return await this.changeDetailListOfOrderNumWithOptions(request, headers, runtime);
|
|
6977
7113
|
}
|
|
7114
|
+
/**
|
|
7115
|
+
* 数据收集-低价航班信息
|
|
7116
|
+
*
|
|
7117
|
+
* @param tmpReq - CollectFlightLowestPriceRequest
|
|
7118
|
+
* @param headers - CollectFlightLowestPriceHeaders
|
|
7119
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7120
|
+
* @returns CollectFlightLowestPriceResponse
|
|
7121
|
+
*/
|
|
7122
|
+
async collectFlightLowestPriceWithOptions(tmpReq, headers, runtime) {
|
|
7123
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
7124
|
+
let request = new CollectFlightLowestPriceShrinkRequest({});
|
|
7125
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
7126
|
+
if (!tea_util_1.default.isUnset(tmpReq.lowestPriceFlightInfoList)) {
|
|
7127
|
+
request.lowestPriceFlightInfoListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.lowestPriceFlightInfoList, "lowest_price_flight_info_list", "json");
|
|
7128
|
+
}
|
|
7129
|
+
let body = {};
|
|
7130
|
+
if (!tea_util_1.default.isUnset(request.lowestPriceFlightInfoListShrink)) {
|
|
7131
|
+
body["lowest_price_flight_info_list"] = request.lowestPriceFlightInfoListShrink;
|
|
7132
|
+
}
|
|
7133
|
+
let realHeaders = {};
|
|
7134
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
7135
|
+
realHeaders = headers.commonHeaders;
|
|
7136
|
+
}
|
|
7137
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAirticketAccessToken)) {
|
|
7138
|
+
realHeaders["x-acs-airticket-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAirticketAccessToken);
|
|
7139
|
+
}
|
|
7140
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAirticketLanguage)) {
|
|
7141
|
+
realHeaders["x-acs-airticket-language"] = tea_util_1.default.toJSONString(headers.xAcsAirticketLanguage);
|
|
7142
|
+
}
|
|
7143
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7144
|
+
headers: realHeaders,
|
|
7145
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7146
|
+
});
|
|
7147
|
+
let params = new $OpenApi.Params({
|
|
7148
|
+
action: "CollectFlightLowestPrice",
|
|
7149
|
+
version: "2023-01-17",
|
|
7150
|
+
protocol: "HTTPS",
|
|
7151
|
+
pathname: `/airticket/v1/data-collect/flight-lowest-price`,
|
|
7152
|
+
method: "POST",
|
|
7153
|
+
authType: "AK",
|
|
7154
|
+
style: "ROA",
|
|
7155
|
+
reqBodyType: "formData",
|
|
7156
|
+
bodyType: "json",
|
|
7157
|
+
});
|
|
7158
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CollectFlightLowestPriceResponse({}));
|
|
7159
|
+
}
|
|
7160
|
+
/**
|
|
7161
|
+
* 数据收集-低价航班信息
|
|
7162
|
+
*
|
|
7163
|
+
* @param request - CollectFlightLowestPriceRequest
|
|
7164
|
+
* @returns CollectFlightLowestPriceResponse
|
|
7165
|
+
*/
|
|
7166
|
+
async collectFlightLowestPrice(request) {
|
|
7167
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7168
|
+
let headers = new CollectFlightLowestPriceHeaders({});
|
|
7169
|
+
return await this.collectFlightLowestPriceWithOptions(request, headers, runtime);
|
|
7170
|
+
}
|
|
6978
7171
|
/**
|
|
6979
7172
|
* Search-Enrich
|
|
6980
7173
|
*
|