@pushwoosh/rpc-gateway-journey-data 0.27.197 → 0.27.199
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 +74 -0
- package/package.json +1 -1
- package/pushwoosh_cj_journey.d.ts +24 -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",
|
|
@@ -7836,6 +7842,74 @@ export const data = {
|
|
|
7836
7842
|
},
|
|
7837
7843
|
"updated": {
|
|
7838
7844
|
"type": "Date"
|
|
7845
|
+
},
|
|
7846
|
+
"quickReplies": {
|
|
7847
|
+
"type": "pushwoosh.cj.journey.SmsPresetQuickReply",
|
|
7848
|
+
"array": true
|
|
7849
|
+
}
|
|
7850
|
+
}
|
|
7851
|
+
},
|
|
7852
|
+
"pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeRequest": {
|
|
7853
|
+
"type": "I",
|
|
7854
|
+
"fields": {
|
|
7855
|
+
"code": {
|
|
7856
|
+
"type": "string"
|
|
7857
|
+
},
|
|
7858
|
+
"orderBy": {
|
|
7859
|
+
"type": "pushwoosh.cj.journey.PresetListOrderBy"
|
|
7860
|
+
},
|
|
7861
|
+
"orderDirection": {
|
|
7862
|
+
"type": "pushwoosh.cj.journey.PresetListOrderDirection"
|
|
7863
|
+
},
|
|
7864
|
+
"page": {
|
|
7865
|
+
"type": "number"
|
|
7866
|
+
},
|
|
7867
|
+
"perPage": {
|
|
7868
|
+
"type": "number"
|
|
7869
|
+
},
|
|
7870
|
+
"search": {
|
|
7871
|
+
"type": "string"
|
|
7872
|
+
}
|
|
7873
|
+
}
|
|
7874
|
+
},
|
|
7875
|
+
"pushwoosh.cj.journey.GetFbMessengerPresetsByAppCodeResponse": {
|
|
7876
|
+
"type": "I",
|
|
7877
|
+
"fields": {
|
|
7878
|
+
"payload": {
|
|
7879
|
+
"type": "pushwoosh.cj.journey.FbMessengerPresetsByAppCodePayload"
|
|
7880
|
+
}
|
|
7881
|
+
}
|
|
7882
|
+
},
|
|
7883
|
+
"pushwoosh.cj.journey.FbMessengerPresetsByAppCodePayload": {
|
|
7884
|
+
"type": "I",
|
|
7885
|
+
"fields": {
|
|
7886
|
+
"items": {
|
|
7887
|
+
"type": "pushwoosh.cj.journey.FbMessengerPresetByAppCodeItem",
|
|
7888
|
+
"array": true
|
|
7889
|
+
},
|
|
7890
|
+
"total": {
|
|
7891
|
+
"type": "number"
|
|
7892
|
+
}
|
|
7893
|
+
}
|
|
7894
|
+
},
|
|
7895
|
+
"pushwoosh.cj.journey.FbMessengerPresetByAppCodeItem": {
|
|
7896
|
+
"type": "I",
|
|
7897
|
+
"fields": {
|
|
7898
|
+
"code": {
|
|
7899
|
+
"type": "string"
|
|
7900
|
+
},
|
|
7901
|
+
"name": {
|
|
7902
|
+
"type": "string"
|
|
7903
|
+
},
|
|
7904
|
+
"created": {
|
|
7905
|
+
"type": "Date"
|
|
7906
|
+
},
|
|
7907
|
+
"updated": {
|
|
7908
|
+
"type": "Date"
|
|
7909
|
+
},
|
|
7910
|
+
"quickReplies": {
|
|
7911
|
+
"type": "pushwoosh.cj.journey.SmsPresetQuickReply",
|
|
7912
|
+
"array": true
|
|
7839
7913
|
}
|
|
7840
7914
|
}
|
|
7841
7915
|
},
|
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>;
|
|
@@ -2759,6 +2760,29 @@ export type LinePresetByAppCodeItem = {
|
|
|
2759
2760
|
content: string;
|
|
2760
2761
|
created: Date;
|
|
2761
2762
|
updated: Date;
|
|
2763
|
+
quickReplies: SmsPresetQuickReply[];
|
|
2764
|
+
};
|
|
2765
|
+
export type GetFbMessengerPresetsByAppCodeRequest = {
|
|
2766
|
+
code?: string;
|
|
2767
|
+
orderBy?: PresetListOrderBy;
|
|
2768
|
+
orderDirection?: PresetListOrderDirection;
|
|
2769
|
+
page?: number;
|
|
2770
|
+
perPage?: number;
|
|
2771
|
+
search?: string;
|
|
2772
|
+
};
|
|
2773
|
+
export type GetFbMessengerPresetsByAppCodeResponse = {
|
|
2774
|
+
payload: FbMessengerPresetsByAppCodePayload;
|
|
2775
|
+
};
|
|
2776
|
+
export type FbMessengerPresetsByAppCodePayload = {
|
|
2777
|
+
items: FbMessengerPresetByAppCodeItem[];
|
|
2778
|
+
total: number;
|
|
2779
|
+
};
|
|
2780
|
+
export type FbMessengerPresetByAppCodeItem = {
|
|
2781
|
+
code: string;
|
|
2782
|
+
name: string;
|
|
2783
|
+
created: Date;
|
|
2784
|
+
updated: Date;
|
|
2785
|
+
quickReplies: SmsPresetQuickReply[];
|
|
2762
2786
|
};
|
|
2763
2787
|
export type GetSmsPresetsByAppCodeRequest = {
|
|
2764
2788
|
code?: string;
|