@xapp/stentor-dialogflow 1.43.34 → 1.43.38
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/lib/Types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type DialogflowPlatform = "dialogflow";
|
|
3
|
+
export type GooglePlatform = "google";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
2
|
import { ActionsIntentConfirmation, ActionsIntentDateTime, ActionsIntentDeliveryAddress, ActionsIntentLink, ActionsIntentOption, ActionsIntentPermission, ActionsIntentSignIn, ActionsIntentSurfaceChange, ActionsIntentTransactionCheck, ActionsIntentTransactionDecision } from "@xapp/stentor-actions-on-google";
|
|
3
3
|
import { Order, OrderOptions, PaymentParameters, PresentationOptions } from "./DialogflowV2GooglePayloadTransactions";
|
|
4
|
-
export
|
|
4
|
+
export type DialogflowV2GooglePayloadSystemIntentType = ActionsIntentConfirmation | ActionsIntentDateTime | ActionsIntentDeliveryAddress | ActionsIntentLink | ActionsIntentOption | ActionsIntentPermission | ActionsIntentSignIn | ActionsIntentSurfaceChange | ActionsIntentTransactionCheck | ActionsIntentTransactionDecision;
|
|
5
5
|
export interface DialogflowV2GooglePayloadSystemIntent {
|
|
6
6
|
intent: DialogflowV2GooglePayloadSystemIntentType;
|
|
7
7
|
data: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/*! Copyright (c) 2022, XAPPmedia */
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
2
|
+
export type PaymentType = "PAYMENT_TYPE_UNSPECIFIED" | "PAYMENT_CARD" | "BANK" | "LOYALTY_PROGRAM" | "CASH" | "GIFT_CARD" | "WALLET";
|
|
3
|
+
export type PaymentMethodStatusType = "STATUS_UNSPECIFIED" | "STATUS_OK" | "STATUS_REQUIRE_FIX" | "STATUS_INAPPLICABLE";
|
|
4
|
+
export type PurchaseStatus = "PURCHASE_STATUS_UNSPECIFIED" | "READY_FOR_PICKUP" | "SHIPPED" | "DELIVERED" | "OUT_OF_STOCK" | "IN_PREPARATION" | "CREATED" | "CONFIRMED" | "REJECTED" | "RETURNED" | "CANCELLED" | "CHANGE_REQUESTED";
|
|
5
|
+
export type PurchaseType = "PURCHASE_TYPE_UNSPECIFIED" | "RETAIL" | "FOOD" | "GROCERY" | "MOBILE_RECHARGE";
|
|
6
|
+
export type FulfillmentType = "TYPE_UNSPECIFIED" | "DELIVERY" | "PICKUP";
|
|
7
|
+
export type PickupType = "UNSPECIFIED" | "INSTORE" | "CURBSIDE";
|
|
8
|
+
export type FollowUpActionType = "VIEW_DETAILS" | "CALL" | "EMAIL";
|
|
9
|
+
export type PriceAttributeType = "TYPE_UNSPECIFIED" | "REGULAR" | "DISCOUNT" | "TAX" | "DELIVERY" | "SUBTOTAL" | "FEE" | "GRATUITY" | "TOTAL";
|
|
10
|
+
export type PriceAttributeState = "STATE_UNSPECIFIED" | "ESTIMATE" | "ACTUAL";
|
|
11
|
+
export type ProvenanceType = "PAYMENT_METHOD_PROVENANCE_MERCHANT" | "PAYMENT_METHOD_PROVENANCE_UNSPECIFIED" | "PAYMENT_METHOD_PROVENANCE_GOOGLE";
|
|
12
|
+
export type PurchaseLocationType = "ONLINE_PURCHASE" | "UNSPECIFIED_LOCATION" | "INSTORE_PURCHASE";
|
|
13
|
+
export type UserInfoPropertyType = "EMAIL" | "USER_INFO_PROPERTY_UNSPECIFIED";
|
|
14
|
+
export type PurchaseErrorType = "ERROR_TYPE_UNSPECIFIED" | "NOT_FOUND" | "INVALID" | "AVAILABILITY_CHANGED" | "PRICE_CHANGED" | "INCORRECT_PRICE" | "REQUIREMENTS_NOT_MET" | "TOO_LATE" | "NO_CAPACITY" | "INELIGIBLE" | "OUT_OF_SERVICE_AREA" | "CLOSED" | "PROMO_NOT_APPLICABLE" | "PROMO_NOT_RECOGNIZED" | "PROMO_EXPIRED" | "PROMO_USER_INELIGIBLE" | "PROMO_ORDER_INELIGIBLE" | "UNAVAILABLE_SLOT" | "FAILED_PRECONDITION" | "PAYMENT_DECLINED" | "MERCHANT_UNREACHABLE";
|
|
15
|
+
export type CheckInType = "CHECK_IN_TYPE_UNSPECIFIED" | "EMAIL" | "SMS";
|
|
16
|
+
export type UrlTypeHintType = "URL_TYPE_HINT_UNSPECIFIED" | "AMP_CONTENT";
|
|
17
|
+
export type PresentationRequirementType = "REQUIREMENT_UNSPECIFIED" | "REQUIREMENT_OPTIONAL" | "REQUIREMENT_REQUIRED";
|
|
18
|
+
export type UnitType = "UNIT_UNSPECIFIED" | "MILLIGRAM" | "GRAM" | "KILOGRAM" | "OUNCE" | "POUND";
|
|
19
19
|
export interface UserInfoOptions {
|
|
20
20
|
userInfoProperties: UserInfoPropertyType[];
|
|
21
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! Copyright (c) 2019, XAPPmedia */
|
|
2
2
|
import { GoogleCloudDialogflowV2WebhookResponse } from "actions-on-google";
|
|
3
|
-
export
|
|
3
|
+
export type DialogflowV2Response = GoogleCloudDialogflowV2WebhookResponse;
|
|
4
4
|
export * from "./DialogflowV2GooglePayload";
|
|
5
5
|
export * from "./DialogflowV2GooglePayloadSystemIntent";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.43.
|
|
7
|
+
"version": "1.43.38",
|
|
8
8
|
"description": "Dialogflow channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
"mocha": "10.2.0",
|
|
25
25
|
"sinon": "14.0.2",
|
|
26
26
|
"sinon-chai": "3.7.0",
|
|
27
|
-
"stentor-constants": "1.57.
|
|
28
|
-
"stentor-guards": "1.57.
|
|
29
|
-
"stentor-interaction-model": "1.57.
|
|
30
|
-
"stentor-locales": "1.57.
|
|
31
|
-
"stentor-logger": "1.57.
|
|
32
|
-
"stentor-media": "1.57.
|
|
33
|
-
"stentor-models": "1.57.
|
|
34
|
-
"stentor-request": "1.57.
|
|
35
|
-
"stentor-response": "1.57.
|
|
36
|
-
"stentor-utils": "1.57.
|
|
27
|
+
"stentor-constants": "1.57.39",
|
|
28
|
+
"stentor-guards": "1.57.39",
|
|
29
|
+
"stentor-interaction-model": "1.57.39",
|
|
30
|
+
"stentor-locales": "1.57.39",
|
|
31
|
+
"stentor-logger": "1.57.39",
|
|
32
|
+
"stentor-media": "1.57.39",
|
|
33
|
+
"stentor-models": "1.57.39",
|
|
34
|
+
"stentor-request": "1.57.39",
|
|
35
|
+
"stentor-response": "1.57.39",
|
|
36
|
+
"stentor-utils": "1.57.39",
|
|
37
37
|
"ts-node": "10.9.1",
|
|
38
|
-
"typescript": "4.
|
|
38
|
+
"typescript": "4.9.4"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@types/dialogflow": "1.0.0",
|
|
42
|
-
"@xapp/patterns": "1.43.
|
|
43
|
-
"@xapp/stentor-actions-on-google": "1.43.
|
|
44
|
-
"@xapp/stentor-app": "1.43.
|
|
42
|
+
"@xapp/patterns": "1.43.38",
|
|
43
|
+
"@xapp/stentor-actions-on-google": "1.43.38",
|
|
44
|
+
"@xapp/stentor-app": "1.43.38",
|
|
45
45
|
"actions-on-google": "2.14.0",
|
|
46
46
|
"dialogflow": "1.2.0"
|
|
47
47
|
},
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"clean": "rm -rf ./lib/*",
|
|
63
63
|
"test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "20cf1f5889cc4a3ac7531b91178bc1ba63e1decd"
|
|
66
66
|
}
|