@xmobitea/gn-typescript-client 2.0.12 → 2.1.2
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/gn.js.client.js +14103 -1835
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.js +6204 -603
- package/dist/runtime/GNNetwork.d.ts +8 -0
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +20 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +147 -0
- package/dist/runtime/GNNetworkCloudScriptApi.d.ts +42 -0
- package/dist/runtime/GNNetworkContentApi.d.ts +21 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +18 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +144 -0
- package/dist/runtime/GNNetworkGroupApi.d.ts +111 -0
- package/dist/runtime/GNNetworkInventoryApi.d.ts +96 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +244 -0
- package/dist/runtime/GNNetworkMultiplayerApi.d.ts +24 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +27 -0
- package/dist/runtime/constant/OperationCode.d.ts +13 -0
- package/dist/runtime/constant/enumType/RequestType.d.ts +2 -1
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +38 -0
- package/dist/runtime/entity/DataMember.d.ts +1 -1
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +15 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +14 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +6 -0
- package/dist/runtime/entity/models/CloudScriptModels.d.ts +71 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.d.ts +81 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.d.ts +19 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +30 -3
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +94 -5
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +90 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +18 -0
- package/package.json +1 -1
- package/webpack.config.min.udm.js +3 -0
|
@@ -6,31 +6,55 @@ export declare class MultiplayerApi {
|
|
|
6
6
|
server: ServerMultiplayerApi;
|
|
7
7
|
admin: AdminMultiplayerApi;
|
|
8
8
|
cancelAllMatchmakingTicket(requestData: MultiplayerModels.CancelAllMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
9
|
+
cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.CancelAllMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>;
|
|
9
10
|
cancelMatchmakingTicket(requestData: MultiplayerModels.CancelMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
11
|
+
cancelMatchmakingTicketAsync(requestData: MultiplayerModels.CancelMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>;
|
|
10
12
|
createMatchmakingTicket(requestData: MultiplayerModels.CreateMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
13
|
+
createMatchmakingTicketAsync(requestData: MultiplayerModels.CreateMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>;
|
|
11
14
|
getMatchmakingTicket(requestData: MultiplayerModels.GetMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
15
|
+
getMatchmakingTicketAsync(requestData: MultiplayerModels.GetMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>;
|
|
12
16
|
getMatch(requestData: MultiplayerModels.GetMatchRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
17
|
+
getMatchAsync(requestData: MultiplayerModels.GetMatchRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchOperationResponse>;
|
|
13
18
|
getQueueStatistics(requestData: MultiplayerModels.GetQueueStatisticsRequestData, onResponse?: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
19
|
+
getQueueStatisticsAsync(requestData: MultiplayerModels.GetQueueStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>;
|
|
14
20
|
joinMatchmakingTicket(requestData: MultiplayerModels.JoinMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
21
|
+
joinMatchmakingTicketAsync(requestData: MultiplayerModels.JoinMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>;
|
|
15
22
|
listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData, onResponse?: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
23
|
+
listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>;
|
|
16
24
|
}
|
|
17
25
|
export declare class ServerMultiplayerApi {
|
|
18
26
|
cancelAllMatchmakingTicket(requestData: MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
27
|
+
cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>;
|
|
19
28
|
cancelMatchmakingTicket(requestData: MultiplayerModels.ServerCancelMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
29
|
+
cancelMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCancelMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>;
|
|
20
30
|
createMatchmakingTicket(requestData: MultiplayerModels.ServerCreateMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
31
|
+
createMatchmakingTicketAsync(requestData: MultiplayerModels.ServerCreateMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>;
|
|
21
32
|
getMatchmakingTicket(requestData: MultiplayerModels.ServerGetMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
33
|
+
getMatchmakingTicketAsync(requestData: MultiplayerModels.ServerGetMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>;
|
|
22
34
|
getMatch(requestData: MultiplayerModels.ServerGetMatchRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
35
|
+
getMatchAsync(requestData: MultiplayerModels.ServerGetMatchRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchOperationResponse>;
|
|
23
36
|
getQueueStatistics(requestData: MultiplayerModels.ServerGetQueueStatisticsRequestData, onResponse?: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
37
|
+
getQueueStatisticsAsync(requestData: MultiplayerModels.ServerGetQueueStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>;
|
|
24
38
|
joinMatchmakingTicket(requestData: MultiplayerModels.ServerJoinMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
39
|
+
joinMatchmakingTicketAsync(requestData: MultiplayerModels.ServerJoinMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>;
|
|
25
40
|
listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData, onResponse?: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
41
|
+
listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>;
|
|
26
42
|
}
|
|
27
43
|
export declare class AdminMultiplayerApi {
|
|
28
44
|
cancelAllMatchmakingTicket(requestData: MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
45
|
+
cancelAllMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>;
|
|
29
46
|
cancelMatchmakingTicket(requestData: MultiplayerModels.AdminCancelMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
47
|
+
cancelMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCancelMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>;
|
|
30
48
|
createMatchmakingTicket(requestData: MultiplayerModels.AdminCreateMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
49
|
+
createMatchmakingTicketAsync(requestData: MultiplayerModels.AdminCreateMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>;
|
|
31
50
|
getMatchmakingTicket(requestData: MultiplayerModels.AdminGetMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
51
|
+
getMatchmakingTicketAsync(requestData: MultiplayerModels.AdminGetMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>;
|
|
32
52
|
getMatch(requestData: MultiplayerModels.AdminGetMatchRequestData, onResponse?: Action1<MultiplayerResponseModels.GetMatchOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
53
|
+
getMatchAsync(requestData: MultiplayerModels.AdminGetMatchRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetMatchOperationResponse>;
|
|
33
54
|
getQueueStatistics(requestData: MultiplayerModels.AdminGetQueueStatisticsRequestData, onResponse?: Action1<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
55
|
+
getQueueStatisticsAsync(requestData: MultiplayerModels.AdminGetQueueStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.GetQueueStatisticsOperationResponse>;
|
|
34
56
|
joinMatchmakingTicket(requestData: MultiplayerModels.AdminJoinMatchmakingTicketRequestData, onResponse?: Action1<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
57
|
+
joinMatchmakingTicketAsync(requestData: MultiplayerModels.AdminJoinMatchmakingTicketRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>;
|
|
35
58
|
listMatchmakingTicketsForPlayer(requestData: MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData, onResponse?: Action1<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
59
|
+
listMatchmakingTicketsForPlayerAsync(requestData: MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>;
|
|
36
60
|
}
|
|
@@ -6,34 +6,61 @@ export declare class StoreInventoryApi {
|
|
|
6
6
|
server: ServerStoreInventoryApi;
|
|
7
7
|
admin: AdminStoreInventoryApi;
|
|
8
8
|
buyStoreItem(requestData: StoreInventoryModels.BuyStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
9
|
+
buyStoreItemAsync(requestData: StoreInventoryModels.BuyStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.BuyStoreItemOperationResponse>;
|
|
9
10
|
getStoreItemInformation(requestData: StoreInventoryModels.GetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
11
|
+
getStoreItemInformationAsync(requestData: StoreInventoryModels.GetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>;
|
|
10
12
|
getStoreItemsWithTag(requestData: StoreInventoryModels.GetStoreItemsWithTagRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
13
|
+
getStoreItemsWithTagAsync(requestData: StoreInventoryModels.GetStoreItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>;
|
|
11
14
|
grantStoreItem(requestData: StoreInventoryModels.GrantStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.GrantStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
15
|
+
grantStoreItemAsync(requestData: StoreInventoryModels.GrantStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GrantStoreItemOperationResponse>;
|
|
12
16
|
setRemoveStatus(requestData: StoreInventoryModels.SetRemoveStatusRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
17
|
+
setRemoveStatusAsync(requestData: StoreInventoryModels.SetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>;
|
|
13
18
|
setStoreItemInformation(requestData: StoreInventoryModels.SetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
19
|
+
setStoreItemInformationAsync(requestData: StoreInventoryModels.SetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>;
|
|
14
20
|
validateAppleAppStoreReceipt(requestData: StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
21
|
+
validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>;
|
|
15
22
|
validateFacebookStoreReceipt(requestData: StoreInventoryModels.ValidateFacebookStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
23
|
+
validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.ValidateFacebookStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>;
|
|
16
24
|
validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
25
|
+
validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>;
|
|
17
26
|
}
|
|
18
27
|
export declare class ServerStoreInventoryApi {
|
|
19
28
|
buyStoreItem(requestData: StoreInventoryModels.ServerBuyStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
29
|
+
buyStoreItemAsync(requestData: StoreInventoryModels.ServerBuyStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.BuyStoreItemOperationResponse>;
|
|
20
30
|
getStoreItemInformation(requestData: StoreInventoryModels.ServerGetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
31
|
+
getStoreItemInformationAsync(requestData: StoreInventoryModels.ServerGetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>;
|
|
21
32
|
getStoreItemsWithTag(requestData: StoreInventoryModels.ServerGetStoreItemsWithTagRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
33
|
+
getStoreItemsWithTagAsync(requestData: StoreInventoryModels.ServerGetStoreItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>;
|
|
22
34
|
grantStoreItem(requestData: StoreInventoryModels.ServerGrantStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.GrantStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
35
|
+
grantStoreItemAsync(requestData: StoreInventoryModels.ServerGrantStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GrantStoreItemOperationResponse>;
|
|
23
36
|
setRemoveStatus(requestData: StoreInventoryModels.ServerSetRemoveStatusRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
37
|
+
setRemoveStatusAsync(requestData: StoreInventoryModels.ServerSetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>;
|
|
24
38
|
setStoreItemInformation(requestData: StoreInventoryModels.ServerSetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
39
|
+
setStoreItemInformationAsync(requestData: StoreInventoryModels.ServerSetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>;
|
|
25
40
|
validateAppleAppStoreReceipt(requestData: StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
41
|
+
validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>;
|
|
26
42
|
validateFacebookStoreReceipt(requestData: StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
43
|
+
validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>;
|
|
27
44
|
validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
45
|
+
validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>;
|
|
28
46
|
}
|
|
29
47
|
export declare class AdminStoreInventoryApi {
|
|
30
48
|
buyStoreItem(requestData: StoreInventoryModels.AdminBuyStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.BuyStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
49
|
+
buyStoreItemAsync(requestData: StoreInventoryModels.AdminBuyStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.BuyStoreItemOperationResponse>;
|
|
31
50
|
getStoreItemInformation(requestData: StoreInventoryModels.AdminGetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
51
|
+
getStoreItemInformationAsync(requestData: StoreInventoryModels.AdminGetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>;
|
|
32
52
|
getStoreItemsWithTag(requestData: StoreInventoryModels.AdminGetStoreItemsWithTagRequestData, onResponse?: Action1<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
53
|
+
getStoreItemsWithTagAsync(requestData: StoreInventoryModels.AdminGetStoreItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>;
|
|
33
54
|
grantStoreItem(requestData: StoreInventoryModels.AdminGrantStoreItemRequestData, onResponse?: Action1<StoreInventoryResponseModels.GrantStoreItemOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
55
|
+
grantStoreItemAsync(requestData: StoreInventoryModels.AdminGrantStoreItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.GrantStoreItemOperationResponse>;
|
|
34
56
|
setRemoveStatus(requestData: StoreInventoryModels.AdminSetRemoveStatusRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
57
|
+
setRemoveStatusAsync(requestData: StoreInventoryModels.AdminSetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetRemoveStatusOperationResponse>;
|
|
35
58
|
setStoreItemInformation(requestData: StoreInventoryModels.AdminSetStoreItemInformationRequestData, onResponse?: Action1<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
59
|
+
setStoreItemInformationAsync(requestData: StoreInventoryModels.AdminSetStoreItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>;
|
|
36
60
|
validateAppleAppStoreReceipt(requestData: StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
61
|
+
validateAppleAppStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>;
|
|
37
62
|
validateFacebookStoreReceipt(requestData: StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
63
|
+
validateFacebookStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>;
|
|
38
64
|
validateGooglePlayStoreReceipt(requestData: StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData, onResponse?: Action1<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
|
|
65
|
+
validateGooglePlayStoreReceiptAsync(requestData: StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>;
|
|
39
66
|
}
|
|
@@ -181,4 +181,17 @@ export declare class OperationCode {
|
|
|
181
181
|
static readonly JoinMatchmakingTicket: number;
|
|
182
182
|
static readonly ListMatchmakingTicketsForPlayer: number;
|
|
183
183
|
static readonly GetCurrencyLeaderboard: number;
|
|
184
|
+
static readonly ExecuteFunction: number;
|
|
185
|
+
static readonly GetFunctions: number;
|
|
186
|
+
static readonly AddFunction: number;
|
|
187
|
+
static readonly EditFunction: number;
|
|
188
|
+
static readonly GetFunction: number;
|
|
189
|
+
static readonly LoginByGooglePlayGameService: number;
|
|
190
|
+
static readonly LoginByGameCenter: number;
|
|
191
|
+
static readonly LinkGooglePlayGameService: number;
|
|
192
|
+
static readonly LinkGameCenter: number;
|
|
193
|
+
static readonly UnlinkGooglePlayGameService: number;
|
|
194
|
+
static readonly UnlinkGameCenter: number;
|
|
195
|
+
static readonly GetPlayersWithGooglePlayGameService: number;
|
|
196
|
+
static readonly GetPlayersWithGameCenter: number;
|
|
184
197
|
}
|
|
@@ -427,4 +427,42 @@ export declare class GNParameterCode {
|
|
|
427
427
|
static readonly GetQueueStatistics: string;
|
|
428
428
|
static readonly JoinMatchmakingTicket: string;
|
|
429
429
|
static readonly ListMatchmakingTicketsForPlayer: string;
|
|
430
|
+
static readonly FunctionName: string;
|
|
431
|
+
static readonly FunctionParameter: string;
|
|
432
|
+
static readonly Version: string;
|
|
433
|
+
static readonly FunctionResult: string;
|
|
434
|
+
static readonly ExecutionTimeInMs: string;
|
|
435
|
+
static readonly MemoryUsedInBytes: string;
|
|
436
|
+
static readonly FunctionLogs: string;
|
|
437
|
+
static readonly CanExecute: string;
|
|
438
|
+
static readonly Script: string;
|
|
439
|
+
static readonly IsLive: string;
|
|
440
|
+
static readonly AddFunction: string;
|
|
441
|
+
static readonly GetFunctions: string;
|
|
442
|
+
static readonly EditFunction: string;
|
|
443
|
+
static readonly ExecuteFunction: string;
|
|
444
|
+
static readonly GetFunction: string;
|
|
445
|
+
static readonly CloudScript: string;
|
|
446
|
+
static readonly LoginByGooglePlayGameService: string;
|
|
447
|
+
static readonly LoginByGameCenter: string;
|
|
448
|
+
static readonly UnlinkGooglePlayGameService: string;
|
|
449
|
+
static readonly UnlinkGameCenter: string;
|
|
450
|
+
static readonly LinkGooglePlayGameService: string;
|
|
451
|
+
static readonly LinkGameCenter: string;
|
|
452
|
+
static readonly GooglePlayGameSettings: string;
|
|
453
|
+
static readonly GameCenterSettings: string;
|
|
454
|
+
static readonly ApplicationId: string;
|
|
455
|
+
static readonly ClientId: string;
|
|
456
|
+
static readonly ClientSecret: string;
|
|
457
|
+
static readonly RedirectUri: string;
|
|
458
|
+
static readonly PlayerId: string;
|
|
459
|
+
static readonly PublicKeyUrl: string;
|
|
460
|
+
static readonly Signature: string;
|
|
461
|
+
static readonly Salt: string;
|
|
462
|
+
static readonly Timestamp: string;
|
|
463
|
+
static readonly GooglePlayGameService: string;
|
|
464
|
+
static readonly GameCenter: string;
|
|
465
|
+
static readonly PlayerIds: string;
|
|
466
|
+
static readonly GetPlayersWithGooglePlayGameService: string;
|
|
467
|
+
static readonly GetPlayersWithGameCenter: string;
|
|
430
468
|
}
|
|
@@ -3,7 +3,7 @@ import { GNArray, GNHashtable } from "./../common/GNData";
|
|
|
3
3
|
import { AbstractConstructor, Constructor, GNObjectFieldMetadata, GNObjectMetadata } from "./GNMetadata";
|
|
4
4
|
export declare const initGNObjectMetadata: <T extends GNObjectMetadata>(prototype: any) => T;
|
|
5
5
|
export declare const initGNObjectFieldMetadata: <T extends GNObjectFieldMetadata>(prototype: any, propertyKey: string) => T;
|
|
6
|
-
export declare const getGNObjectMetadata: <T extends GNObjectMetadata>(obj: AbstractConstructor<any>) => T;
|
|
6
|
+
export declare const getGNObjectMetadata: <T extends GNObjectMetadata>(obj: AbstractConstructor<any>) => T | undefined;
|
|
7
7
|
export declare const setGNObjectMetadata: <T extends GNObjectMetadata>(obj: AbstractConstructor<any>, metadata: T) => void;
|
|
8
8
|
export declare const getTableName: (model: Constructor<any>) => string;
|
|
9
9
|
export interface GNEnhancedObjectFieldMetadata extends GNObjectFieldMetadata {
|
|
@@ -71,6 +71,21 @@ export declare namespace AuthenticateModels {
|
|
|
71
71
|
createPlayerIfNotExists?: boolean;
|
|
72
72
|
infoRequestParam: InfoRequestParam;
|
|
73
73
|
}
|
|
74
|
+
class LoginByGooglePlayGameServiceRequestData {
|
|
75
|
+
token: string;
|
|
76
|
+
createPlayerIfNotExists?: boolean;
|
|
77
|
+
infoRequestParam: InfoRequestParam;
|
|
78
|
+
}
|
|
79
|
+
class LoginByGameCenterRequestData {
|
|
80
|
+
playerId: string;
|
|
81
|
+
name: string;
|
|
82
|
+
publicKeyUrl: string;
|
|
83
|
+
signature: string;
|
|
84
|
+
salt: string;
|
|
85
|
+
timestamp: number;
|
|
86
|
+
createPlayerIfNotExists?: boolean;
|
|
87
|
+
infoRequestParam: InfoRequestParam;
|
|
88
|
+
}
|
|
74
89
|
class LoginByiOSDeviceIdRequestData {
|
|
75
90
|
iOSDeviceId: string;
|
|
76
91
|
createPlayerIfNotExists?: boolean;
|
|
@@ -66,6 +66,20 @@ export declare namespace AuthenticateRequestModels {
|
|
|
66
66
|
protected requestRole: RequestRole;
|
|
67
67
|
constructor(requestData: AuthenticateModels.LoginByGoogleRequestData, timeout: number);
|
|
68
68
|
}
|
|
69
|
+
class LoginByGooglePlayGameServiceOperationRequest extends CustomOperationRequestAbstract<AuthenticateModels.LoginByGooglePlayGameServiceRequestData> {
|
|
70
|
+
protected operationCode: number;
|
|
71
|
+
protected operationEncrypted: boolean;
|
|
72
|
+
protected requestType: RequestType;
|
|
73
|
+
protected requestRole: RequestRole;
|
|
74
|
+
constructor(requestData: AuthenticateModels.LoginByGooglePlayGameServiceRequestData, timeout: number);
|
|
75
|
+
}
|
|
76
|
+
class LoginByGameCenterOperationRequest extends CustomOperationRequestAbstract<AuthenticateModels.LoginByGameCenterRequestData> {
|
|
77
|
+
protected operationCode: number;
|
|
78
|
+
protected operationEncrypted: boolean;
|
|
79
|
+
protected requestType: RequestType;
|
|
80
|
+
protected requestRole: RequestRole;
|
|
81
|
+
constructor(requestData: AuthenticateModels.LoginByGameCenterRequestData, timeout: number);
|
|
82
|
+
}
|
|
69
83
|
class LoginByiOSDeviceIdOperationRequest extends CustomOperationRequestAbstract<AuthenticateModels.LoginByiOSDeviceIdRequestData> {
|
|
70
84
|
protected operationCode: number;
|
|
71
85
|
protected operationEncrypted: boolean;
|
|
@@ -28,6 +28,12 @@ export declare namespace AuthenticateResponseModels {
|
|
|
28
28
|
class LoginByGoogleOperationResponse extends CustomOperationResponseAbstract<AuthenticateModels.AuthenticateResponseData> {
|
|
29
29
|
constructor();
|
|
30
30
|
}
|
|
31
|
+
class LoginByGooglePlayGameServiceOperationResponse extends CustomOperationResponseAbstract<AuthenticateModels.AuthenticateResponseData> {
|
|
32
|
+
constructor();
|
|
33
|
+
}
|
|
34
|
+
class LoginByGameCenterOperationResponse extends CustomOperationResponseAbstract<AuthenticateModels.AuthenticateResponseData> {
|
|
35
|
+
constructor();
|
|
36
|
+
}
|
|
31
37
|
class LoginByiOSDeviceIdOperationResponse extends CustomOperationResponseAbstract<AuthenticateModels.AuthenticateResponseData> {
|
|
32
38
|
constructor();
|
|
33
39
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export declare namespace CloudScriptModels {
|
|
2
|
+
class AddFunctionRequestData {
|
|
3
|
+
script: string;
|
|
4
|
+
canExecute: boolean;
|
|
5
|
+
isLive: boolean;
|
|
6
|
+
}
|
|
7
|
+
class ServerAddFunctionRequestData extends AddFunctionRequestData {
|
|
8
|
+
}
|
|
9
|
+
class AdminAddFunctionRequestData extends ServerAddFunctionRequestData {
|
|
10
|
+
}
|
|
11
|
+
class EditFunctionRequestData {
|
|
12
|
+
version: string;
|
|
13
|
+
canExecute: boolean;
|
|
14
|
+
isLive: boolean;
|
|
15
|
+
}
|
|
16
|
+
class ServerEditFunctionRequestData extends EditFunctionRequestData {
|
|
17
|
+
}
|
|
18
|
+
class AdminEditFunctionRequestData extends ServerEditFunctionRequestData {
|
|
19
|
+
}
|
|
20
|
+
class ExecuteFunctionRequestData {
|
|
21
|
+
userId?: string;
|
|
22
|
+
functionName: string;
|
|
23
|
+
functionParameter?: object;
|
|
24
|
+
version: string;
|
|
25
|
+
}
|
|
26
|
+
class ServerExecuteFunctionRequestData extends ExecuteFunctionRequestData {
|
|
27
|
+
userId: string;
|
|
28
|
+
}
|
|
29
|
+
class AdminExecuteFunctionRequestData extends ServerExecuteFunctionRequestData {
|
|
30
|
+
}
|
|
31
|
+
class GetFunctionRequestData {
|
|
32
|
+
version: string;
|
|
33
|
+
}
|
|
34
|
+
class ServerGetFunctionRequestData extends GetFunctionRequestData {
|
|
35
|
+
}
|
|
36
|
+
class AdminGetFunctionRequestData extends ServerGetFunctionRequestData {
|
|
37
|
+
}
|
|
38
|
+
class GetFunctionsRequestData {
|
|
39
|
+
}
|
|
40
|
+
class ServerGetFunctionsRequestData extends GetFunctionsRequestData {
|
|
41
|
+
}
|
|
42
|
+
class AdminGetFunctionsRequestData extends ServerGetFunctionsRequestData {
|
|
43
|
+
}
|
|
44
|
+
class AddFunctionResponseData {
|
|
45
|
+
version: string;
|
|
46
|
+
errorMessage: string;
|
|
47
|
+
}
|
|
48
|
+
class EditFunctionResponseData {
|
|
49
|
+
errorMessage: string;
|
|
50
|
+
}
|
|
51
|
+
class ExecuteFunctionResponseData {
|
|
52
|
+
status: number;
|
|
53
|
+
executionTimeInMs: number;
|
|
54
|
+
memoryUsedInBytes: number;
|
|
55
|
+
functionResult: object;
|
|
56
|
+
errorMessage: string;
|
|
57
|
+
}
|
|
58
|
+
class GetFunctionResponseData {
|
|
59
|
+
script: string;
|
|
60
|
+
canExecute: boolean;
|
|
61
|
+
isLive: boolean;
|
|
62
|
+
tsCreate: number;
|
|
63
|
+
}
|
|
64
|
+
class FunctionResponseData {
|
|
65
|
+
version: string;
|
|
66
|
+
canExecute: boolean;
|
|
67
|
+
}
|
|
68
|
+
class GetFunctionsResponseData {
|
|
69
|
+
results: Array<FunctionResponseData>;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { RequestRole } from "./../../constant/enumType/RequestRole";
|
|
2
|
+
import { RequestType } from "./../../constant/enumType/RequestType";
|
|
3
|
+
import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
|
|
4
|
+
import { CloudScriptModels } from "./CloudScriptModels";
|
|
5
|
+
export declare namespace CloudScriptRequestModels {
|
|
6
|
+
class AddFunctionOperationRequest extends CustomOperationRequestAbstract<CloudScriptModels.AddFunctionRequestData> {
|
|
7
|
+
protected operationCode: number;
|
|
8
|
+
protected operationEncrypted: boolean;
|
|
9
|
+
protected requestType: RequestType;
|
|
10
|
+
protected requestRole: RequestRole;
|
|
11
|
+
constructor(requestData: CloudScriptModels.AddFunctionRequestData, timeout: number);
|
|
12
|
+
}
|
|
13
|
+
class ServerAddFunctionOperationRequest extends AddFunctionOperationRequest {
|
|
14
|
+
protected requestRole: RequestRole;
|
|
15
|
+
constructor(requestData: CloudScriptModels.ServerAddFunctionRequestData, timeout: number);
|
|
16
|
+
}
|
|
17
|
+
class AdminAddFunctionOperationRequest extends AddFunctionOperationRequest {
|
|
18
|
+
protected requestRole: RequestRole;
|
|
19
|
+
constructor(requestData: CloudScriptModels.AdminAddFunctionRequestData, timeout: number);
|
|
20
|
+
}
|
|
21
|
+
class EditFunctionOperationRequest extends CustomOperationRequestAbstract<CloudScriptModels.EditFunctionRequestData> {
|
|
22
|
+
protected operationCode: number;
|
|
23
|
+
protected operationEncrypted: boolean;
|
|
24
|
+
protected requestType: RequestType;
|
|
25
|
+
protected requestRole: RequestRole;
|
|
26
|
+
constructor(requestData: CloudScriptModels.EditFunctionRequestData, timeout: number);
|
|
27
|
+
}
|
|
28
|
+
class ServerEditFunctionOperationRequest extends EditFunctionOperationRequest {
|
|
29
|
+
protected requestRole: RequestRole;
|
|
30
|
+
constructor(requestData: CloudScriptModels.ServerEditFunctionRequestData, timeout: number);
|
|
31
|
+
}
|
|
32
|
+
class AdminEditFunctionOperationRequest extends EditFunctionOperationRequest {
|
|
33
|
+
protected requestRole: RequestRole;
|
|
34
|
+
constructor(requestData: CloudScriptModels.AdminEditFunctionRequestData, timeout: number);
|
|
35
|
+
}
|
|
36
|
+
class ExecuteFunctionOperationRequest extends CustomOperationRequestAbstract<CloudScriptModels.ExecuteFunctionRequestData> {
|
|
37
|
+
protected operationCode: number;
|
|
38
|
+
protected operationEncrypted: boolean;
|
|
39
|
+
protected requestType: RequestType;
|
|
40
|
+
protected requestRole: RequestRole;
|
|
41
|
+
constructor(requestData: CloudScriptModels.ExecuteFunctionRequestData, timeout: number);
|
|
42
|
+
}
|
|
43
|
+
class ServerExecuteFunctionOperationRequest extends ExecuteFunctionOperationRequest {
|
|
44
|
+
protected requestRole: RequestRole;
|
|
45
|
+
constructor(requestData: CloudScriptModels.ServerExecuteFunctionRequestData, timeout: number);
|
|
46
|
+
}
|
|
47
|
+
class AdminExecuteFunctionOperationRequest extends ExecuteFunctionOperationRequest {
|
|
48
|
+
protected requestRole: RequestRole;
|
|
49
|
+
constructor(requestData: CloudScriptModels.AdminExecuteFunctionRequestData, timeout: number);
|
|
50
|
+
}
|
|
51
|
+
class GetFunctionOperationRequest extends CustomOperationRequestAbstract<CloudScriptModels.GetFunctionRequestData> {
|
|
52
|
+
protected operationCode: number;
|
|
53
|
+
protected operationEncrypted: boolean;
|
|
54
|
+
protected requestType: RequestType;
|
|
55
|
+
protected requestRole: RequestRole;
|
|
56
|
+
constructor(requestData: CloudScriptModels.GetFunctionRequestData, timeout: number);
|
|
57
|
+
}
|
|
58
|
+
class ServerGetFunctionOperationRequest extends GetFunctionOperationRequest {
|
|
59
|
+
protected requestRole: RequestRole;
|
|
60
|
+
constructor(requestData: CloudScriptModels.ServerGetFunctionRequestData, timeout: number);
|
|
61
|
+
}
|
|
62
|
+
class AdminGetFunctionOperationRequest extends GetFunctionOperationRequest {
|
|
63
|
+
protected requestRole: RequestRole;
|
|
64
|
+
constructor(requestData: CloudScriptModels.AdminGetFunctionRequestData, timeout: number);
|
|
65
|
+
}
|
|
66
|
+
class GetFunctionsOperationRequest extends CustomOperationRequestAbstract<CloudScriptModels.GetFunctionsRequestData> {
|
|
67
|
+
protected operationCode: number;
|
|
68
|
+
protected operationEncrypted: boolean;
|
|
69
|
+
protected requestType: RequestType;
|
|
70
|
+
protected requestRole: RequestRole;
|
|
71
|
+
constructor(requestData: CloudScriptModels.GetFunctionsRequestData, timeout: number);
|
|
72
|
+
}
|
|
73
|
+
class ServerGetFunctionsOperationRequest extends GetFunctionsOperationRequest {
|
|
74
|
+
protected requestRole: RequestRole;
|
|
75
|
+
constructor(requestData: CloudScriptModels.ServerGetFunctionsRequestData, timeout: number);
|
|
76
|
+
}
|
|
77
|
+
class AdminGetFunctionsOperationRequest extends GetFunctionsOperationRequest {
|
|
78
|
+
protected requestRole: RequestRole;
|
|
79
|
+
constructor(requestData: CloudScriptModels.AdminGetFunctionsRequestData, timeout: number);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
|
+
import { CloudScriptModels } from "./CloudScriptModels";
|
|
3
|
+
export declare namespace CloudScriptResponseModels {
|
|
4
|
+
class AddFunctionOperationResponse extends CustomOperationResponseAbstract<CloudScriptModels.AddFunctionResponseData> {
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
7
|
+
class EditFunctionOperationResponse extends CustomOperationResponseAbstract<CloudScriptModels.EditFunctionResponseData> {
|
|
8
|
+
constructor();
|
|
9
|
+
}
|
|
10
|
+
class ExecuteFunctionOperationResponse extends CustomOperationResponseAbstract<CloudScriptModels.ExecuteFunctionResponseData> {
|
|
11
|
+
constructor();
|
|
12
|
+
}
|
|
13
|
+
class GetFunctionOperationResponse extends CustomOperationResponseAbstract<CloudScriptModels.GetFunctionResponseData> {
|
|
14
|
+
constructor();
|
|
15
|
+
}
|
|
16
|
+
class GetFunctionsOperationResponse extends CustomOperationResponseAbstract<CloudScriptModels.GetFunctionsResponseData> {
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -125,14 +125,25 @@ export declare namespace DashboardModels {
|
|
|
125
125
|
facebookInappSecret: string;
|
|
126
126
|
}
|
|
127
127
|
class ThirtPartyGoogleSettingsParam {
|
|
128
|
-
googleClientId
|
|
129
|
-
packageId
|
|
130
|
-
publicRSAKey
|
|
128
|
+
googleClientId: string;
|
|
129
|
+
packageId: string;
|
|
130
|
+
publicRSAKey: string;
|
|
131
|
+
}
|
|
132
|
+
class ThirtPartyGameCenterSettingsParam {
|
|
133
|
+
packageId: string;
|
|
134
|
+
}
|
|
135
|
+
class ThirtPartyGooglePlayGameSettingsParam {
|
|
136
|
+
redirectUri: string;
|
|
137
|
+
clientId: string;
|
|
138
|
+
clientSecret: string;
|
|
139
|
+
applicationId: string;
|
|
131
140
|
}
|
|
132
141
|
class ThirtPartyParam {
|
|
133
142
|
googleSettings?: ThirtPartyGoogleSettingsParam;
|
|
134
143
|
facebookSettings?: ThirtPartyFacebookSettingsParam;
|
|
135
144
|
appleSettings?: ThirtPartyAppleSettingsParam;
|
|
145
|
+
googlePlayGameSettings?: ThirtPartyGooglePlayGameSettingsParam;
|
|
146
|
+
gameCenterSettings?: ThirtPartyGameCenterSettingsParam;
|
|
136
147
|
}
|
|
137
148
|
class GamePlayerPermissionRulesParam {
|
|
138
149
|
addSegment?: PermissionRulesParam;
|
|
@@ -331,6 +342,8 @@ export declare namespace DashboardModels {
|
|
|
331
342
|
linkFacebook?: PermissionRulesParam;
|
|
332
343
|
linkGenericService?: PermissionRulesParam;
|
|
333
344
|
linkGoogle?: PermissionRulesParam;
|
|
345
|
+
linkGooglePlayGameService?: PermissionRulesParam;
|
|
346
|
+
linkGameCenter?: PermissionRulesParam;
|
|
334
347
|
linkiOSDeviceId?: PermissionRulesParam;
|
|
335
348
|
linkLinuxDeviceId?: PermissionRulesParam;
|
|
336
349
|
linkMacOSDeviceId?: PermissionRulesParam;
|
|
@@ -345,6 +358,8 @@ export declare namespace DashboardModels {
|
|
|
345
358
|
unlinkFacebook?: PermissionRulesParam;
|
|
346
359
|
unlinkGenericService?: PermissionRulesParam;
|
|
347
360
|
unlinkGoogle?: PermissionRulesParam;
|
|
361
|
+
unlinkGooglePlayGameService?: PermissionRulesParam;
|
|
362
|
+
unlinkGameCenter?: PermissionRulesParam;
|
|
348
363
|
unlinkiOSDeviceId?: PermissionRulesParam;
|
|
349
364
|
unlinkLinuxDeviceId?: PermissionRulesParam;
|
|
350
365
|
unlinkMacOSDeviceId?: PermissionRulesParam;
|
|
@@ -387,6 +402,8 @@ export declare namespace DashboardModels {
|
|
|
387
402
|
getPlayersWithGenericService?: PermissionRulesParam;
|
|
388
403
|
getPlayersWithSegment?: PermissionRulesParam;
|
|
389
404
|
getPlayersWithTag?: PermissionRulesParam;
|
|
405
|
+
getPlayersWithGooglePlayGameService?: PermissionRulesParam;
|
|
406
|
+
getPlayersWithGameCenter?: PermissionRulesParam;
|
|
390
407
|
getExternal?: PermissionRulesParam;
|
|
391
408
|
getPlayersWithDisplayName?: PermissionRulesParam;
|
|
392
409
|
getEmail?: PermissionRulesParam;
|
|
@@ -454,6 +471,8 @@ export declare namespace DashboardModels {
|
|
|
454
471
|
loginByFacebook?: PermissionRulesParam;
|
|
455
472
|
loginByGenericService?: PermissionRulesParam;
|
|
456
473
|
loginByGoogle?: PermissionRulesParam;
|
|
474
|
+
loginByGooglePlayGameService?: PermissionRulesParam;
|
|
475
|
+
loginByGameCenter?: PermissionRulesParam;
|
|
457
476
|
loginByiOSDeviceId?: PermissionRulesParam;
|
|
458
477
|
loginByWindowsPhoneDeviceId?: PermissionRulesParam;
|
|
459
478
|
registerAccount?: PermissionRulesParam;
|
|
@@ -474,6 +493,13 @@ export declare namespace DashboardModels {
|
|
|
474
493
|
validateGooglePlayStoreReceipt?: PermissionRulesParam;
|
|
475
494
|
validateFacebookStoreReceipt?: PermissionRulesParam;
|
|
476
495
|
}
|
|
496
|
+
class CloudScriptPermissionRulesParam {
|
|
497
|
+
executeFunction?: PermissionRulesParam;
|
|
498
|
+
addFunction?: PermissionRulesParam;
|
|
499
|
+
getFunctions?: PermissionRulesParam;
|
|
500
|
+
getFunction?: PermissionRulesParam;
|
|
501
|
+
editFunction?: PermissionRulesParam;
|
|
502
|
+
}
|
|
477
503
|
class PermissionParam {
|
|
478
504
|
authenticate?: AuthenticatePermissionRulesParam;
|
|
479
505
|
masterPlayer?: MasterPlayerPermissionRulesParam;
|
|
@@ -485,6 +511,7 @@ export declare namespace DashboardModels {
|
|
|
485
511
|
storeInventory?: StoreInventoryPermissionRulesParam;
|
|
486
512
|
masterAdmin?: MasterAdminPermissionRulesParam;
|
|
487
513
|
multiplayer?: MultiplayerPermissionRulesParam;
|
|
514
|
+
cloudScript?: CloudScriptPermissionRulesParam;
|
|
488
515
|
}
|
|
489
516
|
class ChangePasswordAdminAccountRequestData {
|
|
490
517
|
currentPassword: string;
|