@pushwoosh/rpc-gateway-journey-data 0.27.198 → 0.27.200
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/data.js +77 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +25 -0
package/data.js
CHANGED
|
@@ -365,6 +365,12 @@ export const data = {
|
|
|
365
365
|
"method": "get",
|
|
366
366
|
"path": "/api/application/{code}/line-preset"
|
|
367
367
|
},
|
|
368
|
+
"GetFbMessengerPresetsByAppCode": {
|
|
369
|
+
"request": "pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeRequest",
|
|
370
|
+
"response": "pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeResponse",
|
|
371
|
+
"method": "get",
|
|
372
|
+
"path": "/api/application/{code}/fb-messenger-preset"
|
|
373
|
+
},
|
|
368
374
|
"GetSmsPresetsByAppCode": {
|
|
369
375
|
"request": "pushwoosh.cj.journey.GetSmsPresetsByAppCodeRequest",
|
|
370
376
|
"response": "pushwoosh.cj.journey.GetSmsPresetsByAppCodeResponse",
|
|
@@ -3716,6 +3722,9 @@ export const data = {
|
|
|
3716
3722
|
},
|
|
3717
3723
|
"messageTag": {
|
|
3718
3724
|
"type": "string"
|
|
3725
|
+
},
|
|
3726
|
+
"presetCode": {
|
|
3727
|
+
"type": "string"
|
|
3719
3728
|
}
|
|
3720
3729
|
},
|
|
3721
3730
|
"oneofs": {}
|
|
@@ -7836,6 +7845,74 @@ export const data = {
|
|
|
7836
7845
|
},
|
|
7837
7846
|
"updated": {
|
|
7838
7847
|
"type": "Date"
|
|
7848
|
+
},
|
|
7849
|
+
"quickReplies": {
|
|
7850
|
+
"type": "pushwoosh.cj.journey.SmsPresetQuickReply",
|
|
7851
|
+
"array": true
|
|
7852
|
+
}
|
|
7853
|
+
}
|
|
7854
|
+
},
|
|
7855
|
+
"pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeRequest": {
|
|
7856
|
+
"type": "I",
|
|
7857
|
+
"fields": {
|
|
7858
|
+
"code": {
|
|
7859
|
+
"type": "string"
|
|
7860
|
+
},
|
|
7861
|
+
"orderBy": {
|
|
7862
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7863
|
+
},
|
|
7864
|
+
"orderDirection": {
|
|
7865
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7866
|
+
},
|
|
7867
|
+
"page": {
|
|
7868
|
+
"type": "number"
|
|
7869
|
+
},
|
|
7870
|
+
"perPage": {
|
|
7871
|
+
"type": "number"
|
|
7872
|
+
},
|
|
7873
|
+
"search": {
|
|
7874
|
+
"type": "string"
|
|
7875
|
+
}
|
|
7876
|
+
}
|
|
7877
|
+
},
|
|
7878
|
+
"pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeResponse": {
|
|
7879
|
+
"type": "I",
|
|
7880
|
+
"fields": {
|
|
7881
|
+
"payload": {
|
|
7882
|
+
"type": "pushwoosh.cj.journey.FbMessengerPresetsByAppCodePayload"
|
|
7883
|
+
}
|
|
7884
|
+
}
|
|
7885
|
+
},
|
|
7886
|
+
"pushwoosh.cj.journey.FbMessengerPresetsByAppCodePayload": {
|
|
7887
|
+
"type": "I",
|
|
7888
|
+
"fields": {
|
|
7889
|
+
"items": {
|
|
7890
|
+
"type": "pushwoosh.cj.journey.FbMessengerPresetByAppCodeItem",
|
|
7891
|
+
"array": true
|
|
7892
|
+
},
|
|
7893
|
+
"total": {
|
|
7894
|
+
"type": "number"
|
|
7895
|
+
}
|
|
7896
|
+
}
|
|
7897
|
+
},
|
|
7898
|
+
"pushwoosh.cj.journey.FbMessengerPresetByAppCodeItem": {
|
|
7899
|
+
"type": "I",
|
|
7900
|
+
"fields": {
|
|
7901
|
+
"code": {
|
|
7902
|
+
"type": "string"
|
|
7903
|
+
},
|
|
7904
|
+
"name": {
|
|
7905
|
+
"type": "string"
|
|
7906
|
+
},
|
|
7907
|
+
"created": {
|
|
7908
|
+
"type": "Date"
|
|
7909
|
+
},
|
|
7910
|
+
"updated": {
|
|
7911
|
+
"type": "Date"
|
|
7912
|
+
},
|
|
7913
|
+
"quickReplies": {
|
|
7914
|
+
"type": "pushwoosh.cj.journey.SmsPresetQuickReply",
|
|
7915
|
+
"array": true
|
|
7839
7916
|
}
|
|
7840
7917
|
}
|
|
7841
7918
|
},
|
package/package.json
CHANGED
|
@@ -60,6 +60,7 @@ export interface Journey {
|
|
|
60
60
|
GetWhatsAppPresetsByAppCode(request: GetWhatsAppPresetsByAppCodeRequest): Promise<GetWhatsAppPresetsByAppCodeResponse>;
|
|
61
61
|
GetEmailPresetsByAppCode(request: GetEmailPresetsByAppCodeRequest): Promise<GetEmailPresetsByAppCodeResponse>;
|
|
62
62
|
GetLinePresetsByAppCode(request: GetLinePresetsByAppCodeRequest): Promise<GetLinePresetsByAppCodeResponse>;
|
|
63
|
+
GetFbMessengerPresetsByAppCode(request: GetFbMessengerPresetsByAppCodeRequest): Promise<GetFbMessengerPresetsByAppCodeResponse>;
|
|
63
64
|
GetSmsPresetsByAppCode(request: GetSmsPresetsByAppCodeRequest): Promise<GetSmsPresetsByAppCodeResponse>;
|
|
64
65
|
GetPushPresetsByAppCode(request: GetPushPresetsByAppCodeRequest): Promise<GetPushPresetsByAppCodeResponse>;
|
|
65
66
|
GetWalletCampaignsByAppCode(request: GetWalletCampaignsByAppCodeRequest): Promise<GetWalletCampaignsByAppCodeResponse>;
|
|
@@ -1326,6 +1327,7 @@ export type PointParamsSendFBMessenger = {
|
|
|
1326
1327
|
capping: Capping;
|
|
1327
1328
|
sendRate: SendRate;
|
|
1328
1329
|
messageTag: string;
|
|
1330
|
+
presetCode: string;
|
|
1329
1331
|
};
|
|
1330
1332
|
export type PointParamsSendViber = {
|
|
1331
1333
|
presetCode: string;
|
|
@@ -2759,6 +2761,29 @@ export type LinePresetByAppCodeItem = {
|
|
|
2759
2761
|
content: string;
|
|
2760
2762
|
created: Date;
|
|
2761
2763
|
updated: Date;
|
|
2764
|
+
quickReplies: SmsPresetQuickReply[];
|
|
2765
|
+
};
|
|
2766
|
+
export type GetFbMessengerPresetsByAppCodeRequest = {
|
|
2767
|
+
code?: string;
|
|
2768
|
+
orderBy?: PresetListOrderBy;
|
|
2769
|
+
orderDirection?: PresetListOrderDirection;
|
|
2770
|
+
page?: number;
|
|
2771
|
+
perPage?: number;
|
|
2772
|
+
search?: string;
|
|
2773
|
+
};
|
|
2774
|
+
export type GetFbMessengerPresetsByAppCodeResponse = {
|
|
2775
|
+
payload: FbMessengerPresetsByAppCodePayload;
|
|
2776
|
+
};
|
|
2777
|
+
export type FbMessengerPresetsByAppCodePayload = {
|
|
2778
|
+
items: FbMessengerPresetByAppCodeItem[];
|
|
2779
|
+
total: number;
|
|
2780
|
+
};
|
|
2781
|
+
export type FbMessengerPresetByAppCodeItem = {
|
|
2782
|
+
code: string;
|
|
2783
|
+
name: string;
|
|
2784
|
+
created: Date;
|
|
2785
|
+
updated: Date;
|
|
2786
|
+
quickReplies: SmsPresetQuickReply[];
|
|
2762
2787
|
};
|
|
2763
2788
|
export type GetSmsPresetsByAppCodeRequest = {
|
|
2764
2789
|
code?: string;
|