@pushwoosh/rpc-v2-http-api-data 0.1.655 → 0.1.657
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 +252 -0
- package/index.d.ts +2 -0
- package/kakao_presets.d.ts +76 -0
- package/kakao_presets.js +2 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -8731,6 +8731,258 @@ export const data = {
|
|
|
8731
8731
|
"type": "I",
|
|
8732
8732
|
"fields": {}
|
|
8733
8733
|
},
|
|
8734
|
+
"pushwoosh.rpc_v2.kakao_presets.KakaoPresetsService": {
|
|
8735
|
+
"type": "S",
|
|
8736
|
+
"key": "kakaoPresets",
|
|
8737
|
+
"methods": {
|
|
8738
|
+
"List": {
|
|
8739
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest",
|
|
8740
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsResponse",
|
|
8741
|
+
"method": "get",
|
|
8742
|
+
"path": "/api/kakao_presets"
|
|
8743
|
+
},
|
|
8744
|
+
"Get": {
|
|
8745
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.GetKakaoPresetRequest",
|
|
8746
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.GetKakaoPresetResponse",
|
|
8747
|
+
"method": "get",
|
|
8748
|
+
"path": "/api/kakao_presets/{code}"
|
|
8749
|
+
},
|
|
8750
|
+
"Create": {
|
|
8751
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.CreateKakaoPresetRequest",
|
|
8752
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.CreateKakaoPresetResponse",
|
|
8753
|
+
"method": "post",
|
|
8754
|
+
"path": "/api/kakao_presets"
|
|
8755
|
+
},
|
|
8756
|
+
"Update": {
|
|
8757
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.UpdateKakaoPresetRequest",
|
|
8758
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.UpdateKakaoPresetResponse",
|
|
8759
|
+
"method": "put",
|
|
8760
|
+
"path": "/api/kakao_presets/{code}"
|
|
8761
|
+
},
|
|
8762
|
+
"Delete": {
|
|
8763
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.DeleteKakaoPresetRequest",
|
|
8764
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.DeleteKakaoPresetResponse",
|
|
8765
|
+
"method": "delete",
|
|
8766
|
+
"path": "/api/kakao_presets/{code}"
|
|
8767
|
+
},
|
|
8768
|
+
"Clone": {
|
|
8769
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.CloneKakaoPresetRequest",
|
|
8770
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.CloneKakaoPresetResponse",
|
|
8771
|
+
"method": "post",
|
|
8772
|
+
"path": "/api/kakao_presets:clone"
|
|
8773
|
+
},
|
|
8774
|
+
"SubmitForApproval": {
|
|
8775
|
+
"request": "pushwoosh.rpc_v2.kakao_presets.SubmitForApprovalKakaoPresetRequest",
|
|
8776
|
+
"response": "pushwoosh.rpc_v2.kakao_presets.SubmitForApprovalKakaoPresetResponse",
|
|
8777
|
+
"method": "post",
|
|
8778
|
+
"path": "/api/kakao_presets:submit-for-approval"
|
|
8779
|
+
}
|
|
8780
|
+
}
|
|
8781
|
+
},
|
|
8782
|
+
"pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest.OrderBy": {
|
|
8783
|
+
"type": "E",
|
|
8784
|
+
"values": [
|
|
8785
|
+
"NAME",
|
|
8786
|
+
"CREATED",
|
|
8787
|
+
"UPDATED"
|
|
8788
|
+
]
|
|
8789
|
+
},
|
|
8790
|
+
"pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest.OrderDirection": {
|
|
8791
|
+
"type": "E",
|
|
8792
|
+
"values": [
|
|
8793
|
+
"ASC",
|
|
8794
|
+
"DESC"
|
|
8795
|
+
]
|
|
8796
|
+
},
|
|
8797
|
+
"pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest": {
|
|
8798
|
+
"type": "I",
|
|
8799
|
+
"fields": {
|
|
8800
|
+
"application": {
|
|
8801
|
+
"type": "string"
|
|
8802
|
+
},
|
|
8803
|
+
"orderBy": {
|
|
8804
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest.OrderBy"
|
|
8805
|
+
},
|
|
8806
|
+
"orderDirection": {
|
|
8807
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsRequest.OrderDirection"
|
|
8808
|
+
},
|
|
8809
|
+
"page": {
|
|
8810
|
+
"type": "number"
|
|
8811
|
+
},
|
|
8812
|
+
"perPage": {
|
|
8813
|
+
"type": "number"
|
|
8814
|
+
},
|
|
8815
|
+
"searchByName": {
|
|
8816
|
+
"type": "string"
|
|
8817
|
+
},
|
|
8818
|
+
"searchByCategory": {
|
|
8819
|
+
"type": "string",
|
|
8820
|
+
"array": true
|
|
8821
|
+
}
|
|
8822
|
+
}
|
|
8823
|
+
},
|
|
8824
|
+
"pushwoosh.rpc_v2.kakao_presets.KakaoPreset": {
|
|
8825
|
+
"type": "I",
|
|
8826
|
+
"fields": {
|
|
8827
|
+
"name": {
|
|
8828
|
+
"type": "string"
|
|
8829
|
+
},
|
|
8830
|
+
"code": {
|
|
8831
|
+
"type": "string"
|
|
8832
|
+
},
|
|
8833
|
+
"categories": {
|
|
8834
|
+
"type": "string",
|
|
8835
|
+
"array": true
|
|
8836
|
+
},
|
|
8837
|
+
"template": {
|
|
8838
|
+
"type": "string"
|
|
8839
|
+
},
|
|
8840
|
+
"created": {
|
|
8841
|
+
"type": "Date"
|
|
8842
|
+
},
|
|
8843
|
+
"updated": {
|
|
8844
|
+
"type": "Date"
|
|
8845
|
+
},
|
|
8846
|
+
"status": {
|
|
8847
|
+
"type": "string"
|
|
8848
|
+
},
|
|
8849
|
+
"statusDescription": {
|
|
8850
|
+
"type": "string"
|
|
8851
|
+
}
|
|
8852
|
+
}
|
|
8853
|
+
},
|
|
8854
|
+
"pushwoosh.rpc_v2.kakao_presets.ListKakaoPresetsResponse": {
|
|
8855
|
+
"type": "I",
|
|
8856
|
+
"fields": {
|
|
8857
|
+
"presets": {
|
|
8858
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.KakaoPreset",
|
|
8859
|
+
"array": true
|
|
8860
|
+
},
|
|
8861
|
+
"page": {
|
|
8862
|
+
"type": "number"
|
|
8863
|
+
},
|
|
8864
|
+
"perPage": {
|
|
8865
|
+
"type": "number"
|
|
8866
|
+
},
|
|
8867
|
+
"total": {
|
|
8868
|
+
"type": "number"
|
|
8869
|
+
}
|
|
8870
|
+
}
|
|
8871
|
+
},
|
|
8872
|
+
"pushwoosh.rpc_v2.kakao_presets.GetKakaoPresetRequest": {
|
|
8873
|
+
"type": "I",
|
|
8874
|
+
"fields": {
|
|
8875
|
+
"code": {
|
|
8876
|
+
"type": "string"
|
|
8877
|
+
}
|
|
8878
|
+
}
|
|
8879
|
+
},
|
|
8880
|
+
"pushwoosh.rpc_v2.kakao_presets.GetKakaoPresetResponse": {
|
|
8881
|
+
"type": "I",
|
|
8882
|
+
"fields": {
|
|
8883
|
+
"preset": {
|
|
8884
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.KakaoPreset"
|
|
8885
|
+
}
|
|
8886
|
+
}
|
|
8887
|
+
},
|
|
8888
|
+
"pushwoosh.rpc_v2.kakao_presets.CreateKakaoPresetRequest": {
|
|
8889
|
+
"type": "I",
|
|
8890
|
+
"fields": {
|
|
8891
|
+
"application": {
|
|
8892
|
+
"type": "string"
|
|
8893
|
+
},
|
|
8894
|
+
"name": {
|
|
8895
|
+
"type": "string"
|
|
8896
|
+
},
|
|
8897
|
+
"categories": {
|
|
8898
|
+
"type": "string",
|
|
8899
|
+
"array": true
|
|
8900
|
+
},
|
|
8901
|
+
"template": {
|
|
8902
|
+
"type": "string"
|
|
8903
|
+
}
|
|
8904
|
+
}
|
|
8905
|
+
},
|
|
8906
|
+
"pushwoosh.rpc_v2.kakao_presets.CreateKakaoPresetResponse": {
|
|
8907
|
+
"type": "I",
|
|
8908
|
+
"fields": {
|
|
8909
|
+
"preset": {
|
|
8910
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.KakaoPreset"
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
},
|
|
8914
|
+
"pushwoosh.rpc_v2.kakao_presets.UpdateKakaoPresetRequest": {
|
|
8915
|
+
"type": "I",
|
|
8916
|
+
"fields": {
|
|
8917
|
+
"code": {
|
|
8918
|
+
"type": "string"
|
|
8919
|
+
},
|
|
8920
|
+
"name": {
|
|
8921
|
+
"type": "string"
|
|
8922
|
+
},
|
|
8923
|
+
"categories": {
|
|
8924
|
+
"type": "string",
|
|
8925
|
+
"array": true
|
|
8926
|
+
},
|
|
8927
|
+
"template": {
|
|
8928
|
+
"type": "string"
|
|
8929
|
+
}
|
|
8930
|
+
}
|
|
8931
|
+
},
|
|
8932
|
+
"pushwoosh.rpc_v2.kakao_presets.UpdateKakaoPresetResponse": {
|
|
8933
|
+
"type": "I",
|
|
8934
|
+
"fields": {
|
|
8935
|
+
"preset": {
|
|
8936
|
+
"type": "pushwoosh.rpc_v2.kakao_presets.KakaoPreset"
|
|
8937
|
+
}
|
|
8938
|
+
}
|
|
8939
|
+
},
|
|
8940
|
+
"pushwoosh.rpc_v2.kakao_presets.DeleteKakaoPresetRequest": {
|
|
8941
|
+
"type": "I",
|
|
8942
|
+
"fields": {
|
|
8943
|
+
"code": {
|
|
8944
|
+
"type": "string"
|
|
8945
|
+
}
|
|
8946
|
+
}
|
|
8947
|
+
},
|
|
8948
|
+
"pushwoosh.rpc_v2.kakao_presets.DeleteKakaoPresetResponse": {
|
|
8949
|
+
"type": "I",
|
|
8950
|
+
"fields": {}
|
|
8951
|
+
},
|
|
8952
|
+
"pushwoosh.rpc_v2.kakao_presets.CloneKakaoPresetRequest": {
|
|
8953
|
+
"type": "I",
|
|
8954
|
+
"fields": {
|
|
8955
|
+
"kakaoPresetCode": {
|
|
8956
|
+
"type": "string"
|
|
8957
|
+
},
|
|
8958
|
+
"applicationCode": {
|
|
8959
|
+
"type": "string"
|
|
8960
|
+
}
|
|
8961
|
+
}
|
|
8962
|
+
},
|
|
8963
|
+
"pushwoosh.rpc_v2.kakao_presets.CloneKakaoPresetResponse": {
|
|
8964
|
+
"type": "I",
|
|
8965
|
+
"fields": {
|
|
8966
|
+
"kakaoPresetCode": {
|
|
8967
|
+
"type": "string"
|
|
8968
|
+
}
|
|
8969
|
+
}
|
|
8970
|
+
},
|
|
8971
|
+
"pushwoosh.rpc_v2.kakao_presets.SubmitForApprovalKakaoPresetRequest": {
|
|
8972
|
+
"type": "I",
|
|
8973
|
+
"fields": {
|
|
8974
|
+
"code": {
|
|
8975
|
+
"type": "string"
|
|
8976
|
+
},
|
|
8977
|
+
"application": {
|
|
8978
|
+
"type": "string"
|
|
8979
|
+
}
|
|
8980
|
+
}
|
|
8981
|
+
},
|
|
8982
|
+
"pushwoosh.rpc_v2.kakao_presets.SubmitForApprovalKakaoPresetResponse": {
|
|
8983
|
+
"type": "I",
|
|
8984
|
+
"fields": {}
|
|
8985
|
+
},
|
|
8734
8986
|
"pushwoosh.rpc_v2.line_presets.linePresetsService": {
|
|
8735
8987
|
"type": "S",
|
|
8736
8988
|
"key": "linePresets",
|
package/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { FrequencyCappingService as pushwoosh_rpc_v2_frequency_capping_Frequency
|
|
|
28
28
|
import { GeozonesService as pushwoosh_rpc_v2_geozones_GeozonesService } from './geozones';
|
|
29
29
|
import { GeozonesClustersService as pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService } from './geozones_clusters';
|
|
30
30
|
import { IntegrationsService as pushwoosh_rpc_v2_integrations_IntegrationsService } from './integrations';
|
|
31
|
+
import { KakaoPresetsService as pushwoosh_rpc_v2_kakao_presets_KakaoPresetsService } from './kakao_presets';
|
|
31
32
|
import { linePresetsService as pushwoosh_rpc_v2_line_presets_linePresetsService } from './line_presets';
|
|
32
33
|
import { MessagesService as pushwoosh_rpc_v2_messages_MessagesService } from './messages';
|
|
33
34
|
import { FiltersCrudService as pushwoosh_objects_filters_v1_FiltersCrudService } from './pushwoosh_objects_filters_v1';
|
|
@@ -79,6 +80,7 @@ export type API = {
|
|
|
79
80
|
geozones: pushwoosh_rpc_v2_geozones_GeozonesService;
|
|
80
81
|
geozonesClusters: pushwoosh_rpc_v2_geozones_clusters_GeozonesClustersService;
|
|
81
82
|
integrations: pushwoosh_rpc_v2_integrations_IntegrationsService;
|
|
83
|
+
kakaoPresets: pushwoosh_rpc_v2_kakao_presets_KakaoPresetsService;
|
|
82
84
|
linePresets: pushwoosh_rpc_v2_line_presets_linePresetsService;
|
|
83
85
|
messages: pushwoosh_rpc_v2_messages_MessagesService;
|
|
84
86
|
filtersCrud: pushwoosh_objects_filters_v1_FiltersCrudService;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export interface KakaoPresetsService {
|
|
2
|
+
List(request: ListKakaoPresetsRequest): Promise<ListKakaoPresetsResponse>;
|
|
3
|
+
Get(request: GetKakaoPresetRequest): Promise<GetKakaoPresetResponse>;
|
|
4
|
+
Create(request: CreateKakaoPresetRequest): Promise<CreateKakaoPresetResponse>;
|
|
5
|
+
Update(request: UpdateKakaoPresetRequest): Promise<UpdateKakaoPresetResponse>;
|
|
6
|
+
Delete(request: DeleteKakaoPresetRequest): Promise<DeleteKakaoPresetResponse>;
|
|
7
|
+
Clone(request: CloneKakaoPresetRequest): Promise<CloneKakaoPresetResponse>;
|
|
8
|
+
SubmitForApproval(request: SubmitForApprovalKakaoPresetRequest): Promise<SubmitForApprovalKakaoPresetResponse>;
|
|
9
|
+
}
|
|
10
|
+
export type ListKakaoPresetsRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
11
|
+
export type ListKakaoPresetsRequest_OrderDirection = 'ASC' | 'DESC';
|
|
12
|
+
export type ListKakaoPresetsRequest = {
|
|
13
|
+
application?: string;
|
|
14
|
+
orderBy?: ListKakaoPresetsRequest_OrderBy;
|
|
15
|
+
orderDirection?: ListKakaoPresetsRequest_OrderDirection;
|
|
16
|
+
page?: number;
|
|
17
|
+
perPage?: number;
|
|
18
|
+
searchByName?: string;
|
|
19
|
+
searchByCategory?: string[];
|
|
20
|
+
};
|
|
21
|
+
export type KakaoPreset = {
|
|
22
|
+
name: string;
|
|
23
|
+
code: string;
|
|
24
|
+
categories: string[];
|
|
25
|
+
template: string;
|
|
26
|
+
created: Date;
|
|
27
|
+
updated: Date;
|
|
28
|
+
status: string;
|
|
29
|
+
statusDescription: string;
|
|
30
|
+
};
|
|
31
|
+
export type ListKakaoPresetsResponse = {
|
|
32
|
+
presets: KakaoPreset[];
|
|
33
|
+
page: number;
|
|
34
|
+
perPage: number;
|
|
35
|
+
total: number;
|
|
36
|
+
};
|
|
37
|
+
export type GetKakaoPresetRequest = {
|
|
38
|
+
code?: string;
|
|
39
|
+
};
|
|
40
|
+
export type GetKakaoPresetResponse = {
|
|
41
|
+
preset: KakaoPreset;
|
|
42
|
+
};
|
|
43
|
+
export type CreateKakaoPresetRequest = {
|
|
44
|
+
application?: string;
|
|
45
|
+
name?: string;
|
|
46
|
+
categories?: string[];
|
|
47
|
+
template?: string;
|
|
48
|
+
};
|
|
49
|
+
export type CreateKakaoPresetResponse = {
|
|
50
|
+
preset: KakaoPreset;
|
|
51
|
+
};
|
|
52
|
+
export type UpdateKakaoPresetRequest = {
|
|
53
|
+
code?: string;
|
|
54
|
+
name?: string;
|
|
55
|
+
categories?: string[];
|
|
56
|
+
template?: string;
|
|
57
|
+
};
|
|
58
|
+
export type UpdateKakaoPresetResponse = {
|
|
59
|
+
preset: KakaoPreset;
|
|
60
|
+
};
|
|
61
|
+
export type DeleteKakaoPresetRequest = {
|
|
62
|
+
code?: string;
|
|
63
|
+
};
|
|
64
|
+
export type DeleteKakaoPresetResponse = {};
|
|
65
|
+
export type CloneKakaoPresetRequest = {
|
|
66
|
+
kakaoPresetCode?: string;
|
|
67
|
+
applicationCode?: string;
|
|
68
|
+
};
|
|
69
|
+
export type CloneKakaoPresetResponse = {
|
|
70
|
+
kakaoPresetCode: string;
|
|
71
|
+
};
|
|
72
|
+
export type SubmitForApprovalKakaoPresetRequest = {
|
|
73
|
+
code?: string;
|
|
74
|
+
application?: string;
|
|
75
|
+
};
|
|
76
|
+
export type SubmitForApprovalKakaoPresetResponse = {};
|
package/kakao_presets.js
ADDED