@alicloud/airticketopen20230117 1.0.5 → 1.1.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 +235 -0
- package/dist/client.js +213 -6
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +364 -0
package/dist/client.d.ts
CHANGED
|
@@ -1660,6 +1660,127 @@ 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
|
+
lowestPriceFlightList?: CollectFlightLowestPriceRequestLowestPriceFlightList[];
|
|
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
|
+
lowestPriceFlightListShrink?: 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
|
+
data?: {
|
|
1731
|
+
[key: string]: any;
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* @example
|
|
1735
|
+
* null
|
|
1736
|
+
*/
|
|
1737
|
+
errorCode?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* @example
|
|
1740
|
+
* null
|
|
1741
|
+
*/
|
|
1742
|
+
errorData?: any;
|
|
1743
|
+
/**
|
|
1744
|
+
* @example
|
|
1745
|
+
* null
|
|
1746
|
+
*/
|
|
1747
|
+
errorMsg?: string;
|
|
1748
|
+
/**
|
|
1749
|
+
* @example
|
|
1750
|
+
* 200
|
|
1751
|
+
*/
|
|
1752
|
+
status?: number;
|
|
1753
|
+
/**
|
|
1754
|
+
* @example
|
|
1755
|
+
* true
|
|
1756
|
+
*/
|
|
1757
|
+
success?: boolean;
|
|
1758
|
+
static names(): {
|
|
1759
|
+
[key: string]: string;
|
|
1760
|
+
};
|
|
1761
|
+
static types(): {
|
|
1762
|
+
[key: string]: any;
|
|
1763
|
+
};
|
|
1764
|
+
constructor(map?: {
|
|
1765
|
+
[key: string]: any;
|
|
1766
|
+
});
|
|
1767
|
+
}
|
|
1768
|
+
export declare class CollectFlightLowestPriceResponse extends $tea.Model {
|
|
1769
|
+
headers?: {
|
|
1770
|
+
[key: string]: string;
|
|
1771
|
+
};
|
|
1772
|
+
statusCode?: number;
|
|
1773
|
+
body?: CollectFlightLowestPriceResponseBody;
|
|
1774
|
+
static names(): {
|
|
1775
|
+
[key: string]: string;
|
|
1776
|
+
};
|
|
1777
|
+
static types(): {
|
|
1778
|
+
[key: string]: any;
|
|
1779
|
+
};
|
|
1780
|
+
constructor(map?: {
|
|
1781
|
+
[key: string]: any;
|
|
1782
|
+
});
|
|
1783
|
+
}
|
|
1663
1784
|
export declare class EnrichHeaders extends $tea.Model {
|
|
1664
1785
|
commonHeaders?: {
|
|
1665
1786
|
[key: string]: string;
|
|
@@ -6989,6 +7110,104 @@ export declare class ChangeDetailListOfOrderNumResponseBodyData extends $tea.Mod
|
|
|
6989
7110
|
[key: string]: any;
|
|
6990
7111
|
});
|
|
6991
7112
|
}
|
|
7113
|
+
export declare class CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo extends $tea.Model {
|
|
7114
|
+
/**
|
|
7115
|
+
* @remarks
|
|
7116
|
+
* This parameter is required.
|
|
7117
|
+
*
|
|
7118
|
+
* @example
|
|
7119
|
+
* CA123,CA456
|
|
7120
|
+
*/
|
|
7121
|
+
departureFlightNumber?: string;
|
|
7122
|
+
/**
|
|
7123
|
+
* @example
|
|
7124
|
+
* CA123,CA456
|
|
7125
|
+
*/
|
|
7126
|
+
returnFlightNumber?: string;
|
|
7127
|
+
static names(): {
|
|
7128
|
+
[key: string]: string;
|
|
7129
|
+
};
|
|
7130
|
+
static types(): {
|
|
7131
|
+
[key: string]: any;
|
|
7132
|
+
};
|
|
7133
|
+
constructor(map?: {
|
|
7134
|
+
[key: string]: any;
|
|
7135
|
+
});
|
|
7136
|
+
}
|
|
7137
|
+
export declare class CollectFlightLowestPriceRequestLowestPriceFlightList extends $tea.Model {
|
|
7138
|
+
/**
|
|
7139
|
+
* @remarks
|
|
7140
|
+
* This parameter is required.
|
|
7141
|
+
*
|
|
7142
|
+
* @example
|
|
7143
|
+
* MFM
|
|
7144
|
+
*/
|
|
7145
|
+
arrivalCity?: string;
|
|
7146
|
+
/**
|
|
7147
|
+
* @remarks
|
|
7148
|
+
* This parameter is required.
|
|
7149
|
+
*
|
|
7150
|
+
* @example
|
|
7151
|
+
* SHA
|
|
7152
|
+
*/
|
|
7153
|
+
departureCity?: string;
|
|
7154
|
+
/**
|
|
7155
|
+
* @remarks
|
|
7156
|
+
* This parameter is required.
|
|
7157
|
+
*
|
|
7158
|
+
* @example
|
|
7159
|
+
* 2024-11-11
|
|
7160
|
+
*/
|
|
7161
|
+
departureDate?: string;
|
|
7162
|
+
/**
|
|
7163
|
+
* @remarks
|
|
7164
|
+
* This parameter is required.
|
|
7165
|
+
*/
|
|
7166
|
+
flightNumberInfo?: CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo;
|
|
7167
|
+
/**
|
|
7168
|
+
* @remarks
|
|
7169
|
+
* This parameter is required.
|
|
7170
|
+
*
|
|
7171
|
+
* @example
|
|
7172
|
+
* 100.0
|
|
7173
|
+
*/
|
|
7174
|
+
marketTotalPrice?: number;
|
|
7175
|
+
/**
|
|
7176
|
+
* @example
|
|
7177
|
+
* 123456789dacd
|
|
7178
|
+
*/
|
|
7179
|
+
requestId?: string;
|
|
7180
|
+
/**
|
|
7181
|
+
* @example
|
|
7182
|
+
* 2024-11-11
|
|
7183
|
+
*/
|
|
7184
|
+
returnDate?: string;
|
|
7185
|
+
/**
|
|
7186
|
+
* @remarks
|
|
7187
|
+
* This parameter is required.
|
|
7188
|
+
*
|
|
7189
|
+
* @example
|
|
7190
|
+
* 100.1
|
|
7191
|
+
*/
|
|
7192
|
+
suezTotalPrice?: number;
|
|
7193
|
+
/**
|
|
7194
|
+
* @remarks
|
|
7195
|
+
* This parameter is required.
|
|
7196
|
+
*
|
|
7197
|
+
* @example
|
|
7198
|
+
* 1
|
|
7199
|
+
*/
|
|
7200
|
+
tripType?: number;
|
|
7201
|
+
static names(): {
|
|
7202
|
+
[key: string]: string;
|
|
7203
|
+
};
|
|
7204
|
+
static types(): {
|
|
7205
|
+
[key: string]: any;
|
|
7206
|
+
};
|
|
7207
|
+
constructor(map?: {
|
|
7208
|
+
[key: string]: any;
|
|
7209
|
+
});
|
|
7210
|
+
}
|
|
6992
7211
|
export declare class EnrichRequestJourneyParamListSegmentParamList extends $tea.Model {
|
|
6993
7212
|
/**
|
|
6994
7213
|
* @remarks
|
|
@@ -11575,6 +11794,22 @@ export default class Client extends OpenApi {
|
|
|
11575
11794
|
* @returns ChangeDetailListOfOrderNumResponse
|
|
11576
11795
|
*/
|
|
11577
11796
|
changeDetailListOfOrderNum(request: ChangeDetailListOfOrderNumRequest): Promise<ChangeDetailListOfOrderNumResponse>;
|
|
11797
|
+
/**
|
|
11798
|
+
* 数据收集-低价航班信息
|
|
11799
|
+
*
|
|
11800
|
+
* @param tmpReq - CollectFlightLowestPriceRequest
|
|
11801
|
+
* @param headers - CollectFlightLowestPriceHeaders
|
|
11802
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11803
|
+
* @returns CollectFlightLowestPriceResponse
|
|
11804
|
+
*/
|
|
11805
|
+
collectFlightLowestPriceWithOptions(tmpReq: CollectFlightLowestPriceRequest, headers: CollectFlightLowestPriceHeaders, runtime: $Util.RuntimeOptions): Promise<CollectFlightLowestPriceResponse>;
|
|
11806
|
+
/**
|
|
11807
|
+
* 数据收集-低价航班信息
|
|
11808
|
+
*
|
|
11809
|
+
* @param request - CollectFlightLowestPriceRequest
|
|
11810
|
+
* @returns CollectFlightLowestPriceResponse
|
|
11811
|
+
*/
|
|
11812
|
+
collectFlightLowestPrice(request: CollectFlightLowestPriceRequest): Promise<CollectFlightLowestPriceResponse>;
|
|
11578
11813
|
/**
|
|
11579
11814
|
* Search-Enrich
|
|
11580
11815
|
*
|
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.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.CollectFlightLowestPriceRequestLowestPriceFlightList = exports.CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo = 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.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 = exports.LuggageDirectRequestFlightSegmentParamList = 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 = exports.RefundDetailResponseBodyData = 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
|
+
lowestPriceFlightList: 'lowestPriceFlightList',
|
|
1147
|
+
};
|
|
1148
|
+
}
|
|
1149
|
+
static types() {
|
|
1150
|
+
return {
|
|
1151
|
+
lowestPriceFlightList: { 'type': 'array', 'itemType': CollectFlightLowestPriceRequestLowestPriceFlightList },
|
|
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
|
+
lowestPriceFlightListShrink: 'lowestPriceFlightList',
|
|
1163
|
+
};
|
|
1164
|
+
}
|
|
1165
|
+
static types() {
|
|
1166
|
+
return {
|
|
1167
|
+
lowestPriceFlightListShrink: '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,56 @@ class ChangeDetailListOfOrderNumResponseBodyData extends $tea.Model {
|
|
|
4290
4390
|
}
|
|
4291
4391
|
}
|
|
4292
4392
|
exports.ChangeDetailListOfOrderNumResponseBodyData = ChangeDetailListOfOrderNumResponseBodyData;
|
|
4393
|
+
class CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo extends $tea.Model {
|
|
4394
|
+
static names() {
|
|
4395
|
+
return {
|
|
4396
|
+
departureFlightNumber: 'departure_flight_number',
|
|
4397
|
+
returnFlightNumber: 'return_flight_number',
|
|
4398
|
+
};
|
|
4399
|
+
}
|
|
4400
|
+
static types() {
|
|
4401
|
+
return {
|
|
4402
|
+
departureFlightNumber: 'string',
|
|
4403
|
+
returnFlightNumber: 'string',
|
|
4404
|
+
};
|
|
4405
|
+
}
|
|
4406
|
+
constructor(map) {
|
|
4407
|
+
super(map);
|
|
4408
|
+
}
|
|
4409
|
+
}
|
|
4410
|
+
exports.CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo = CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo;
|
|
4411
|
+
class CollectFlightLowestPriceRequestLowestPriceFlightList extends $tea.Model {
|
|
4412
|
+
static names() {
|
|
4413
|
+
return {
|
|
4414
|
+
arrivalCity: 'arrival_city',
|
|
4415
|
+
departureCity: 'departure_city',
|
|
4416
|
+
departureDate: 'departure_date',
|
|
4417
|
+
flightNumberInfo: 'flight_number_info',
|
|
4418
|
+
marketTotalPrice: 'market_total_price',
|
|
4419
|
+
requestId: 'request_id',
|
|
4420
|
+
returnDate: 'return_date',
|
|
4421
|
+
suezTotalPrice: 'suez_total_price',
|
|
4422
|
+
tripType: 'trip_type',
|
|
4423
|
+
};
|
|
4424
|
+
}
|
|
4425
|
+
static types() {
|
|
4426
|
+
return {
|
|
4427
|
+
arrivalCity: 'string',
|
|
4428
|
+
departureCity: 'string',
|
|
4429
|
+
departureDate: 'string',
|
|
4430
|
+
flightNumberInfo: CollectFlightLowestPriceRequestLowestPriceFlightListFlightNumberInfo,
|
|
4431
|
+
marketTotalPrice: 'number',
|
|
4432
|
+
requestId: 'string',
|
|
4433
|
+
returnDate: 'string',
|
|
4434
|
+
suezTotalPrice: 'number',
|
|
4435
|
+
tripType: 'number',
|
|
4436
|
+
};
|
|
4437
|
+
}
|
|
4438
|
+
constructor(map) {
|
|
4439
|
+
super(map);
|
|
4440
|
+
}
|
|
4441
|
+
}
|
|
4442
|
+
exports.CollectFlightLowestPriceRequestLowestPriceFlightList = CollectFlightLowestPriceRequestLowestPriceFlightList;
|
|
4293
4443
|
class EnrichRequestJourneyParamListSegmentParamList extends $tea.Model {
|
|
4294
4444
|
static names() {
|
|
4295
4445
|
return {
|
|
@@ -6975,6 +7125,63 @@ class Client extends openapi_client_1.default {
|
|
|
6975
7125
|
let headers = new ChangeDetailListOfOrderNumHeaders({});
|
|
6976
7126
|
return await this.changeDetailListOfOrderNumWithOptions(request, headers, runtime);
|
|
6977
7127
|
}
|
|
7128
|
+
/**
|
|
7129
|
+
* 数据收集-低价航班信息
|
|
7130
|
+
*
|
|
7131
|
+
* @param tmpReq - CollectFlightLowestPriceRequest
|
|
7132
|
+
* @param headers - CollectFlightLowestPriceHeaders
|
|
7133
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7134
|
+
* @returns CollectFlightLowestPriceResponse
|
|
7135
|
+
*/
|
|
7136
|
+
async collectFlightLowestPriceWithOptions(tmpReq, headers, runtime) {
|
|
7137
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
7138
|
+
let request = new CollectFlightLowestPriceShrinkRequest({});
|
|
7139
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
7140
|
+
if (!tea_util_1.default.isUnset(tmpReq.lowestPriceFlightList)) {
|
|
7141
|
+
request.lowestPriceFlightListShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.lowestPriceFlightList, "lowestPriceFlightList", "json");
|
|
7142
|
+
}
|
|
7143
|
+
let body = {};
|
|
7144
|
+
if (!tea_util_1.default.isUnset(request.lowestPriceFlightListShrink)) {
|
|
7145
|
+
body["lowestPriceFlightList"] = request.lowestPriceFlightListShrink;
|
|
7146
|
+
}
|
|
7147
|
+
let realHeaders = {};
|
|
7148
|
+
if (!tea_util_1.default.isUnset(headers.commonHeaders)) {
|
|
7149
|
+
realHeaders = headers.commonHeaders;
|
|
7150
|
+
}
|
|
7151
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAirticketAccessToken)) {
|
|
7152
|
+
realHeaders["x-acs-airticket-access-token"] = tea_util_1.default.toJSONString(headers.xAcsAirticketAccessToken);
|
|
7153
|
+
}
|
|
7154
|
+
if (!tea_util_1.default.isUnset(headers.xAcsAirticketLanguage)) {
|
|
7155
|
+
realHeaders["x-acs-airticket-language"] = tea_util_1.default.toJSONString(headers.xAcsAirticketLanguage);
|
|
7156
|
+
}
|
|
7157
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7158
|
+
headers: realHeaders,
|
|
7159
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
7160
|
+
});
|
|
7161
|
+
let params = new $OpenApi.Params({
|
|
7162
|
+
action: "CollectFlightLowestPrice",
|
|
7163
|
+
version: "2023-01-17",
|
|
7164
|
+
protocol: "HTTPS",
|
|
7165
|
+
pathname: `/airticket/v1/data-collect/flight-lowest-price`,
|
|
7166
|
+
method: "POST",
|
|
7167
|
+
authType: "AK",
|
|
7168
|
+
style: "ROA",
|
|
7169
|
+
reqBodyType: "formData",
|
|
7170
|
+
bodyType: "json",
|
|
7171
|
+
});
|
|
7172
|
+
return $tea.cast(await this.callApi(params, req, runtime), new CollectFlightLowestPriceResponse({}));
|
|
7173
|
+
}
|
|
7174
|
+
/**
|
|
7175
|
+
* 数据收集-低价航班信息
|
|
7176
|
+
*
|
|
7177
|
+
* @param request - CollectFlightLowestPriceRequest
|
|
7178
|
+
* @returns CollectFlightLowestPriceResponse
|
|
7179
|
+
*/
|
|
7180
|
+
async collectFlightLowestPrice(request) {
|
|
7181
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
7182
|
+
let headers = new CollectFlightLowestPriceHeaders({});
|
|
7183
|
+
return await this.collectFlightLowestPriceWithOptions(request, headers, runtime);
|
|
7184
|
+
}
|
|
6978
7185
|
/**
|
|
6979
7186
|
* Search-Enrich
|
|
6980
7187
|
*
|